Commit graph

418 commits

Author SHA1 Message Date
6d415e7d0e ansible: simplify common role 2020-12-22 12:58:54 +01:00
6e12627362 readline: add back C-a and C-e from emacs mode 2020-12-22 12:10:28 +01:00
d6b48bb620 readline: refactor for readability 2020-12-22 11:54:54 +01:00
c12dd1c785 bash: make vim syntax highlighting happy 2020-12-22 11:51:57 +01:00
ef5a647a9a ssh: use ~/.ssh/config.d/ for additional configs 2020-12-18 16:56:32 +01:00
aa5f8692d1 packages: update homebrew when installing packages 2020-12-18 16:48:51 +01:00
5d970da192 vim: replace wildmenu with list 2020-12-18 15:20:22 +01:00
3542f4a741 ansible: refactor tasks into a common role 2020-12-18 14:53:00 +01:00
5b30d96507 ansible: fix main playbook syntax for consistency 2020-12-17 20:34:01 +01:00
55249f2a76 ansible: fix vim role syntax for consistency 2020-12-17 20:33:56 +01:00
e2181333f5 ansible: fix tmux role syntax for consistency 2020-12-17 20:21:12 +01:00
d23b76dcf7 ansible: fix ssh role syntax for consistency 2020-12-17 20:18:34 +01:00
a1c3e067bd ansible: fix readline role syntax for consistency 2020-12-17 20:12:35 +01:00
198bf132aa ansible: fix python role syntax for consistency 2020-12-17 20:11:41 +01:00
640910dc03 ansible: fix mintty role syntax for consistency 2020-12-17 20:08:21 +01:00
5ec6a4df9d ansible: fix hushlogin role syntax for consistency 2020-12-17 20:06:58 +01:00
4a05ea02ec ansible: fix git role syntax for consistency 2020-12-17 20:04:32 +01:00
819b21a718 ansible: fix dircolors role syntax for consistency 2020-12-17 19:53:16 +01:00
8ea1cd8bc5 ansible: fix bin role syntax for consistency 2020-12-17 19:52:17 +01:00
3d626c4ee0 ansible: fix bash role syntax for consistency 2020-12-17 19:36:01 +01:00
ce68613438 ansible: pass list to package managers instead of looping
Passing the list and letting the package manager deal with it as a whole
is much faster than looping, which is equivalent to invoking the package
manager multiple times, each time with a single package.
2020-12-17 19:15:27 +01:00
38fb93fd16 revert c868785: change tmux prefix back to C-space
I was only having issues with C-space on Alacritty. However, Alacritty
was giving more pain with other key combinations as well so I decided to
move to wsltty for now.
2020-12-17 17:35:53 +01:00
938a2c247f bash: make color handling faster and cleaner 2020-12-17 17:05:13 +01:00
4ec99e386f tmux: change prefix to C-a (from C-space)
Some terminal emulators eat up the C-space sequence. C-a seems to be
quite safe, as many people use it.
2020-12-16 19:25:37 +01:00
655884c3f1 bash: fix OSC sequences
The function calls where somethimes too slow and the terminal timed out
before accepting the entire escape sequence. By constructing the whole
string before sending via printf this problem is avoided.

I originally noticed this issue when using Alacritty on WSL, where
apparently the communication via ConPTY can be a bit slow.
2020-12-16 18:21:51 +01:00
42d7fdf143 vim: fix call to bufnr()
bufnr() requires an argument -> in this case the name of the current
file, which is the meaning of "%".
2020-12-16 17:47:52 +01:00
cb94595707 vim: highlight entire line of cursor
Turns out that only having the line number highlighted is annoying.
2020-12-16 17:46:43 +01:00
ec093fe272 git: add warning to not edit config.host 2020-12-16 00:45:08 +01:00
81c785f04b bash: source all files under ~/.local/etc/bash 2020-12-16 00:33:15 +01:00
eb2662d1dc vim: source all files under ~/.local/etc/vim 2020-12-16 00:18:37 +01:00
4dcc5ab8e5 vim: move .cache/vim/viminfo -> .local/share/vim/viminfo 2020-12-15 23:53:31 +01:00
195ec4f95e bash: move .cache/bash/history -> .local/share/bash/history 2020-12-15 23:49:49 +01:00
f2ed315579 python: move .cache/python/history -> .local/share/python/history 2020-12-15 23:46:14 +01:00
c361c78dd6 bash: move .cache/less/history -> .local/share/less/history 2020-12-15 23:41:05 +01:00
036f2ac143 vim: use proper syntax highlighting for bash profile 2020-12-15 23:39:58 +01:00
85b4d48980 vim: don't use powerline symbols
These symbols need custom fonts to be installed, which is a pain to
manage.
2020-12-15 23:39:03 +01:00
54a15259a1 packages: disable casks on homebrew
This is not running properly now. Will investigate at some point in the
future, but may as well just disable entirely - we'll see...
2020-12-15 23:35:25 +01:00
917dc41a79 vim: remove superfluous search mappings
Now that I am using 'ignorecase' and 'smartcase' there is no need for
this anymore.
2020-12-15 19:52:42 +01:00
978021fb92 vim: fix airline 2020-12-15 19:50:51 +01:00
b895988ce3 vim: better command line completion 2020-12-15 17:47:20 +01:00
0efe9f8507 vim: make shiftwidth depend on tabstop 2020-12-15 17:44:33 +01:00
6d568d963e vim: better horizontal & vertical scrolling 2020-12-15 17:43:46 +01:00
44488c44c2 vim: use case insensitive search (except when pattern has uppercase chars) 2020-12-15 17:40:29 +01:00
a63f71d5e4 vim: highlight only the line number of the cursor line 2020-12-15 17:37:37 +01:00
7bb1adc397 vim: make colorcolumn depend on textwidth 2020-12-15 17:36:31 +01:00
857db5e1db vim: fix foldmethod for vimrc 2020-12-15 17:35:32 +01:00
36582437f4 vim: minor vimrc formatting change 2020-12-15 17:21:48 +01:00
3a168c72a0 vim: document used options 2020-12-15 17:14:19 +01:00
9df34c8219 readline: add description of options 2020-12-14 00:01:03 +01:00
2dbcdc9b24 bash: add default bash-completion path for homebrew 2020-12-13 13:46:33 +01:00