diff options
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | general/settings.vim | 12 |
2 files changed, 14 insertions, 2 deletions
@@ -18,6 +18,8 @@ bash <(curl -s https://raw.githubusercontent.com/ChristianChiarulli/nvim/master/ ``` brew install neovim + + brew install --HEAD neovim # Latest ``` - Ubuntu @@ -30,6 +32,8 @@ bash <(curl -s https://raw.githubusercontent.com/ChristianChiarulli/nvim/master/ ``` sudo pacman -S neovim + + yay -S neovim-git # Latest ``` ## Clone this repo into your config 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 % - - |