diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-22 23:04:18 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-22 23:04:18 +1200 |
commit | f8d5b799f539ecf9d388ce1aeb39fb0ae3a6ea67 (patch) | |
tree | 216ea7202f6a7c3f59d8aec9459c318e9e93919c | |
parent | Rebuild dotfiles(7df) manual (diff) | |
download | dotfiles-f8d5b799f539ecf9d388ce1aeb39fb0ae3a6ea67.tar.gz dotfiles-f8d5b799f539ecf9d388ce1aeb39fb0ae3a6ea67.zip |
Add mapping to toggle 'autoindent'
-rw-r--r-- | vim/vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -448,6 +448,9 @@ nnoremap <Leader><Delete> :bdelete<CR> " \INS edits a new buffer nnoremap <Leader><Insert> :<C-U>enew<CR> +" \TAB toggles 'autoindent' +nnoremap <Leader><Tab> :<C-U>setlocal autoindent! autoindent?<CR> + " Execution mappings; each of these clobbers register z " \@ executes line in normal mode |