From fefb70c81816d89e896138f41f9ff8ce1b3c57bc Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 14 Jun 2019 11:22:05 +1200 Subject: Add links to plugin pages --- vim/vimrc | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'vim') diff --git a/vim/vimrc b/vim/vimrc index ff46a151..ba7ab63b 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -1138,6 +1138,8 @@ xnoremap & " didn't seem to be an analogue for a motion to filter text through an " internal command like :sort, so I wrote one. " +" +" nmap g: (ColonOperator) " I used Tim Pope's unimpaired.vim plugin for ages, and I liked some of these @@ -1172,6 +1174,8 @@ nnoremap ]l " put_blank_lines.vim. These use operator functions so that they're " repeatable without repeat.vim. They accept count prefixes, too. " +" +" nmap [ (PutBlankLinesAbove) nmap ] (PutBlankLinesBelow) @@ -1277,6 +1281,8 @@ nnoremap z " larger blocks of text or for manipulating the text as it leaves the buffer, " it makes more sense to use :! commands. " +" +" "" Leader,b toggles settings friendly to copying and pasting nmap b (CopyLinebreakToggle) @@ -1423,9 +1429,13 @@ onoremap _ onoremap % \ :execute 'normal! 1GVG' -" This group defines some useful motions. +" This group defines some useful motions, including navigating by indent +" block using a custom plugin: +" +" +" -" Leader,{ and Leader,} move to top and bottom of indent region +"" Leader,{ and Leader,} move to top and bottom of indent region map { (VerticalRegionUp) sunmap { map } (VerticalRegionDown) @@ -1454,6 +1464,11 @@ nnoremap ? " This group contains miscellaneous mappings for which I couldn't find any " other place. The plugin mappings probably require their own documentation " comment block, but my hands are getting tired from all this typing. +" +" * +" * +" * +" "" Leader,. runs the configured make program into the location list nnoremap . -- cgit v1.2.3