summary refs log tree commit diff
path: root/home/.config/nvim
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
commit0868d8845fc0cb739d7e802666b63d397617832e (patch)
tree9a228f262cc1752af83b107aca0c185f730b6ed0 /home/.config/nvim
parentReformat music.txt (diff)
downloadsrc-0868d8845fc0cb739d7e802666b63d397617832e.tar.gz
src-0868d8845fc0cb739d7e802666b63d397617832e.zip
Add \S to sort inside braces
Diffstat (limited to 'home/.config/nvim')
-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>''