diff options
author | June McEnroe <june@causal.agency> | 2018-03-28 12:49:29 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-03-28 12:49:29 -0400 |
commit | e3ff474ee9e9059f68b5b59c4ddf3cded18114c3 (patch) | |
tree | 89543c5b1e8f073fff232512b94c36912d5bef49 /home/.config/nvim | |
parent | Add \u to sort use lines (diff) | |
download | src-e3ff474ee9e9059f68b5b59c4ddf3cded18114c3.tar.gz src-e3ff474ee9e9059f68b5b59c4ddf3cded18114c3.zip |
Sort extern crate lines with \c
Diffstat (limited to 'home/.config/nvim')
-rw-r--r-- | home/.config/nvim/init.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim index 53fbb10d..04a9d56b 100644 --- a/home/.config/nvim/init.vim +++ b/home/.config/nvim/init.vim @@ -24,3 +24,4 @@ tmap <C-w> <C-\><C-n><C-w> nmap <leader>h :0/^#include </,$?^#include <?sort<CR>:nohlsearch<CR> nmap <leader>u :0/^use/,$?^use?sort<CR>:nohlsearch<CR> +nmap <leader>c :0/extern crate/,$?extern crate?sort<CR>:nohlsearch<CR> |