01ebc211bb
vim:autocmd: Disable relative numbers in insert
...
As relative line numbers are only really needed in normal mode and in
the current buffer, disable them in insert mode or when the
buffer/window is not focused.
2022-07-12 21:00:05 +02:00
fc0969abba
vim: Drop textwidth autocmd for native way
...
Instead of needing a manual autocmd that triggers on textwidth changes,
colorcolumn supports offsets to textwidth natively.
2022-03-22 16:18:58 +01:00
94271371dc
vim:autocmd: Fix typo in OptionSet textwidth
...
The old `textwidth` value is meant to be subtracted from colorcolumn, to
then add the new one.
Fixes: 41656d28d6 ("vim:autocmd: Reset textwidth value in colorcolumn")
2022-03-21 15:24:31 +01:00
41656d28d6
vim:autocmd: Reset textwidth value in colorcolumn
...
Instead of overwriting the entire colorcolumn value, reset only the
textwidth value, by subtracting it first and then readding it.
2022-03-18 17:33:56 +01:00
9796992737
vim:autocmd: Highlight word under cursor
2022-02-17 15:21:51 +01:00
a98457e66b
vim:autocmd: Adjust colorcolumn with &textwidth
2022-02-16 00:54:19 +01:00
8c66e1cf68
vim:autocmd: Add bindings when sourcing termdebug
2021-07-13 16:54:55 +02:00
8c37dc2316
vim:vimrc.d:*: Use " instead of # in header lines
2021-07-13 16:52:42 +02:00
22501182ce
vim: Use timer instead of autocommand for autoread
2021-04-26 17:56:15 +02:00
f746909e3a
vim: Enable &autoread + autocmd for regular check
2021-02-17 02:38:15 +01:00
b9f26d7482
vim: Split vimrc into vimrc.d/
2020-12-23 01:42:42 +01:00