commit 69aaa337bf20b471f35678bb985b3b2d2ec5c3c2 (tree)
parent 50f63458ab7948b852d6b7dea34907c4bbf046dd
Author: Motiejus Jakštys <motiejusja@wix.com>
Date: Mon, 9 Oct 2023 17:20:12 +0300
nvim: we are using a recent vim now, yes
Diffstat:
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/shared/home/vimrc b/shared/home/vimrc
@@ -2,7 +2,7 @@ syntax on
filetype plugin indent on
set et ts=4 sw=4 sts=4 nu hlsearch ruler ignorecase smartcase nomodeline bg=dark incsearch
set path=**/* grepprg=rg\ --vimgrep grepformat^=%f:%l:%c:%m backspace=2 nojs
-set laststatus=1
+set laststatus=1 diffopt+=algorithm:patience
nnoremap <Leader>\ gqj
command OLD :enew | setl buftype=nofile | 0put =v:oldfiles | nnoremap <buffer> <CR> :e <C-r>=getline('.')<CR><CR>
@@ -24,10 +24,6 @@ if &diff
syntax off
endif
-if has("patch-8.1-0360")
- set diffopt+=algorithm:patience
-endif
-
" html
au FileType html,gohtmltmpl setlocal ts=2 sw=2 sts=2