Commit graph

714 commits

Author SHA1 Message Date
56ca8a3857 nvim: use dev version of text-case.nvim 2025-03-18 22:12:03 +01:00
1c94450012 nvim: fix deprecation: vim.loop -> vim.uv 2025-03-18 22:10:59 +01:00
6c7fe0688e nvim: update plugins 2025-03-18 19:09:34 +01:00
50117b8d09 nvim: tweak trailing whitespace counter in lualine 2025-03-18 17:54:59 +01:00
f23a73d02b nvim: use // for comments in C files 2025-03-17 20:03:02 +01:00
20e99cbeed nvim: lsp: disable header insert in clangd 2025-03-17 20:02:08 +01:00
734c012556 nvim: improvements to filetype detection 2025-03-05 10:17:28 +01:00
448513ad70 nvim: search all man section with Telescope 2025-03-05 09:19:59 +01:00
841d9bd600 git: remove newlines from ln alias 2025-03-05 09:19:10 +01:00
487c750831 nvim: add spellings 2025-02-14 09:26:04 +01:00
d8ed650761 zsh: enable option noclobber
Require `>|` to overwrite an existing file when redirecting output.
2025-02-14 09:26:04 +01:00
66b9cfd1f0 nvim: don't ensure any LSP servers are installed automatically 2024-08-23 20:26:44 +02:00
1066095ef3 nvim: add spellings 2024-08-23 20:25:30 +02:00
88ea5719c7 nvim: fix clipboard on WSL 2024-08-23 20:24:57 +02:00
801f0cc7b3 nvim: select diagnostic virtual text severity with custom telescope picker 2024-08-06 01:17:14 +02:00
fdf94be847 nvim: use tabstop = 2 for YAML files 2024-08-05 19:24:46 +02:00
6f6124e2a3 nvim: schedule setting 'clipboard' after UIEnter
Without scheduling, the startup time in WSL is slowed down by over
a second!
2024-08-04 23:23:07 +02:00
824089b6ba zsh: fix up/down arrows in git prompt
The previous arrows overlapped with some numbers, e.g. 7.
2024-08-02 01:07:46 +02:00
32a14e5b61 tmux: status line tweaks
- Add server PID to right side.
- Current window name is bold.
- Last window index shown in color.
- Active pane border is now blue.
2024-08-02 01:06:27 +02:00
86e2687bca tmux: add bindings to split window in full width/height 2024-08-01 23:21:37 +02:00
de115d0e92 tmux: fix rotation direction
This is more intuitive, given the position of the `i` and `o` keys on
the keyboard:

  - C-o: rotates clockwise
  - C-i: rotates counter-clockwise
2024-08-01 23:08:17 +02:00
e0b35d87d4 zsh: use a ZLE widget to save command line when opening nvim with ctrl-v 2024-08-01 23:03:46 +02:00
3ac248c53d nvim: disable spell check in quickfix windows 2024-08-01 23:03:03 +02:00
84673a04a5 nvim: move module: fschauen.window -> fschauen.util.window 2024-08-01 22:53:44 +02:00
f0011b9eb1 nvim: execute current buffer as lua script by :write and :luafile 2024-08-01 22:45:04 +02:00
62dacd2c04 nvim: add comments to undocumented functions 2024-08-01 22:44:38 +02:00
b776aa4260 zsh: make orange in git prompt a bit brighter 2024-07-29 20:34:28 +02:00
39ead8b9ee zsh: use array for colors in git prompt 2024-07-29 20:34:16 +02:00
4b779b8336 zsh: avoid global array of icons in prompt 2024-07-29 20:27:06 +02:00
eff5a3d0b1 zsh: avoid global array of colors in prompt 2024-07-29 19:46:35 +02:00
a28fa3a3f8 zsh: don't use abbreviation unnecessarily 2024-07-29 17:51:41 +02:00
bc602776af zsh: consistent function naming 2024-07-29 12:57:29 +02:00
a5ee1b137b zsh: remove unused option 2024-07-29 12:41:51 +02:00
0dac129b53 zsh: add feature flag for transient prompts
I am not 100% sure yet that I want to use transient prompts long term.
This makes it easy to turn them on/off and experiment for a while.
2024-07-29 12:40:57 +02:00
0d1ed7112e zsh: remove outdated TODO 2024-07-29 02:04:18 +02:00
197ba88d47 nvim: include - in 'iskeyword' for zsh
My zsh functions tend to be dash-case.
2024-07-29 01:55:24 +02:00
aa6cf52d63 zsh: add transient prompt 2024-07-29 01:54:52 +02:00
baa9b5a2e1 zsh: prefix my prompt-related functions with fs- 2024-07-29 01:06:50 +02:00
7464e383e3 zsh: add special ZLE widgets rather than replace them
Also took the opportunity to prefix all my functions with `fs-` to
differentiate from built-ins and avoid conflicts.
2024-07-29 00:40:33 +02:00
131d2097cc zsh: new error icon in prompt 2024-07-28 23:06:42 +02:00
1e0ac2b51b zsh: color prompt according to previous exit code 2024-07-28 23:04:20 +02:00
dbac417322 zsh: add icons to prompt 2024-07-28 22:52:19 +02:00
745b5b2fd5 zsh: use a custom command for fzf ZLE widgets
Notable differences to the default command shipped with fzf:

  - I want to see hidden files, but not directories (the default hides
    both).
  - I want to exclude some directories on my Mac home, which are too
    large and make the find command really slow. Plus, I never want to
    dig into those directories with this method anyway.
2024-07-28 18:45:21 +02:00
3949848924 zsh: visual tweaks to prompt 2024-07-27 22:43:06 +02:00
62dd4efc38 zsh: reduce the number of global variables used for colors in prompt 2024-07-27 22:41:51 +02:00
bb3f6a7b6f zsh: remove the need to render the prompt in a global array 2024-07-27 22:41:09 +02:00
3c8857b1f6 zsh: major refactor of .zshrc 2024-07-27 20:35:38 +02:00
92089a01ee zsh: ZLE improvements (yank, edit-command-line, clear-status-line) 2024-07-27 10:38:27 +02:00
aeee2648ca zsh: make ctrl-q usable in the terminal 2024-07-27 10:37:19 +02:00
61cf8ad5fb tmux: use non-login shells 2024-07-27 03:52:35 +02:00