diff options
author | Juan J. Martinez <jjm@usebox.net> | 2021-02-02 20:42:50 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2022-05-29 22:57:30 +0100 |
commit | 4e6dd2820ed62d23a311a9e27555db8643ea112d (patch) | |
tree | 9416135c5ebd8a87d6b2b8e5cdc87dad1aca035b /vimrc | |
parent | 2635dd9026f900024ac36713542fba723efdd762 (diff) | |
download | dotnvim-4e6dd2820ed62d23a311a9e27555db8643ea112d.tar.gz dotnvim-4e6dd2820ed62d23a311a9e27555db8643ea112d.zip |
To easier set autoformat paragraph on/off
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -111,6 +111,10 @@ let g:gruvbox_guisp_fallback = "fg" " toggle spell check map <leader>s :set spell! spelllang=en_gb<CR> +" toggle autoformat paragraphs +map <leader>a :set formatoptions -=a<CR> +map <leader>A :set formatoptions +=a<CR> + " some types that shouldn't have spell check on autocmd FileType json setlocal nospell autocmd FileType conf setlocal nospell |