Commit graph

790 commits

Author SHA1 Message Date
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
3b21a2b900 tmux: visual tweak to the status line
iTerm2 is still acting up under some circumstances and the special
symbols that I was using to delimit the current window name get messed
up. This is also an opportunity to make the configuration a bit more
visually minimal :).
2022-11-15 09:42:08 +01:00
f3a493d6f6 vim: more tweaks to lualine
1. Show the filename in italics if file is modified.
2. Put the plus sign on the right of the filename and make it stand out.
3. The symbols I was using were not rendering well on macOS and don't
   really have the time to debug this now. Just use simpler line.
2022-10-25 20:55:14 +02:00
8242d356bc git: highlight dates and author in logs 2022-10-25 20:18:24 +02:00
b0695cb851 install: update default git committer e-mail 2022-10-24 19:25:47 +02:00
ded2f56188 git: update committer e-mail 2022-10-24 17:52:28 +02:00
499824d955 git: minor comment reformat 2022-10-24 13:41:27 +02:00
67feef1b43 git: push to upstream branch by default
I have been setting this option locally for all repositories I work on,
so I'll use this as the default behavior from now on.
2022-10-24 10:22:52 +02:00
f724115bc0 git: default to dates in human format for git-log 2022-10-24 10:20:19 +02:00
b870ca983d tmux: revert navigation bindings
Even after allowing for some time to adjust my muscle memory, it turns
out that I prefer the previous way of navigating.

This reverts commits:

    - 1c51425d370cd25c1c189a054809557759028d19
    - 7ef518901890c8979309fc23cf6b3293ef498dbb
2022-10-24 10:14:43 +02:00
37f14fc23a zsh: make `~/.zshenv' as small as possible
`~/.zshenv' is executed for _every_ instance of `zsh', so we should
limit the work done there to the absolute minimum. For me, that
currently means only making sure `$ZDOTDIR' is set so that login (via
`.zprofile') and interactive (via `.zshrc') shells can be configured
appropriately.
2022-10-21 20:16:10 +02:00
39f51775fe zsh: refactor configuration with focus on interactive shells
Moved most of the work to `.zshrc' rather than `.zhenv', because most of
my configuration is only relevant to my interactive use of the shell.
2022-10-21 19:59:16 +02:00
07d45f7a8b vim: solve telescope keymap conflict 2022-10-20 12:19:56 +02:00
cb498ade4b vim: lualine: add file status, remove diff 2022-10-20 12:19:18 +02:00
d990886087 vim: small tweak to status line 2022-10-14 15:54:19 +02:00
0dd6508519 tmux: fancier status line 2022-10-14 15:53:30 +02:00