mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 00:33:00 +00:00
Initial Colemak Setup
This commit is contained in:
parent
ffcb1082b4
commit
0f456019d2
15 changed files with 611 additions and 210 deletions
|
|
@ -1,29 +1,21 @@
|
|||
"vim.vimrc.path": "$HOME/.vscode.vimrc", // from vscode settings.json
|
||||
" Put this in ~/.vscode.vimrc
|
||||
" And go to vscode vim setting:
|
||||
"vim.vimrc.path": "$HOME/.vscode.vimrc",
|
||||
|
||||
" Colemak 方向键映射 (hnei)
|
||||
nnoremap k n
|
||||
nnoremap K N
|
||||
nnoremap j e
|
||||
vnoremap j e
|
||||
nnoremap l i
|
||||
nnoremap N J
|
||||
nnoremap E K
|
||||
nnoremap I L
|
||||
nnoremap J E
|
||||
vnoremap J E
|
||||
nnoremap L I
|
||||
nnoremap k n
|
||||
nnoremap K N
|
||||
nnoremap j e
|
||||
vnoremap j e
|
||||
nnoremap l i
|
||||
nnoremap N J
|
||||
nnoremap E K
|
||||
nnoremap I L
|
||||
nnoremap J E
|
||||
vnoremap J E
|
||||
nnoremap L I
|
||||
" 方向键映射
|
||||
noremap n <Down> " 向下
|
||||
noremap e <Up> " 向上
|
||||
noremap i <Right> " 向右
|
||||
" Word wrap
|
||||
noremap n gj
|
||||
noremap e gk
|
||||
noremap i l
|
||||
|
||||
" Similar position to i
|
||||
noremap l i
|
||||
noremap L I
|
||||
" ne[k]st
|
||||
noremap k n
|
||||
noremap K N
|
||||
" [j]ump
|
||||
noremap j e
|
||||
noremap J E
|
||||
|
||||
" Y to yank to end of line
|
||||
noremap Y y$
|
||||
Loading…
Add table
Add a link
Reference in a new issue