diff options
author | Danny Holman <dholman@gymli.xyz> | 2021-02-05 15:39:27 -0600 |
---|---|---|
committer | Danny Holman <dholman@gymli.xyz> | 2021-02-05 15:39:27 -0600 |
commit | ccac130ed733d047210a789e457f40060ec04214 (patch) | |
tree | e9b6ba4db7c246fb8cdeef96469b37bf1b3b8b77 /.vimrc | |
parent | 723e67595d6b0bb48726a873830ff5342015de28 (diff) |
Updates
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -41,6 +41,16 @@ set noswapfile set nobackup set nowb +" Spellcheck +function! ToggleSpell() + setlocal spell! + if &spell + echo "Spellcheck ON" + else + echo "Spellcheck OFF" + endif +endfunction + " Indentation set autoindent set smartindent @@ -123,6 +133,7 @@ nnoremap <C-H> <C-W><C-H> nnoremap <silent> <Leader>n :NERDTreeToggle<CR> nnoremap <silent> <Leader>c :silent !ctags -R .<CR><C-L> nnoremap <silent> <Leader>t :tag +nnoremap <silent> <F5> :call ToggleSpell()<CR> nnoremap qq :quit<CR> let mapleader = " " |