summary refs log tree commit diff
path: root/home/.config/nvim/init.vim
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2018-03-28 12:49:29 -0400
committerJune McEnroe <programble@gmail.com>2018-03-28 12:49:29 -0400
commit5e3703d2e7cbc9a4364f0d121451cf74c3d00956 (patch)
treec3492af4e6db936a2852ccfee4f4c7b1d032e5c6 /home/.config/nvim/init.vim
parentAdd \u to sort use lines (diff)
downloadsrc-5e3703d2e7cbc9a4364f0d121451cf74c3d00956.tar.gz
src-5e3703d2e7cbc9a4364f0d121451cf74c3d00956.zip
Sort extern crate lines with \c
Diffstat (limited to '')
-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>
2020-09-12Enable toc in cgit renderings of man pagesJune McEnroe 2020-09-11Install mandoc on macOSJune McEnroe 2020-09-11Rewrite install script yet againJune McEnroe 2020-09-11Remove NetBSD from install scriptJune McEnroe 2020-09-11Use MacPorts rather than pkgsrcJune McEnroe 2020-09-11Add debian VM name to sshJune McEnroe 2020-09-11Add influencer tweetJune McEnroe 2020-09-10Add The Kingdom of GodsJune McEnroe 2020-09-07Add SunglassesJune McEnroe 2020-09-06Add Between the BreathsJune McEnroe 2020-09-04Open /dev/tty in nudgeJune McEnroe 2020-09-04Add nudgeJune McEnroe 2020-09-03Build fbclock with -lzJune McEnroe 2020-08-29Add tweets from retweetsJune McEnroe