From 2fd6876c5637cadd059ee085685cac682eb353f3 Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Sun, 18 Aug 2019 19:14:28 +0200 Subject: Nvim stuff --- nvim/nvim/init.vim | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- cgit v1.2.3