5b84d4ae55
vim:setts: Only one global status line
...
for more screen real-estate.
2024-09-21 00:37:43 +02:00
c1d91fa934
vim:setts: Re-enable 'wrap'
...
I don't remember why I turned it off. But currently I enable it a lot.
2024-07-11 19:09:36 +02:00
1075264593
vim:setts: Add / to 'formatoptions'
...
Do not insert the comment leader on 'o' on trailing inline comments.
2024-07-11 19:09:32 +02:00
f8519555f7
vim:setts: Deactivate 'relativenumber'
...
I rarely use them and are more an annoyance.
For the case that I want to enable them in a session, move the
numbertoggle augroup into a function and add an autocommand on
`OptionSet relativenumber`.
2023-02-13 15:32:53 +01:00
db6a7e2984
vim:setts: Reactivate 'cursorline'
2023-02-13 15:15:34 +01:00
8fda4ce158
vim:setts: Set conceallevel=1
...
I want concealable text to be replaced if possible but not hidden
completely (i.e. `=2`) as this makes moving over lines nauseous.
2023-01-04 22:44:41 +01:00
0ef3cd3723
vim:setts: Turn off line wrapping
2022-12-12 11:21:27 +01:00
a290c07acc
vim:settings: Improve line wrapping behaviour
2022-11-21 16:38:52 +01:00
3f259d9cd8
vim: Do not include the line break in selections
2022-09-28 00:58:48 +02:00
2f6d8af3f9
vim:settings: Turn on lazyredraw
2022-08-31 02:39:42 +02:00
ba3a54fc44
vim: Move numbertoggle autocmd into settings.vim
...
Step by step I want to restructure the vim files. The approach to
cleanly divide the config by topics works in zsh pretty well, but is too
vague in vim for my liking.
Especially (the very small) functions and autocommands that have the
purpose of setting options or mapping keys or the interplay of multiple
categories together, make it difficult to decide in which file the
snippets should lay.
2022-08-28 01:06:55 +02:00
794293aa81
vim: Wrap autocmds in augroups
...
To prevent the piling up of autocommands when reloading the vimrc, wrap
all autocommands in groups.
2022-08-25 04:22:19 +02:00
d1211dbc0d
vim:settings: Add block to virtualedit
...
Let the cursor move beyond the EOL when in visual-block mode.
2022-07-12 21:00:08 +02:00
b2536d7c2f
vim:settings: Set inccommand=split
...
Show partial off-screen effects of a command in a preview window.
2022-07-12 21:00:05 +02:00
a3ede8f8bc
vim: Use gitgutter's foldtext()
...
Use `gitgutter`'s `foldtext()` to display an indicator if a fold
contains lines that have been changed.
This is necessary as {,neo}vim does not display signs next to folded
lines.
2022-06-23 23:58:52 +02:00
bc72d3507c
vim: Set nofixendofline
...
Do not automatically restore missing <EOL> at EOF when writing.
This is rarely a change worth committing and I'd rather prefer vim to
not touch stuff I did not actively modify myself.
2022-06-23 23:56:52 +02:00
99e6ac7002
vim:sets: Recognize numbered lists when formatting
...
Add `n` to `formatoptions` to recognize numbered lists when formatting.
2022-03-30 13:59:10 +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
0369218114
vim:settings: Include - in &iskeyword
2022-02-24 17:39:48 +01:00
fafc7e1bef
vim: Deactivate cursorline
...
With the highlighting of the word under the cursor this kind of gets in
the way as both are using the same color to highlight.
2022-02-17 15:22:32 +01:00
2cd147cc32
vim: Set colorcolumn to textwidth
...
Set &colorcolumn to &textwidth instead of hardcoding it to the same
value.
2022-02-12 13:11:44 +01:00
8c37dc2316
vim:vimrc.d:*: Use " instead of # in header lines
2021-07-13 16:52:42 +02:00
28385a0a1e
vim: Set termdebug_wide
2021-05-21 10:18:02 +02:00
3aa722842d
vim: Use tree style listing in netrw
2021-04-28 01:37:42 +02:00
f746909e3a
vim: Enable &autoread + autocmd for regular check
2021-02-17 02:38:15 +01:00
0caa30d6ef
vim: Enable mouse in all modes
2021-01-15 12:40:36 +01:00
4a0b9e5cf1
vim: Disable swapfile-warning instead of the files
...
This should make it possible to actually recover something on a crash
without those warnings.
2020-12-27 23:55:39 +01:00
5b45049070
vim: Disable pesky swap files
...
For now... Probably until my first crash with unsaved changes...
But right now they just annoy me.
2020-12-24 02:01:11 +01:00
b9f26d7482
vim: Split vimrc into vimrc.d/
2020-12-23 01:42:42 +01:00