vimrc: open larger files

This commit is contained in:
Motiejus Jakštys 2024-04-09 16:18:06 +03:00 committed by Motiejus Jakštys
parent 8c9ffefe98
commit 4bd2e796b3
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,9 @@ set laststatus=1 diffopt+=algorithm:patience
nnoremap <Leader>\ gqj nnoremap <Leader>\ gqj
command OLD :enew | setl buftype=nofile | 0put =v:oldfiles | nnoremap <buffer> <CR> :e <C-r>=getline('.')<CR><CR> command OLD :enew | setl buftype=nofile | 0put =v:oldfiles | nnoremap <buffer> <CR> :e <C-r>=getline('.')<CR><CR>
#https://vi.stackexchange.com/a/39451
set maxmempattern=5000
call matchadd('ColorColumn', '\%81v', 100) call matchadd('ColorColumn', '\%81v', 100)
" thanks to drew de vault's vimrc, except swearing " thanks to drew de vault's vimrc, except swearing
set mouse= set mouse=