diff options
author | June McEnroe <june@causal.agency> | 2019-12-26 17:06:36 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-12-26 17:06:36 -0500 |
commit | 0868d8845fc0cb739d7e802666b63d397617832e (patch) | |
tree | 9a228f262cc1752af83b107aca0c185f730b6ed0 /home/.config/nvim | |
parent | Reformat music.txt (diff) | |
download | src-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.vim | 1 |
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>'' |