Chris před 4 roky
rodič
revize
5c1f705354
2 změnil soubory, kde provedl 14 přidání a 2 odebrání
  1. 4 0
      README.md
  2. 10 2
      general/settings.vim

+ 4 - 0
README.md

@@ -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

+ 10 - 2
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 %
-
-