summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-03-28 12:49:29 -0400
committerJune McEnroe <june@causal.agency>2018-03-28 12:49:29 -0400
commite3ff474ee9e9059f68b5b59c4ddf3cded18114c3 (patch)
tree89543c5b1e8f073fff232512b94c36912d5bef49 /home
parentAdd \u to sort use lines (diff)
downloadsrc-e3ff474ee9e9059f68b5b59c4ddf3cded18114c3.tar.gz
src-e3ff474ee9e9059f68b5b59c4ddf3cded18114c3.zip
Sort extern crate lines with \c
Diffstat (limited to 'home')
-rw-r--r--home/.config/nvim/init.vim1
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>