From 4bd2e796b3974911800d204a1007d4af5db60378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 9 Apr 2024 16:18:06 +0300 Subject: [PATCH] vimrc: open larger files --- shared/home/vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shared/home/vimrc b/shared/home/vimrc index 0994b26..ece7fcf 100644 --- a/shared/home/vimrc +++ b/shared/home/vimrc @@ -6,6 +6,9 @@ set laststatus=1 diffopt+=algorithm:patience nnoremap \ gqj command OLD :enew | setl buftype=nofile | 0put =v:oldfiles | nnoremap :e =getline('.') +#https://vi.stackexchange.com/a/39451 +set maxmempattern=5000 + call matchadd('ColorColumn', '\%81v', 100) " thanks to drew de vault's vimrc, except swearing set mouse=