diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-08 16:07:33 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-08 16:07:33 +1200 |
commit | aebe4e709584692a729ad3e3ee8fc07304f28507 (patch) | |
tree | 0677102d2477116a5042a38a47cbeb2209779e90 /vim | |
parent | Separate <Space> and <Backspace> maps (diff) | |
download | dotfiles-aebe4e709584692a729ad3e3ee8fc07304f28507.tar.gz dotfiles-aebe4e709584692a729ad3e3ee8fc07304f28507.zip |
Add \R for filetype reloading
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -266,6 +266,8 @@ nnoremap <Bslash>p :<C-U>set paste! paste?<CR> nnoremap <Bslash>q gqap " \r reloads .vimrc nnoremap <Bslash>r :<C-U>source $MYVIMRC<CR> +" \R reloads filetype +nnoremap <Bslash>R :<C-U>doautocmd filetypedetect BufRead<CR> " \s toggles spell checking nnoremap <Bslash>s :<C-U>setlocal spell! spell?<CR> " \t shows current filetype |