From 13d70b5d566501ee518577f041b668613500ebd9 Mon Sep 17 00:00:00 2001
From: "C. McEnroe" <june@causal.agency>
Date: Thu, 26 Dec 2019 17:06:36 -0500
Subject: Add \S to sort inside braces

---
 home/.config/nvim/init.vim | 1 +
 1 file changed, 1 insertion(+)

(limited to 'home')

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>''
-- 
cgit 1.4.1