summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-12-02 22:15:06 -0500
committerJune McEnroe <june@causal.agency>2018-12-02 22:15:06 -0500
commit8f95dbde02a1c70e99ab3a4a10667c174b95dd2c (patch)
tree68282459535938bf66e0f49bf1901aefcdf3db6d
parentAdd Jeff Wayne — The Eve of the War (diff)
downloadsrc-8f95dbde02a1c70e99ab3a4a10667c174b95dd2c.tar.gz
src-8f95dbde02a1c70e99ab3a4a10667c174b95dd2c.zip
Remove \h binding
-rw-r--r--home/.config/nvim/init.vim3
1 files changed, 1 insertions, 2 deletions
diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim
index 9297ea64..ae21a22c 100644
--- a/home/.config/nvim/init.vim
+++ b/home/.config/nvim/init.vim
@@ -28,6 +28,5 @@ tmap <C-w> <C-\><C-n><C-w>
 let g:clipboard = {'copy':{'+':'pbcopy'},'paste':{'+':'pbpaste'}}
 
 nmap <leader>s vip:sort<CR>
-nmap <leader>h :$?^#include <<CR>:nohlsearch<CR>vip:sort<CR>
-nmap <leader>a :$?^#include <<CR>:nohlsearch<CR>o#include <
+nmap <leader>a :0/^#include <<CR>:nohlsearch<CR>O#include <
 nmap <leader>l :0read ~/src/etc/agpl.c<CR>''