about summary refs log tree commit diff
path: root/users/wpcarro/tools/simple_vim/config.vim
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2021-10-24T18·34-0700
committerclbot <clbot@tvl.fyi>2022-01-08T05·55+0000
commit4977ffacb017fe1ff5030eeeabe147ad242eb162 (patch)
tree4126446b555305d1b5e61179a1862406b58034c4 /users/wpcarro/tools/simple_vim/config.vim
parent54d3cc78dd2aaf10c6742f4703c9573bc53f661b (diff)
fix(wpcarro/simple_vim): Debug simple_vim r/3553
No need to `mkDerivation` when I'm already using `writeShellScriptBin`. Also:
prefer `<CR>` instead of `<Enter>` for consistency reasons.

Change-Id: Ida8ecec0bd4e3e8c0fbb1ea34eefd61a0fefb4bc
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4797
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'users/wpcarro/tools/simple_vim/config.vim')
-rw-r--r--users/wpcarro/tools/simple_vim/config.vim14
1 files changed, 7 insertions, 7 deletions
diff --git a/users/wpcarro/tools/simple_vim/config.vim b/users/wpcarro/tools/simple_vim/config.vim
index ea40964ee803..6cc6729bc41e 100644
--- a/users/wpcarro/tools/simple_vim/config.vim
+++ b/users/wpcarro/tools/simple_vim/config.vim
@@ -48,13 +48,13 @@ nnoremap <C-l> :wincmd l<CR>
 " nnoremap <M-k> :wincmd k<CR>
 " nnoremap <M-l> :wincmd l<CR>
 
-" Use <Enter> instead of G to support:
-"        20<Enter> - to jump to line 20
-"       d20<Enter> - to delete from the current line until line 20
-"   <C-v>20<Enter> - to select from the current line until line 20
-nnoremap <Enter> G
-onoremap <Enter> G
-vnoremap <Enter> G
+" Use <CR> instead of G to support:
+"        20<CR> - to jump to line 20
+"       d20<CR> - to delete from the current line until line 20
+"   <C-v>20<CR> - to select from the current line until line 20
+nnoremap <CR> G
+onoremap <CR> G
+vnoremap <CR> G
 
 " Easily change modes on keyboards that don't have CapsLock mapped to <Esc>
 inoremap jk      <ESC>