summary refs log tree commit diff
path: root/home/.config/nvim
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2018-01-31 17:52:39 -0500
committerJune McEnroe <programble@gmail.com>2018-01-31 17:52:39 -0500
commitbee59ae39d6c35d72c667d8692658960429206af (patch)
tree32e2399ca0a9d8b883a080f2d2d7ef40b6cbb334 /home/.config/nvim
parentOnly load 128 glyphs in fbclock (diff)
downloadsrc-bee59ae39d6c35d72c667d8692658960429206af.tar.gz
src-bee59ae39d6c35d72c667d8692658960429206af.zip
Map \h to sort includes
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>