Skip to content

Instantly share code, notes, and snippets.

View jaimemahaffey's full-sized avatar

Jaime Mahaffey jaimemahaffey

  • SF Bay Area, CA
  • 22:06 (UTC -08:00)
View GitHub Profile
@h2m730131
h2m730131 / .vsvimrc
Last active November 17, 2026 03:25
Visual Studio 2022 + VsVim + ReSharper + PeasyMotion + im-select
" [Introduction | ReSharper Documentation](https://www.jetbrains.com/help/resharper/Introduction__Index.html)
" [Default keyboard shortcut schemes | ReSharper Documentation](https://www.jetbrains.com/help/resharper/Reference__Keyboard_Shortcuts.html?keymap=rs)
" [Keyboard shortcuts - Visual Studio (Windows) | Microsoft Learn](https://learn.microsoft.com/en-us/visualstudio/ide/default-keyboard-shortcuts-in-visual-studio)
" 避免 key mapping 覆蓋 `"` 與 `/` 暫存器, 分別採用 `z` 與 `s` 暫存器替代
@ErickPetru
ErickPetru / worktree-publish-to-gh-pages.md
Created September 13, 2019 13:26
Publishing a `dist` folder from `master` branch using **worktree** feature to `gh-pages` branch.

Setup

First of all, you need to have a gh-pages. If you don't have, create:

git branch gh-pages

This makes a branch based on the master HEAD. It would be okay but the files and the git history of master branch are not meaningful on gh-pages branch.