summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2019-08-18 19:14:28 +0200
committerEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2019-08-18 19:14:28 +0200
commit2fd6876c5637cadd059ee085685cac682eb353f3 (patch)
treeaa1a007628df5a71beb151b20b12e73ee2fc5197 /nvim
parent80fc1d3f9a5064a6a5a4f882ee83e514130c536a (diff)
Nvim stuff
Diffstat (limited to 'nvim')
-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