Commit graph

728 commits

Author SHA1 Message Date
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
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
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
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
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
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
7beec2e197 tmux: enable repetition for navigation bindings 2022-10-14 15:20:57 +02:00
269a54e865 vim: fix telescope mapping
It turns out that `<c-i>` collides with `<Tab>`.
2022-10-14 10:31:45 +02:00
045b0cfd91 vim; better auto-complete options 2022-10-14 10:20:11 +02:00
77b7b4f3b7 vim: improve nvim-tree behavior and add mappings 2022-10-14 09:47:19 +02:00
ef0a5effab vim: refactor telescope configuration 2022-10-13 16:12:34 +02:00
e49fa55b22 vim: use a proper notification if file_browser is not installed 2022-10-13 15:49:28 +02:00
59984e13dd vim: update spellings 2022-10-13 15:44:09 +02:00
856d8876e4 vim: improvements to telescope mappings 2022-10-13 14:42:24 +02:00
507912ab3f vim: prevent crash on init if telescope file_browser is not installed 2022-10-13 12:57:55 +02:00
facde2d550 vim: add telescope file browser 2022-10-12 23:05:11 +02:00
6cf3c04ae4 vim: add 'colorizer' plugin 2022-10-12 22:41:17 +02:00
6f4dcf607a vim: open fugitive in new tab 2022-10-12 22:30:33 +02:00
12c0d33b22 vim: add a couple of useful mappings 2022-10-12 22:28:00 +02:00
137028ae6e vim: remove dangling key mapping 2022-10-12 22:12:56 +02:00
3ad4f78e65 vim: simplify keymap setting 2022-10-12 22:11:42 +02:00