summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-12-26 17:06:36 -0500
committerJune McEnroe <june@causal.agency>2019-12-26 17:06:36 -0500
commit13d70b5d566501ee518577f041b668613500ebd9 (patch)
treeb2a8f92b90581e0e5e4c22ef9ca667ec9cf4d058 /home
parentReformat music.txt (diff)
downloadsrc-13d70b5d566501ee518577f041b668613500ebd9.tar.gz
src-13d70b5d566501ee518577f041b668613500ebd9.zip
Add \S to sort inside braces
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 795148d7..b281322b 100644
--- a/home/.config/nvim/init.vim
+++ b/home/.config/nvim/init.vim
@@ -30,6 +30,7 @@ let g:clipboard = {'copy':{'+':'pbcopy'},'paste':{'+':'pbpaste'}}
 nmap gp `[v`]
 
 nmap <leader>s vip:sort<CR>
+nmap <leader>S $vi{:sort<CR>
 nmap <leader>a m':0/^#include <<CR>:nohlsearch<CR>O#include <
 nmap <leader>l :0read ~/src/etc/agpl.c<CR>''
 nmap <leader>L :0read ~/src/etc/gpl.c<CR>''