1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-16 08:41:31 +01:00
Commit Graph

361 Commits

Author SHA1 Message Date
bretello
b280360a16
zsh: do not show parentheses around git prompt 2021-01-09 23:53:54 +01:00
bretello
651bfe01f7
vim: add Goyo shortcuts
- `<leader>za` opens Goyo
- `<leader>zz` toggles Goyo
2021-01-09 23:46:33 +01:00
bretello
9e2e7e1ee0
vim: add Man and Cmd functions
- `:Man <cmd>` opens the man of `cmd` in a new buffer
- `:Cmd <cmd>` executes `cmd` and shows the output in a new scratch
  buffer
2021-01-09 23:44:49 +01:00
bretello
229a97856e
add bash-language-server archlinux package 2021-01-09 23:41:47 +01:00
bretello
6c90122583
git: add global gitignore file 2021-01-09 23:41:47 +01:00
bretello
6b97913926 vim: add <leader>I to toggle indent guides 2021-01-07 16:14:41 +01:00
bretello
a6997cc37c functions: replace transfer() with upload()
transfer.sh is no longer around, replace it with 0x0.st
2021-01-07 11:25:48 +01:00
bretello
95e74f1d32 vim: set tab config for vue files 2021-01-07 11:08:00 +01:00
bretello
b4c180b0e8 vim: set foldmethod to "indent" 2021-01-07 11:07:36 +01:00
bretello
3ee43774cc vim: fix nohighlight shortcut 2020-12-28 12:16:43 +01:00
bretello
63fdbc59ae
zsh: add grc oh-my-zsh plugin 2020-12-24 23:54:15 +01:00
bretello
8317b80841 vim: add vue plugin 2020-12-23 15:59:24 +01:00
bretello
8a6cda547b theme: fix on OS X
MacOS' sed syntax is different from GNU's. A workaround
is to use gsed (GNU sed) whenever it is available.
The multi-line prompt will be broken without gsed.
2020-12-10 11:07:27 +01:00
bretello
0e3e7cd155
vim: fix GitGutter{Next,Previous}Hunk mappings 2020-12-10 01:24:40 +01:00
bretello
bc4db32d68
vim: move twilight256.vim theme to vim dir 2020-12-09 22:25:35 +01:00
bretello
6bd0ce46ba
docs: misc formatting fixes 2020-12-09 22:25:35 +01:00
bretello
d066906af3
vim: add extra rule for iptables filetypes 2020-12-09 22:25:35 +01:00
bretello
daf0094409
vim: add persistent undo 2020-12-09 22:25:35 +01:00
bretello
2b6cac6c8d
vim: add iptables-restore plugin 2020-12-09 01:36:55 +01:00
bretello
bc8861451e
zsh: add /home/brethil/projects variable for projects folder 2020-12-09 01:11:29 +01:00
bretello
9430765116
vim: fix visual selection commands
- use <leader>gs to run fugitive's Git show on the selected text
 (must be a git ref)
- use <leader>k to run ack on the selected text
2020-12-09 00:59:20 +01:00
bretello
34fd5a8726
dev: update makefile with release target, update docs 2020-12-09 00:14:14 +01:00
bretello
4b3b12db5b
fix mkdir zsh cache
fixup 8a8d061
2020-12-08 22:53:09 +01:00
bretello
64ade8d864
theme: show hostname if in a ssh session 2020-12-08 22:53:09 +01:00
bretello
6485af4411
dev: improve makefile log readability 2020-12-08 22:46:36 +01:00
bretello
74dcf328aa
dev: add volumes to dockerfile 2020-12-08 22:46:36 +01:00
bretello
d6e1aac0f2
install: do not clone git repo for local development
use ansible with flag `-e local_development=false` to
skip cloning of git repo (useful with docker bind mounts
to existing repos)
2020-12-08 22:45:24 +01:00
bretello
0b68fec862
zsh: explain oh-my-zsh's ZSH variable 2020-12-08 15:20:42 +01:00
bretello
8f599cc5cc
vim/shortcuts: update GitGutter Next/Previous hunks mappings 2020-12-08 15:20:42 +01:00
bretello
12b8cd8360
aliases: add gs alias for git status 2020-12-08 15:20:42 +01:00
bretello
5fbaf3d535
update selfupdate mechanism
still based on oh-my-zsh's, bumped to version `452586e7`
2020-12-08 15:20:42 +01:00
bretello
8a8d061fe4
zsh: speed up load by a factor of 3 2020-12-08 15:20:42 +01:00
bretello
96d7882471
install: make git config setup idem-potent 2020-12-08 02:05:07 +01:00
bretello
762f3ef58c
install: use ansible
- ansible/playbooks/setup.yml can be used to install all dotfiles
- a test setup is included in the `dev` folder with arch and debian
  images
2020-12-08 00:36:08 +01:00
bretello
5dc09a62ea
zsh-theme: improve initial setup 2020-12-08 00:07:55 +01:00
bretello
1b4c259c97
vim: add ansible.yaml rules 2020-12-08 00:07:55 +01:00
bretello
9fe2ec17a6
vim: formatting in vimrc 2020-12-08 00:06:36 +01:00
bretello
c15dd149d4
vim: move ale definition to ale group 2020-12-08 00:06:36 +01:00
bretello
5bf9ace8fb
vim: replace lightline with airline 2020-12-08 00:06:36 +01:00
bretello
a24e5efa7b
vim: reload all configurations on write 2020-12-08 00:06:36 +01:00
bretello
c37017f80e
vim: add <leader>vv to re-select text after pasting 2020-12-08 00:06:36 +01:00
bretello
0b68731e97
vim: add vim-toml 2020-12-08 00:06:35 +01:00
bretello
f7c35abb61
documentation cleanup 2020-12-07 23:41:44 +01:00
bretello
985c09dda1
install: fix missing export 2020-12-07 23:41:44 +01:00
bretello
8adf22e128
update documentation 2020-12-07 23:41:44 +01:00
bretello
aaf687a225
vim: split config into multiple files 2020-12-07 23:41:44 +01:00
bretello
71ddd95a25
vim: add hadolint for Dockerfiles 2020-12-07 23:41:44 +01:00
bretello
da3b5628ad
cleanup documentation/install script 2020-12-07 23:41:44 +01:00
bretello
7f053fcb8e
vim: rewrite config
- abandon amix's vimrc (thanks for all the fish)
- use vim-plug (https://github.com/junegunn/vim-plug)
  to manage plugins
- move config from `my_configs.vim` to `vimrc`
- update install script accordingly
2020-12-07 23:41:44 +01:00
bretello
5f952f1e98
aliases: add dockerip to parse docker inspect's output 2020-12-07 00:43:34 +01:00