Commit graph

606 commits

Author SHA1 Message Date
0aaa310c4d vim: show uncolored icon in inactive buffers 2022-02-01 21:12:43 +01:00
bb5fe60f53 vim: better visual queue for paste mode 2022-02-01 20:57:55 +01:00
bef5e01951 vim: convert lua files to tabstop = 2 2022-02-01 20:53:19 +01:00
f8181683e9 vim: add lua ftplugin (tabstop = 2) 2022-02-01 20:44:43 +01:00
45eadf6291 vim: better status line (lualine) 2022-02-01 20:38:51 +01:00
6e2995c930 vim: toggle paste with F20
I have F20 mapped to the P key in the function layer on my Moonlander
keyboard.
2022-02-01 18:48:55 +01:00
400c9041fd zsh: factor out completion config to a separate file 2022-02-01 18:36:13 +01:00
b56c174f0f zsh: fix ev alias to edit nvim's init.lua 2022-02-01 18:18:06 +01:00
7c3f01a88e git: override user.email in dotfiles repository 2022-02-01 18:04:16 +01:00
8a8efe5f62 git: minor refactor
Just move colors down, but keep the includes last so the local
configurations can override the ones in `~/.config/git/config`.
2022-02-01 17:55:53 +01:00
6d4632d02a vim: replace lightline with lualine 2022-01-31 00:39:43 +01:00
34a4debbce vim: add vim-fugitive 2022-01-26 00:08:29 +01:00
8c530d5d2d vim: add keymap to edit $MYVIMRC 2022-01-25 23:59:13 +01:00
0828088421 vim: avoid toggling the search highlight option
I usually want to clear the highlights after doing whatever the reason
for the search was, but having to re-enable it all the time was
annoying. So, using `:nohlsearch` fixes that, as this command does
exactly what I actually wanted all along.
2022-01-25 23:12:55 +01:00
716709a783 bin: colortest now uses multiple modes to set colors 2022-01-25 00:52:17 +01:00
f779e5c4b6 vim: enable true color inside tmux 2022-01-25 00:51:01 +01:00
ae056c50b3 vim: organize plugins by theme 2022-01-25 00:44:34 +01:00
4cbfb53fe1 vim: use local ref to vim.g for efficiency 2022-01-25 00:44:24 +01:00
1acd99e2fa vim: nicer setting of options 2022-01-24 22:01:02 +01:00
35fbbc1d07 tmux: make status styling more readable 2022-01-24 11:29:27 +01:00
b8a21201cc tmux: center window titles 2022-01-24 11:15:55 +01:00
4d52a8204b vim: make gf work in init.lua 2022-01-23 20:12:58 +01:00
50f2d9d8c8 jupyter: fix configuration directory 2021-11-22 09:20:49 +01:00
2630868158 install: don't export script variables
These variables are only used be the script itself and don't need to be
exposed via the environment to any subcommands or subshells.
2021-11-22 09:13:02 +01:00
8d6ccad8f7 install: don't source .zshenv (no longer needed) 2021-11-22 09:12:14 +01:00
ab7d7241d4 install: refactor deploy() to be more readable 2021-11-22 09:11:31 +01:00
25a0fd2437 install: create relative symlinks to dotfiles 2021-11-22 08:58:42 +01:00
7b8116185c install: fix read for /bin/dash
/bin/dash does not implement the -d option for read. Using newlines as
separator for the files within a package is fine, as I am quite sure
there is no risk of having a newline character as part of the name in
any of my dotfiles.
2021-11-22 08:51:27 +01:00
d3dd28cc1f mintty: fix config file name 2021-11-19 08:03:17 +01:00
fffb78e27e Reorganize packages and simplify bootstrap 2021-11-18 00:21:57 +01:00
8100eb287d Remove bash 2021-11-17 21:56:37 +01:00
e1753e4f55 vim: replace vim-plug with packer.nvim 2021-11-16 17:18:56 +01:00
b31dcac34e vim: use API for setting keymaps 2021-11-11 15:27:58 +01:00
cc343b91c4 vim: disable unused builtin plugins 2021-11-11 10:05:29 +01:00
e8d8eed462 vim: remove old VimL files 2021-11-11 10:04:30 +01:00
aaf0527c4d vim: quick and dirty move keymaps to lua (with vim.cmd) 2021-11-11 10:02:59 +01:00
d9ae564153 vim: port autocmd to lua using wrapper function
Wrapper is needed until this PR is merged into neovim:

    https://github.com/neovim/neovim/pull/14661
2021-11-11 09:43:17 +01:00
e3c0dac924 vim: move vim-plug invocation to a lua file 2021-11-11 09:20:27 +01:00
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