diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-19 20:30:11 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-19 20:30:11 +1200 |
commit | 109d9cf59100e59746db60ce0399353f62486034 (patch) | |
tree | d0d80bd39e50a5c59c9b4b673ac2b6fb9905338e /vim/vimrc | |
parent | Back to simpler regex test of &term (diff) | |
download | dotfiles-109d9cf59100e59746db60ce0399353f62486034.tar.gz dotfiles-109d9cf59100e59746db60ce0399353f62486034.zip |
Remove leader maps for digits
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -1608,15 +1608,6 @@ xmap <Leader>r <Plug>(ReplaceOperator) nmap <Leader>* <Plug>(RegexEscape) xmap <Leader>* <Plug>(RegexEscape) -" I don't have anything for which I'm using the numbers just yet, so let's set -" them to apply an explicit 'foldlevel' for now, which is occasionally useful, -" though I suspect I'm more likely to keep using zM, zm, and zr. -" -for s:key in range(0,9) - execute 'nnoremap <Leader>'.s:key.' :<C-U>set foldlevel='.s:key.'<CR>' - execute 'xmap <Leader>'.s:key.' <Esc><Leader>'.s:key.'gv' -endfor - " And last, but definitely not least, I'm required by Vim fanatic law to " include a mapping that reloads my whole configuration. This uses the " command wrapper defined much earlier in the file, so that filetypes also get |