summary refs log tree commit diff
path: root/home/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'home/.config/nvim')
-rw-r--r--home/.config/nvim/init.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim
index e0e29c6d..80b40608 100644
--- a/home/.config/nvim/init.vim
+++ b/home/.config/nvim/init.vim
@@ -21,3 +21,5 @@ colorscheme trivial
 autocmd TermOpen * setlocal nonumber statusline=%{b:term_title}
 autocmd BufEnter term://* startinsert
 tmap <C-w> <C-\><C-n><C-w>
+
+nmap <leader>h :0/^#include/,$?^#include?sort<CR>