summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nvim/nvim/init.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/nvim/nvim/init.vim b/nvim/nvim/init.vim
index 0ac9ce8..a3bb204 100644
--- a/nvim/nvim/init.vim
+++ b/nvim/nvim/init.vim
@@ -87,6 +87,9 @@ set foldlevelstart=99
" EDITION:
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+" Completion
+set complete=.,w,b,u,t,i,kspell
+
" Allow backspace always
set backspace=indent,eol,start
@@ -110,6 +113,13 @@ set autoindent
" Show matching parenthesis and brackets on close
set showmatch
+" Disable modelines (they have vulnerabilities)
+set nomodeline
+
+" Allow saving of files as sudo
+" TODO LOOK FOR A BETTER WAY TO DO THIS
+" cmap w!! w !sudo tee > /dev/null %
+
" SEARCH
" HighLight search and map CarrierReturn to remove highlight