diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-16 17:01:16 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-16 17:01:16 +1200 |
commit | c9a9784d80bfe09a269ff79ca2279674b9412971 (patch) | |
tree | 44dac469323426f843cfc3d6043eaae13f86e0ba | |
parent | Set target dependencies on install-vim-autoload (diff) | |
download | dotfiles-c9a9784d80bfe09a269ff79ca2279674b9412971.tar.gz dotfiles-c9a9784d80bfe09a269ff79ca2279674b9412971.zip |
Spruce up mapping comments
-rw-r--r-- | vim/vimrc | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -1443,11 +1443,17 @@ nnoremap <Leader>E "" Leader,j jumps to buffers ("jetpack") nnoremap <Leader>j \ :<C-U>buffers<CR>:buffer<Space> -"" Leader,o opens a screenful of :browse :oldfiles, ready for a selection + +" Leader,o hacks up the list of old files from viminfo just long enough to +" ensure that :browse :oldfiles fits in a screen, avoiding an Enter or 'q' +" keypress before entering the number. This one is handy followed by +" <Leader>,\ to jump back to the last remembered position in that file, since +" by definition viminfo remembers that mark, too. +" nnoremap <Leader>o \ :<C-U>SelectOldFiles<CR> -" This ground defines mappings for filtering and batch operations to clean up +" This group defines mappings for filtering and batch operations to clean up " buffer text. All of these mappings use commands from my custom plugins: " " :KeepPosition @@ -1543,8 +1549,7 @@ xmap <Leader>* <Plug>(RegexEscape) " command wrapper defined much earlier in the file, so that filetypes also get " reloaded afterwards, meaning I don't need to follow <Leader>R with " a <Leader>F to fix up broken global settings. - -"" Leader,R reloads ~/.vimrc +" nnoremap <Leader>R \ :<C-U>ReloadVimrc<CR> |