Commit graph

518 commits

Author SHA1 Message Date
6946addc61 vim: port options to lua 2021-11-11 09:18:19 +01:00
4ad4ee81f8 vim: split up init to ease porting 2021-11-11 09:06:52 +01:00
4aaf6ebb36 vim: init.vim -> init.lua
For sanity, let's start small. Just keep the old one around for now and
source it from init.lua.
2021-11-11 08:36:34 +01:00
c018c96859 vim: fix formatlistpat
The previous format for some reason was causing problems when wrapping
comments in files with ft=sh. This new pattern seems to fix the issue
while keeping the old functionality.
2021-11-08 14:51:54 +01:00
5805ab5e5f vim: better listchars and highlights 2021-11-08 12:27:21 +01:00
f5dd2bd54b vim: improve formatoptions 2021-11-08 12:26:58 +01:00
231bce970a vim: disable bells and window auto-resize 2021-11-08 12:25:55 +01:00
9284758f58 zsh: move vi-mode settings to correct file 2021-11-03 08:48:24 +01:00
42d84a2e12 zsh: prevent tput errors when $TERM is not set
When running a command via SSH without allocating a pseudo terminal,
for example, $TERM is not set, causing `tput` to freak out about not
knowing the terminal type.

So, we suppress the customization of man pages when $TERM is not set, in
which case we wouldn't have needed it anyway, as we don't even have a
terminal to type `man` :).
2021-11-03 07:44:15 +00:00
e3c0bd323b vim: always use dark background
The reason for this is that in some servers the automatic detection (see
:help background) is guessing it wrong and using a light background,
consequently burning my eyeballs every time I open vim.

Hard coding the dark background seems fine for now, as I seem to never
really have a need for the light version. If the needs arises in the
future, then I'll have to come up with a better solution, but KISS for
now.
2021-10-27 10:13:41 +02:00
7d3659e2f3 vim: remove local configs
I actually don't have a use case for this at the moment and removing it
avoids running arbitrary vimscript unintentionally. I can always add it
back later if a real world use case arises...
2021-10-27 10:11:32 +02:00
2deb497b0e zsh: use case-insensitive completions 2021-09-02 15:02:24 +02:00
492c5ccfa7 vim: status line tweaks 2021-08-30 11:43:01 +02:00
648b339ae1 vim: better line number mappings 2021-08-30 11:33:12 +02:00
20c3128b11 vim: add mapping to lisr buffers and switch 2021-08-30 11:27:12 +02:00
9cba97d32b zsh: disable python virtual env default prompt 2021-08-19 18:13:42 +02:00
e27b8b0de3 bash: bake in solarized definitions 2021-08-16 16:21:00 +02:00
bd9ac4ee66 mintty: use theme file for colorscheme 2021-08-16 15:16:32 +02:00
5b6ac63a38 themegen: use correct default content colors 2021-08-16 15:16:10 +02:00
5004d82c2d git: user more subtle colors for log 2021-08-16 13:54:19 +02:00
58f3e5621e vim: use relative line numbers on startup 2021-08-16 13:21:43 +02:00
18f36d9061 vim: use unnamedplus register to sync with clipboard 2021-08-16 13:05:35 +02:00
1f5cfe8de7 vim: <leader>h toggles search highlight 2021-08-16 12:43:33 +02:00
92b23adb98 zsh: fix cursor shapes in vi-mode 2021-08-16 12:26:48 +02:00
b4c5c87c9a aliases: edit nvim, tmux, and zsh configs 2021-08-16 11:29:15 +02:00
e611189a39 aliases: formatting 2021-08-16 11:26:17 +02:00
63828b6118 install: make install script self contained 2021-08-16 11:15:35 +02:00
d20e3d2403 install: simplifying refactor 2021-08-16 10:40:07 +02:00
257f62d3df zsh: roll my own prompt
Spaceship was cool but I didn't care for all the bold fonts and it was
quite slow under WSL. So I made my own lightning fast prompt just the
way I want, drawing inspiration and ideas from:

* https://github.com/spaceship-prompt/spaceship-prompt
* https://github.com/laggardkernel/spacezsh-prompt
* https://github.com/sindresorhus/pure
* https://github.com/therealklanni/purity
* https://github.com/magicmonty/bash-git-prompt
2021-08-13 22:07:09 +02:00
da73fdfd20 alacritty: use zsh 2021-08-11 02:52:50 +02:00
7a01021042 zsh: add support for iTerm when changing cursor shape 2021-08-11 02:44:22 +02:00
04e132288c zsh: use spaceship prompt 2021-08-11 02:37:06 +02:00
eed4bdb30e install: fix error on macOS 2021-08-11 02:35:33 +02:00
c2ab6f29d5 zsh: add very basic prompt 2021-08-10 18:43:28 +02:00
b30948b552 Configuration system overhaul 2021-08-10 18:14:41 +02:00
1622e4abde Organize config files by program 2021-08-10 13:06:48 +02:00
dd1e216757 zsh: disable menuselect key bindings for now 2021-08-10 11:38:01 +02:00
1412a7a9b9 zsh: fix key binding to clear screen 2021-08-10 09:35:41 +02:00
8d4497dab2 zsh: add bindings for history search 2021-08-09 19:43:11 +02:00
8ea77e45ba zsh: restore some useful emacs mode bindings 2021-08-09 19:29:41 +02:00
483163dbbc zsh: use vi mode with cursor shape matching mode 2021-08-09 19:21:03 +02:00
590c5f4f8b profile: remove unneeded environment variable 2021-08-09 18:56:23 +02:00
b8807ca1de zsh: save history in cache directory 2021-08-09 18:48:24 +02:00
e97ba8c079 profile: fix man colors
The end sequence was undefined and messing up everything. I took the
opportunity, while fixing it, to tweak a bit the colors themselves and a
definition for blinking text matching bold text.
2021-08-09 18:36:31 +02:00
293ba908c3 zsh: fix sourcing of extra files 2021-08-09 17:41:12 +02:00
0331f815a3 profile: fix check for manpath (1)
The [ got introduced in the refactoring and caused the setting of
MANPATH to never happen.
2021-08-09 13:58:32 +02:00
a1614ab1ce profile: factor out color definitions again
With the color definitions being in profile, non-login shells don't get
the definitions. So out they go back to their own file.
2021-08-09 12:44:25 +02:00
ad9b5e0a77 bootstrap: allow chained symlinks 2021-08-09 11:27:09 +02:00
5f22148d5a bootstrap: minor refactor 2021-08-09 00:40:51 +02:00
380b4556ff bootstrap: remove .sh ending where not needed 2021-08-09 00:38:07 +02:00