summary refs log tree commit diff
path: root/home
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
commitc2130ec006eac08a89ffe91dea1b0cf82acb9c39 (patch)
treef03082fcfc1a276af24af8d61b97b1e80d792ccc /home
parentAdd Jeff Wayne — The Eve of the War (diff)
downloadsrc-c2130ec006eac08a89ffe91dea1b0cf82acb9c39.tar.gz
src-c2130ec006eac08a89ffe91dea1b0cf82acb9c39.zip
Remove \h binding
Diffstat (limited to 'home')
-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>''