Skip to content
This repository has been archived by the owner on Mar 23, 2020. It is now read-only.

Commit

Permalink
remove alt+shift+d keymap, add ctrl+a/e to move home/end
Browse files Browse the repository at this point in the history
  • Loading branch information
m2nlight committed Apr 22, 2019
1 parent 2ea0f0a commit 22cba77
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ A ahk script let me happy using VSCode and HHKB in Windows

1. Map <kbd>Win</kbd> to <kbd>Ctrl</kbd>
2. Add move cursor shortkeys like emacs
3. Press <kbd>Shift+Alt+D</kbd> to duplicate line
3. `vscodehotkey_vs.ahk` - Support Visual Studio 2019 with VSCode keymap

Note: You have to use default vscode keymap. Then lanuch vscode and run this AHK script or vscodehotkey.exe in [Release](https://github.com/m2nlight/AHKVSCodeLikeMac/releases) page.
Note: Please use default keymap. Then lanuch vscode and run this AHK script or vscodehotkey.exe in [Release](https://github.com/m2nlight/AHKVSCodeLikeMac/releases) page.
9 changes: 4 additions & 5 deletions vscodehotkey.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ Ctrl & p::Send {Up}
Ctrl & n::Send {Down}
Ctrl & b::Send {Left}
Ctrl & f::Send {Right}
Ctrl & n::Send {Home}
Ctrl & e::Send {End}
Alt & b::Send ^{Left}
Alt & f::Send ^{Right}
Ctrl & d::Send {Del} ; Delete a charactor
Alt & d::Send ^{Del} ; Delete right word
Ctrl & d::Send {Del} ; Delete a character
Alt & d::Send ^{Del} ; Delete right word
Alt & Backspace::Send ^{Backspace} ; Delete left word
; append features
!+d::Send !+{Down} ; Duplicate line

#IfWinActive
4 changes: 2 additions & 2 deletions vscodehotkey_vs.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ Ctrl & p::Send {Up}
Ctrl & n::Send {Down}
Ctrl & b::Send {Left}
Ctrl & f::Send {Right}
Ctrl & n::Send {Home}
Ctrl & e::Send {End}
Alt & b::Send ^{Left}
Alt & f::Send ^{Right}
Ctrl & d::Send {Del} ; Delete a charactor
Alt & d::Send ^{Del} ; Delete right word
Alt & Backspace::Send ^{Backspace} ; Delete left word
; append features
!+d::Send !+{Down} ; Duplicate line
#IfWinActive

0 comments on commit 22cba77

Please sign in to comment.