Commit Graph

1692 Commits

Author SHA1 Message Date
671d924cca vim:fzf: Span fzf over full window in tmux
Use tmux popup windows for fzf in vim, so that it spans (almost) the
full tmux window. My use-case for this is, that sometimes I open fzf in
a split pane and notice then that the lines are too long for the width
of the pane. Since the fzf window won't resize if I resize the pane
(TODO: issue in fzf.vim), I have to first close it, resize and then
reopen fzf. I hope to fix this by using always the big tmux popup and
eliminating the need to resize at all. The issue remains when vim is in
a split window outside of tmux. I can imagine that this will become
annoying, but we'll see...
2025-04-30 17:44:15 +02:00
5b36728e07 git: Add indent-with-non-tab to core.whitespace
The rest was already enabled by default.
2025-04-30 17:03:05 +02:00
25c00c6efd vim:setts: Use ellipsis for lcs extends & precedes 2025-04-30 17:03:04 +02:00
ad025e7d9d vim:setts: Highlight trailing spaces a bit better
Switch from middle dot to bullet point, since it is a bit bigger.
2025-04-30 17:03:04 +02:00
d3cbc9d560 vim:setts: Change 'tabstop' to 8
I got used to code that is indented with (meant) tabs of width 8.
2025-04-30 17:03:04 +02:00
b2127ae3eb zsh:_conf: Set NULL_GLOB 2025-04-29 11:35:41 +02:00
aafb9a5a3a zsh:_conf: Fix some directory stack empty errors
Fix two cases where `popd` could try to pop from an empty stack.
2025-04-29 11:34:08 +02:00
b722b9aaec zsh:funcs: Fix non-empty dir filter in bfs/find wrapper
The previous filter would filter out every non-regular file (e.g.
symbolic links).
2025-03-28 16:23:05 +01:00
0cb18dedef zsh:keys:cmd-on-enter: Switch until conditions
The requirement does not need to be executed if the idx wrapped around
already.
2025-03-26 00:51:19 +01:00
a9bd4585aa zsh:keys:cmd-on-enter: Take gs out of rotation
It's a bit annoying, ll is sufficient.
2025-03-26 00:50:25 +01:00
3599a147b8 vim:coc: Abort when coc is not loaded 2025-03-26 00:48:48 +01:00
99d8b6133c git: Set trailer.where = end
Don't remember why I had to set it, or what problems I had without
(since it should be the default, no?), but does no harm.
2025-03-25 18:13:54 +01:00
f77b7b7ff6 git: Switch back to diff-so-fancy from delta
I'm not happy with the colors and diff-so-fancy is easier, since it's
just shipped with this repo via a submodule.
2025-03-25 18:08:22 +01:00
24f06f63f0 LICENSE: Remove email address
Not needed, and then I'd rather just remove it.
2025-03-25 18:06:22 +01:00
e04d78a9d8 vim:ftdetect: Glob clang-formats 2025-03-25 18:04:03 +01:00
bf4c5a1291 vim:keys: Alias <leader>g* to <leader>* 2025-03-25 18:03:59 +01:00
1d2e24cf4d zsh:autoload: Make $d local 2025-03-25 11:07:13 +01:00
2363545489 zsh:autoload: Allow nested directories
As well as wrapper in subdirectories.
2025-03-25 11:07:12 +01:00
cd54c3dfed zsh:autoload: Load wrapper only if command exists 2025-03-25 11:07:12 +01:00
071c2866e5 tmux:yank: Copy also in view-mode 2025-03-24 18:36:41 +01:00
a396df8cea tmux: Fix window reordering >3.4 2025-03-24 18:36:40 +01:00
597f86b4fd tmux: Reorder MouseDragEnd1StatusDefault blocks 2025-03-24 18:36:40 +01:00
0810a83c0b tmux: Bind MouseDragEnd1StatusDefault w/o run-shell
The special token `$` indicates the highest-numbered window. Also switch
to using before `^` when moving to the front for consistency.
2025-03-24 18:36:40 +01:00
52264362f3 *: Update email 2025-03-20 23:02:31 +01:00
393c4e055f vim:coc: Disable diagnostic signs
The line number highlighting is enough and this way I still see the git
signs (without messing with priorities).
2025-03-20 12:51:10 +01:00
63febddf82 vim:coc: Decrease message delay
The value of 25 is orientated at my key repeat rate of 50 (see xinitrc).
This way the message comes fairly quick while not refreshing on every
character when keeping a navigation key pressed.
2025-03-20 12:51:09 +01:00
2b1bdf0fee vim:coc: Disable inlay hints 2025-03-20 12:51:02 +01:00
0c8d1f4292 tmux: Put some parts in version >= 3.3 checks
Ubuntu 22.04 is shipped with 3.2a... There might be more issues with
that version, but these were the ones I could find for now.

Tmux commits needed:
- c03b57465bdf/866117636e47 ("Add different command historys for
  different types of prompts ("command", "search" etc). From Anindya
  Mukherjee.") for `prompt-history-limit`
- e06a4e041c68 ("Set mouse_x and mouse_y on the status line, GitHub
  issue 2913.") for mouse_x in MouseDragEnd1StatusDefault binding
- 9f6164a05cc0 ("Make send-keys without any arguments send the key it is
  bound to (if any). GitHub issue 2904.") for `C-d`, `Enter` bindings
2025-03-13 14:33:26 +01:00
e956b8955e zsh: Remove chpwd-readme hook
The hook was never added since the `functions` array was misspelled. I
fixed that and left it turned on the last few days and absolutely hate
it. No idea why I ever thought that this could be nice.
2025-03-13 14:32:02 +01:00
94dfe280f6 mutt: Ignore account related files 2025-03-11 11:55:13 +01:00
42b61423bb gpg: Decrease maximum cache TTL 2025-03-11 11:54:18 +01:00
6a87b14611 gpg: Move gpg.loopback back to .config and symlink
It was moved back in 020b39887e ("gpg,git: Move gpg.loopback into
PATH"), because git had problems with the "dynamic" path of HOME. I like
to have everything at one place though (And I searched for this script
in the wrong place, just now).
2025-03-11 11:45:48 +01:00
a73334c8f0 vim: Disable spell checking in .clang-format
Find's a bunch of false positives.

TODO: <COMMENT>
2025-03-11 11:29:11 +01:00
f04bf65272 vim:wiki: Update to current master 2025-03-11 11:08:07 +01:00
f15ad722f4 vim:coc: Update and switch to release branch
This makes the installation via `yarn` obsolete (it was also outdated).
2025-03-10 16:21:39 +01:00
d23ed6a5cb meta:install: Do nothing if login shell is zsh already 2025-03-10 16:21:39 +01:00
9e7dd882cc meta:install: Don't link .config/.*
This makes problems since I added it and I don't even have files with
paths like these.
2025-03-10 15:48:31 +01:00
da27170b7e vim:ftplug: Symlink cuda.vim to c.vim 2025-03-05 00:50:16 +01:00
4953434904 c.vim: Use setlocal 2025-03-05 00:50:12 +01:00
78e254251a hooks:pre-push: Don't use variables in format string
Link: https://www.shellcheck.net/wiki/SC2059
2025-03-04 12:55:50 +01:00
78464fdfb0 hooks:pre-push: Allow WIP commits on WIP branches 2025-03-03 18:27:46 +01:00
459453dc5e fzf.vim: Set w:ignore_non_ascii_chars only once 2025-03-03 16:38:59 +01:00
103355478b fzf.vim: Set filetype to hybrid vim + fzf
This way the Unicode characters are not highlighted. This hopefully
has no weird side-effects.
2025-03-03 16:38:59 +01:00
c348624a00 fzf.vim: Ignore more non-ASCII characters 2025-03-03 16:38:59 +01:00
f1f304a8c5 clangd: Add config that removes {,machine-}options
Remove gcc's options and machine-options so that clang(d) does not
complain.
2025-03-03 15:43:31 +01:00
a7f023ba1d git:ignore: Add compile_commands.json and .cache/ 2025-03-03 15:43:31 +01:00
90b64a8603 zsh:keys: Remove duplicate cd-up definition
I forgot that this was already a thing before d961daf38 ("zsh:keys:
Change one dir up on `^U`") and missed that I only moved the function in
the file instead of creating it (the changes were lying around a bit).
2025-02-19 15:18:05 +01:00
d961daf384 zsh:keys: Change one dir up on ^U 2025-02-19 14:01:24 +01:00
a053efa93e zsh:keys: Mention AUTO_PUSHD for cd-{back,for}ward 2025-02-19 14:01:24 +01:00
d57ee922c9 zsh:funcs: Add find() wrapper analog to bfs()
Only difference is that it places a trailing slash behind (empty)
directory names to differentiate them better. bfs does this already.

TODO: Bring these together into one function that checks $0
2025-02-05 16:53:14 +01:00