From 817c0d8f05aa509b61c9ac7104ed9d06b851d560 Mon Sep 17 00:00:00 2001 From: Ryan Reed Date: Mon, 11 Oct 2021 12:35:17 -0400 Subject: [PATCH] Adding spellcheck and disabling vim-rainbow (interferes with spellcheck) --- dot_vim/vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dot_vim/vimrc b/dot_vim/vimrc index 40de139..1fa687c 100644 --- a/dot_vim/vimrc +++ b/dot_vim/vimrc @@ -11,6 +11,8 @@ set foldlevel=2 " Default fold levelss to leave open set modelines=0 " Dont need modelines and the potential security hazard + set spell " Enable spellcheck (see keybindings for quick toggle) + "set mouse=a " Automatically enable mouse usage "set mousehide " Hide the mouse cursor while typing set encoding=utf-8 @@ -119,7 +121,7 @@ endif " Plugin - vim-rainbow - let g:rainbow_active = 1 + " let g:rainbow_active = 1 " Plugin - vim-surround " This allows for surrounding test with something @@ -264,6 +266,7 @@ nmap p :set paste! " Toggle paste mode nmap sh :split " Split window horizontally nmap sv :vsplit " Split window veritcally + nmap sp :setlocal spell! spelllang=en_us " Toggle spell check nmap i :IndentLinesToggle " Toggle indent guides nmap t :tabn " Next tab nmap T :tabp " Previous tab