From 8d1d59e9300b9ce51b9ca5af7a18e542048bd1f6 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 31 Jan 2018 17:52:39 -0500 Subject: Map \h to sort includes --- home/.config/nvim/init.vim | 2 ++ 1 file changed, 2 insertions(+) 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 + +nmap h :0/^#include/,$?^#include?sort -- cgit 1.4.1