Commit graph

1105 commits

Author SHA1 Message Date
0691011f4d nvim: link highlight groups: WarningMsg -> Warning 2023-01-31 14:58:31 +01:00
3613f7d61f nvim: better error handling during packer bootstrap 2023-01-31 14:57:51 +01:00
0264b5b302 git: tweaks to log aliases 2023-01-31 13:36:34 +01:00
ad8dd02a4e git: add aliases for branches 2023-01-31 13:08:31 +01:00
12217bc70b nvim: visual tweaks to Telescope 2023-01-31 10:54:08 +01:00
f71510fccb nvim: color tweaks to Telescope 2023-01-31 10:54:08 +01:00
22836262a3 nvim: remove keymaps that I never use 2023-01-31 10:54:08 +01:00
88fe23f878 Revert "nvim: keymap to move to begin/end of line in command line mode"
This reverts commit eedb9b8e2e.

I hadn't noticed that <c-e> works by default already in command mode and
<c-b> moves the cursor to the beginning of the line. I'll use the
default key bindings.
2023-01-30 19:43:18 +01:00
eedb9b8e2e nvim: keymap to move to begin/end of line in command line mode 2023-01-30 18:47:36 +01:00
93770849ce tmux: add bindings to join-pane above and left 2023-01-30 18:36:26 +01:00
feed74234d tmux: config formatting change 2023-01-30 18:32:24 +01:00
754e846068 tmux: enable focus-events 2023-01-30 18:31:11 +01:00
2d22b82245 nvim: disable 'wrapscan' 2023-01-29 22:44:18 +01:00
55239a2977 nvim: keymap for better search results navigation 2023-01-29 20:43:07 +01:00
95021fe33b nvim: keymap to improve joining lines 2023-01-29 20:43:07 +01:00
4c51020bac nvim: improve Telescope man_pages fix for macOS and FreeBSD
This commit makes sure that the fix from 681dd28 is only applied when
running on macOS Ventura (13.0) and upwards (i.e. Darwin >= 22.0) or
FreeBSD.
2023-01-29 20:42:28 +01:00
4b1588f253 nvim: customize most Telescope pickers in the setup() function
This is just a refactor to make the code a bit nicer to read.
2023-01-29 15:15:31 +01:00
975dacae4b Ignore zsh completion cache 2023-01-29 15:14:50 +01:00
681dd280cb nvim: fix :Telescope man_pages in macOS Ventura
See: https://github.com/nvim-telescope/telescope.nvim/issues/2326#issuecomment-1407502328
2023-01-28 23:37:39 +01:00
82df3ed13e nvim: remove 'cursor' layout from cycle in Telescope 2023-01-28 23:37:13 +01:00
cf5d50e324 nvim: remove conflicting keymap <c-h> in Telescope file_browser
This key combination is used for toggling hidden files by default, which
is more useful than what I was doing.
2023-01-28 23:35:42 +01:00
051f7f876a zsh: fix typo (missing =) in lt alias 2023-01-28 18:56:54 +01:00
406b092b03 zsh: use long option names in aliases where possible
Makes sense to use long option names when I am not doing the typing, as
they are more descriptive than most single letters.
2023-01-26 22:17:47 +01:00
2a16007dfa zsh: remove listing of git status with exa
The git status information makes `exa` choke a bit in very large
repositories, which I have been navigating a lot lately.
2023-01-26 22:08:54 +01:00
3bd5c8251b zsh: add tlt alias for limiting tree level 2023-01-25 16:20:40 +01:00
a188a8a3de Update README 2023-01-23 14:52:58 +00:00
85c39ffbd5 Make it easier to unlock the repository 2023-01-23 14:37:41 +00:00
6ae0680ec1 ssh: remove gitlab.schauenburg.me 2023-01-22 12:53:10 +01:00
af59acd6d6 ssh: add gitlab.schauenburg.me 2023-01-22 03:50:50 +01:00
ebd75c2f1e ssh: disable IdentitiesOnly 2023-01-22 02:46:36 +00:00
666fdf9134 zsh: use Homebrew's make if available 2023-01-22 00:36:54 +01:00
fd9708e5ea zsh: alias vi to nvim 2023-01-22 00:36:36 +01:00
ea41796aef ssh: make config a bit more strict 2023-01-16 15:44:49 +01:00
e31d091d6b bin: add noautomount -> prevent automount on macOS
This script creates fstab(5) entries to prevent volumes to be
automatically mounted on macOS.
2022-12-31 14:24:39 +01:00
d9cb38c8b2 vim: move all configuration into the user module 2022-12-18 20:31:00 +01:00
ce81d3553a vim: keymap to switch from terminal mode to normal mode 2022-12-16 20:26:57 +01:00
c728f7b085 vim: tweak how lualine displays the mode 2022-12-16 20:26:38 +01:00
576ded4646 vim: change keymap to start treesitter incremental selection
The previous '<CR>' mapping was causing too many false starts of the
incremental selection, especially because of the way I have my keyboard
configured, where the Ctrl and Enter keys are "shared".
2022-12-16 08:51:23 +01:00
460727c6c8 vim: learn my name's spelling 2022-12-15 18:25:26 +01:00
b7e196496f ssh: make it easy to disable individual local configurations 2022-12-14 12:23:26 +01:00
c3fd8e6f9e vim: enable filetype detection for local SSH configurations 2022-12-14 12:16:58 +01:00
b52c289738 vim: fix packer bootstrapping 2022-12-13 12:57:02 +01:00
3e61fb902a vim: initialize colorizer only if termguicolors is set
This additional check is needed because when nvim is started as `nvim -u
NORC`, my configuration that sets `termguicolors` is not called but
colorizer IS installed and requires `termguicolors` to be set. If it is
not set, the setup() function prints an error.
2022-12-13 12:54:26 +01:00
b824717c68 vim: prevent errors on startup when plugins are not installed 2022-12-13 12:53:37 +01:00
5dc25d5687 Update README 2022-12-12 21:33:49 +01:00
690e12059d Update README 2022-12-12 21:14:16 +01:00
dad81aecb5 vim: move solarized.nvim plugin into dotfiles repository 2022-12-12 21:04:16 +01:00
101f42934f tmux: simplify status line 2022-12-12 20:48:00 +01:00
f899112ec0 zsh: add GNU tar to PATH if available on macOS 2022-11-19 12:08:16 +01:00
fb1b6a3bda zsh: fix changing cursor shape in tmux + iTerm2
Most terminals use the VT520 DECSCUSR escape sequences for setting the
cursor shape, documented at:

    https://invisible-island.net/xterm/ctlseqs/ctlseqs.txt

iTerm2, however, uses a set of proprietary escape codes, documented at:

    https://iterm2.com/documentation-escape-codes.html

The issue I had was that tmux recognizes the VT520 DECSCUSR codes and
knows how to translate them itself to iTerm2. But tmux does not accept
the iTerm2 codes as input, so deciding to use these proprietary codes
only based on the presence of `$ITERM_SESSION_ID` did not work when
running tmux. The solution is to revert to the VT520 codes when running
inside of tmux (even inside iTerm2) and let it translate to iTerm2.
2022-11-18 20:34:32 +01:00