diff options
author | June McEnroe <programble@gmail.com> | 2018-03-28 12:49:29 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2018-03-28 12:49:29 -0400 |
commit | 5e3703d2e7cbc9a4364f0d121451cf74c3d00956 (patch) | |
tree | c3492af4e6db936a2852ccfee4f4c7b1d032e5c6 /home | |
parent | Add \u to sort use lines (diff) | |
download | src-5e3703d2e7cbc9a4364f0d121451cf74c3d00956.tar.gz src-5e3703d2e7cbc9a4364f0d121451cf74c3d00956.zip |
Sort extern crate lines with \c
Diffstat (limited to '')
-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> |