summaryrefslogtreecommitdiff
path: root/general/settings.vim
diff options
context:
space:
mode:
Diffstat (limited to 'general/settings.vim')
-rw-r--r--general/settings.vim12
1 files changed, 10 insertions, 2 deletions
diff --git a/general/settings.vim b/general/settings.vim
index b2910931..90dd6872 100644
--- a/general/settings.vim
+++ b/general/settings.vim
@@ -4,6 +4,7 @@ set formatoptions-=cro " Stop newline continution of comments
syntax enable " Enables syntax highlighing
set hidden " Required to keep multiple buffers open multiple buffers
set nowrap " Display long lines as just one line
+set whichwrap+=<,>,[,],h,l
set encoding=utf-8 " The encoding displayed
set pumheight=10 " Makes popup menu smaller
set fileencoding=utf-8 " The encoding written to file
@@ -35,6 +36,15 @@ set timeoutlen=100 " By default timeoutlen is 1000 ms
set clipboard=unnamedplus " Copy paste between vim and everything else
set incsearch
set guifont=Fira\ Code\ Nerd\ Font
+
+" New stuff
+set notimeout nottimeout
+set scrolloff=1
+set sidescroll=1
+set sidescrolloff=1
+set display+=lastline
+set backspace=eol,start,indent
+set nostartofline
" let $NVIM_TUI_ENABLE_TRUE_COLOR=1
" set mmp=1300
" set autochdir " Your working directory will always be the same as your working directory
@@ -45,5 +55,3 @@ autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
" You can't stop me
cmap w!! w !sudo tee %
-
-