Commit Graph

1622 Commits

Author SHA1 Message Date
e6460f9b42 mutt: Omit seconds in attribution time
Also rewrite RFC comment a bit to reflect better that the date/time is
not compliant (it hasn't been before either, but now even more).
2025-01-22 15:18:07 +01:00
3641615cad mutt: Include 'at' before time in attribution 2025-01-22 15:10:15 +01:00
1783ee681a glog: More sticky header improvements 2025-01-22 14:56:08 +01:00
c093a4ea37 tmux: Select last window with prefix+[0-9] too
This is already the case with M-[0-9].

prefix+0 was also still selecting window 0.
2025-01-22 14:54:29 +01:00
fde6aa06a4 vim:quick-scope: Only highlight on f,F,t,T 2025-01-21 18:32:17 +01:00
c47281e7b8 vim:plugs: Add quick-scope
> Lightning fast left-right movement in Vim.
>
> An always-on highlight for a unique character in every word on a line
> to help you use `f`, `F` and family.

Link: https://github.com/unblevable/quick-scope
2025-01-21 18:27:47 +01:00
f09d167673 fzf: Update 0.57.0 -> 0.58.0 and fzf.vim 2025-01-21 18:24:36 +01:00
e4cab6d581 git:https-and-ssh: Print new remotes when done 2025-01-21 18:22:19 +01:00
c6cdc6ec78 git:https-and-ssh: Swap the if blocks
My brain assumes that the first block handles the case of the url being
an https one if I read http in the condition. Swap them and negate the
condition for better readability.

This might be a symptom of this condition being to complex, but well -
it's shell scripting ¯\_(ツ)_/¯
2025-01-21 18:08:18 +01:00
149643a31f git:https-and-ssh: Fix ssh -> https
Apparently there was an issue with the conversion from ssh to https
which I never noticed? The script would replace the colon of the
`https://` and not the one after the domain:

    https///github.com:[...]

I rewrote both cases in a simpler way while fixing the issue.
2025-01-21 18:01:51 +01:00
83a1b0bc18 mutt: Send copies to myself for better threads 2025-01-20 17:54:00 +01:00
6dfad86d77 mutt: Improve reply and page-movement bindings 2025-01-20 17:51:29 +01:00
a7795cfd27 mutt: Go back to four digit years in index
My brain becomes confused with three blocks of two digit numbers.
2025-01-20 17:48:57 +01:00
3b9d0fdf4f mutt: Add basic mutt-wizard based config
This change was laying in a big WIP commit for ages now, waiting for me
to split and commit it nicely. The author date is thus quite far back in
the past.
2025-01-20 17:45:20 +01:00
411f9d8c62 i3: Bind r in resize mode for specific terminal width 2025-01-20 16:22:16 +01:00
a9acba0cde i3: Add binding to switch back to previous workspace 2025-01-20 16:22:16 +01:00
6c022fff67 i3: More robust workspace json parsing
Use the name instead of the number as that could be -1.
2025-01-20 16:22:15 +01:00
aa4af50cde glog: s/full/patch in header to understand the bindings 2025-01-08 11:21:07 +01:00
346b834712 fzf: Update 0.54.1 -> 0.57.0
The preview window is now resizable, yay!
2024-12-17 01:59:42 +01:00
522f2bfe95 dircolors: Add .aiff to audio files 2024-12-07 15:25:23 +01:00
59f12488b1 vim: Make trailing space highlighting more subtle
I sometimes work in files where I cannot remove trailing whitespaces (at
least not permanently). In these cases the background highlighting of
them is quite strong and can be a bit annoying. To make this more
pleasing, use the foreground to highlight trailing characters, as long
as tabs and trailing spaces are displayed as non-space characters.

For this I also set `trail` in `&listchars`, and while at it, merged the
two lines setting `&listchars` and cleaned up some comments.
2024-12-04 09:02:09 +01:00
cbacf728e6 vim:keys: Add e flag to [[ and ]] mappings
Let the search place the cursor on the curly brace instead of the start
of the line.
2024-11-20 12:55:19 +01:00
611e83b1c8 vim:keys: Streamline [[ and ]] mappings
Use the `s` flag, so that the position before the last jump is updated
automatically.

Use `<Cmd>` so that both normal and visual mode mappings become
identical and can be merged. This has the added benefit that it now also
maps in operator-pending mode.

Complete the TODOs.
2024-11-20 12:55:18 +01:00
b03bd05abf gitmodules: Fix http url 2024-11-20 11:07:19 +01:00
f5ec488b08 vim:keys: Better >> & << for tab-indent-space-align 2024-11-16 02:27:22 +01:00
d831a4140e vim:setts: Set cindent & preserveindent
For slightly better indentation.
2024-11-16 02:22:40 +01:00
9271350aab zsh:keys: Fix non-existing mapping of vi-kill-word
vi-kill-word does not exist. This change was lying around uncommitted
for ages now.

Fixes: 658797bda2 ("zsh:keys: Use `vi-` variants of navigation binds")
2024-11-06 13:56:27 +01:00
5af20402b9 vim:looks: Formatting 2024-11-06 13:53:25 +01:00
066f30a39f vim:au: Pass Funcref to timer_start
Apparently on older neovim versions, passing the name of script-local
functions to `timer_start` is not enough (in v0.10.2 this works, but
v0.7.2 not). Fix this by wrapping it in `function(...)` to pass a
Funcref.

See :h timer_start:

> timer_start({time}, {callback} [, {options}])
> [...]
> {callback} is the function to call.  It can be the name of a function
> or a |Funcref|.  [...]
2024-11-06 13:44:03 +01:00
1d86941a07 tmux: Remove unneeded semicolon 2024-11-06 13:33:54 +01:00
ca1483052b git: Set filetype in modeline
Github does not highlight syntax otherwise.
2024-11-06 13:29:48 +01:00
e82224684b zsh: Re-enable global rc files
I am not sure why I ever disabled them, but this goes way back to the
very first commit. Since some packages rely on /etc/profile.d/ to add
their location to PATH I want /etc/zsh/zprofile to source these. On my
current Manjaro machine it contains just this line:

    emulate sh -c 'source /etc/profile'
2024-11-06 02:51:31 +01:00
edb9a2920c dircolors: Set filetype in modeline 2024-11-06 02:48:32 +01:00
2437044ed6 vim:looks: Add function to easily see syntax stack 2024-11-06 02:44:28 +01:00
c5463595c0 vim: Rename aesthetics.vim to looks.vim 2024-11-06 02:44:03 +01:00
f404c150b1 vim:setts: Decrease 'scrolloff' (15 -> 5)
It's annoying sometimes.
2024-11-06 02:39:46 +01:00
a3fa9a043f vim:coc: Fix copy-paste error 2024-11-06 02:38:42 +01:00
965786d19a vim:ftplug:wiki: Fix completion with Tab 2024-11-06 02:37:06 +01:00
22b774b839 zsh:nameddirs: Unset the right variable 2024-11-05 22:18:09 +01:00
724430979c zsh:nameddirs: Only set ws/ss when they exist 2024-11-05 22:17:40 +01:00
7bd42b2e2b zprofile: Add CUDA related paths
Normally added by /etc/profile.d/cuda.sh and sourced by /etc/prodile.

TODO: Should I source /etc/profile.d/* from one of /etc/zsh/zprofile and
      $ZDOTDIR/.zprofile?
2024-11-05 22:14:52 +01:00
003ac56cac gdb: Initial revision 2024-11-04 23:17:58 +01:00
dc6bf773ea bin: Add fitX
Sometimes after an update my key repeat rate and touchpad settings are
messed up. This script fixes these quickly.
2024-11-04 23:14:52 +01:00
d3f877f79a xinitrc: Fix wallpaper path
My pictures folder was moved into `~/media/` in 1e3aa5108e
("xdg-user-dirs: Move media folders into `~/media/`").
2024-11-04 23:11:31 +01:00
e95bc71b0b vim:au: Improve clearing of old selection highlight
Because of the deferring of the highlight, the old selection highlight
was deleted only when a new one was created. Introduce a second timer
that makes sure that the old highlight is cleared earlier.
2024-11-04 17:43:41 +01:00
2322f4ad67 vim:au: Work around additional call of _highlight_cword
Sometimes `_highlight_cword` is called without the existence of
w:cword_timer_id but with a w:cword_match_id. No idea why.

I thought that it might be a race condition, but does not seem like it.
(Also not sure if this could even run in parallel)

TODO: Investigate how _highlight_cword can be called without
      w:cword_timer_id
2024-11-04 17:25:27 +01:00
312ea225da vim:au: Fix flickering of selection highlights
Defer the clearing of the old highlight as well. This means that the old
highlight will remain a bit longer but prevents the highlight from
flickering because of the continuous `matchdelete`.
2024-11-04 17:17:20 +01:00
551fde8f2b vim:au: Fix empty line selection in linewise-visual
`highlight_selection()` is supposed to abort if the visual mode was
started on an empty line. This was done correctly for charwise-visual
but failed to do so in linewise-visual.
2024-11-04 16:54:51 +01:00
fc1e1bdd1e vim:ftplug:fugitiveblame: Disable cword highlighting 2024-11-04 13:22:33 +01:00
c1c3e5aa99 zathura: Tweak key mappings in presentation mode 2024-11-04 09:55:37 +01:00