aboutsummaryrefslogtreecommitdiffstats
path: root/vim/vimrc-sept24
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-10-04 14:23:37 +0100
committerMatthew Lemon <y@yulqen.org>2024-10-04 14:23:37 +0100
commitd0a4e44bf71265784599a6abf0e23f6d9258b110 (patch)
tree239eae04b51a981abf6ddd80c506102d8f5f08a5 /vim/vimrc-sept24
parenta6ddf9e879c33ae70786abbf149a9e16ae34537e (diff)
We add a nice autocommand to highlight cols and rows in html files
Diffstat (limited to 'vim/vimrc-sept24')
-rw-r--r--vim/vimrc-sept244
1 files changed, 4 insertions, 0 deletions
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 <silent> <leader>CC :Commands<CR>
command! Vlist botright vertical copen | vertical resize 50
nnoremap <leader>v : Vlist<CR>
+" 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.