diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-08 16:17:48 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-08 16:17:48 +1200 |
commit | 3875b6caf69cc08467438d03a4b83b624f369aa0 (patch) | |
tree | 22022c1e2fd367d26aa7300f27050679617b8af6 | |
parent | Add .vimrc reload flag and message (diff) | |
download | dotfiles-3875b6caf69cc08467438d03a4b83b624f369aa0.tar.gz dotfiles-3875b6caf69cc08467438d03a4b83b624f369aa0.zip |
Add \T map to clear filetype
-rw-r--r-- | vim/vimrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -272,6 +272,8 @@ nnoremap <Bslash>R :<C-U>doautocmd filetypedetect BufRead<CR> nnoremap <Bslash>s :<C-U>setlocal spell! spell?<CR> " \t shows current filetype nnoremap <Bslash>t :<C-U>setlocal filetype?<CR> +" \T clears filetype (follow with \R) +nnoremap <Bslash>T :<C-U>setlocal filetype=NONE<CR> " \u sets US English spelling (compare \z) nnoremap <Bslash>u :<C-U>setlocal spelllang=en_us<CR> " \v shows all global variables |