summary refs log tree commit diff
path: root/home/.config/nvim
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-03-24 23:07:45 -0400
committerJune McEnroe <june@causal.agency>2018-03-24 23:07:45 -0400
commit22d4256bfd6865b893dc83d56efc08d46f11600e (patch)
tree58cb1ab23c1f556f17a60919c2a68f00d497e49d /home/.config/nvim
parentSet PDFs read-only (diff)
downloadsrc-22d4256bfd6865b893dc83d56efc08d46f11600e.tar.gz
src-22d4256bfd6865b893dc83d56efc08d46f11600e.zip
Add \u to sort use lines
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 59b696c1..53fbb10d 100644
--- a/home/.config/nvim/init.vim
+++ b/home/.config/nvim/init.vim
@@ -23,3 +23,4 @@ autocmd BufEnter term://* startinsert
 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>