From 230cfcd71351b7c11d3071daa40614fa6e016f43 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Mon, 6 Feb 2023 14:50:41 +0000 Subject: [PATCH] Don't use Goyo --- vimrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index fa4487d..4021e4b 100644 --- a/vimrc +++ b/vimrc @@ -35,7 +35,7 @@ inoremap inoremap inoremap -nnoremap :Goyo +nnoremap :Limelight!!:set colorcolumn=0 nnoremap :w nnoremap :setlocal spell! spelllang=en_gb nnoremap @@ -50,6 +50,11 @@ nnoremap gb :bnext " for general text that will be viewed in a GUI. If printing, an A4-sized page " should fit 100 columns at 8pt or 80 columns at 10pt, in Courier or Liberation " Mono fonts. +" +" You can highlight line-end columns with colorcolumn (cc), which should be one +" larger than the textwidth. E.g. to include a 'margin-bell' line also: +" set tw=80 cc=73,81 +" Clear the colorcolumn highlighting with cc=0. set colorcolumn=73,81 " Suggestions: 73, 81, 101 set textwidth=80 " Suggestions: 72, 80, 100 @@ -114,6 +119,7 @@ if has('eval') let g:go_info_mode='gopls' let g:go_version_warning=0 let g:goyo_width=100 + let g:limelight_default_coefficient=0.8 let g:netrw_altv=1 let g:netrw_banner=0 let g:netrw_browse_split=4