Summary Files CommitsBranches @commit@diff
path: root/.vim/feat/spell_check_mode.vim
diff options
context:
space:
mode:
Commit6309eb628ddf53f7d19aac6e1d5fa1bf6f71c232 (patch )
AuthorSyndamia <kamen@syndamia.com>2024-01-28 16:10:06 +0200
CommitterSyndamia <kamen@syndamia.com>2024-01-28 16:10:06 +0200
Files629adf146903859b3ddef7c4598fdbf0f631690e /.vim/feat/spell_check_mode.vim
dotfiles-6309eb628ddf53f7d19aac6e1d5fa1bf6f71c232.tar
dotfiles-6309eb628ddf53f7d19aac6e1d5fa1bf6f71c232.tar.gz
dotfiles-6309eb628ddf53f7d19aac6e1d5fa1bf6f71c232.zip
Parentf3ea7c8003c7a65de29c2f4e0e1bf0d592dd0ad8 (diff)
[.vimrc] Added feats
1 files changed, 11 insertions, 0 deletions
-rw-r--r--.vim/feat/spell_check_mode.vim11
diff --git a/.vim/feat/spell_check_mode.vim b/.vim/feat/spell_check_mode.vim
new file mode 100644
index 0000000..4b35add
--- /dev/null
+++ b/.vim/feat/spell_check_mode.vim
@@ -0,0 +1,11 @@
+nnoremap <F6> :call SpellCheckModeToggle()<CR>
+
+function! SpellCheckModeToggle()
+ if g:colors_name == 'gruvbox'
+ set spell
+ colorscheme darkblue
+ else
+ set nospell
+ colorscheme gruvbox
+ endif
+endfunction