summary refs log tree commit diff
path: root/home/.config/nvim
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-01-31 17:52:39 -0500
committerJune McEnroe <june@causal.agency>2018-01-31 17:52:39 -0500
commit8d1d59e9300b9ce51b9ca5af7a18e542048bd1f6 (patch)
treeca8748fa5a0c41cb541ceb75e084b5f369737aa0 /home/.config/nvim
parentOnly load 128 glyphs in fbclock (diff)
downloadsrc-8d1d59e9300b9ce51b9ca5af7a18e542048bd1f6.tar.gz
src-8d1d59e9300b9ce51b9ca5af7a18e542048bd1f6.zip
Map \h to sort includes
Diffstat (limited to '')
-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>