From d0a4e44bf71265784599a6abf0e23f6d9258b110 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 4 Oct 2024 14:23:37 +0100 Subject: We add a nice autocommand to highlight cols and rows in html files --- vim/vimrc-sept24 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vim') diff --git a/vim/vimrc-sept24 b/vim/vimrc-sept24 index 5b98fcb..9654f18 100644 --- a/vim/vimrc-sept24 +++ b/vim/vimrc-sept24 @@ -54,6 +54,10 @@ nnoremap CC :Commands command! Vlist botright vertical copen | vertical resize 50 nnoremap v : Vlist +" Here we are going to switch on column highlighting in HTML files +" see https://www.youtube.com/watch?v=DeLBFiQ_LEQ +autocmd FileType htmldjango,html setlocal cuc cul + " In pursuit of the single text file idea, which uses TODO, IDEA, FLAG " as tags at the start of lines, this function is a vim-native replacement " for fzf BLines, which does get a bit fuzzy sometimes. Not a biggie. -- cgit v1.2.3