1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-22 23:31:32 +01:00
Commit Graph

451 Commits

Author SHA1 Message Date
bretello
4b73ed209f
zsh: theme: do not increase shell level when using tmux 2023-07-27 12:01:26 +02:00
bretello
fc0410eff3
tmux: add bind C customize-mode for quick customize-mode access 2023-07-26 00:06:27 +02:00
bretello
cea2eed10c
tmux: use set -ga mouse 2023-07-25 10:45:44 +02:00
bretello
9ccf8699ec
zsh: functions: fix upload() 2023-07-10 09:12:50 +02:00
bretello
d72886b6c1
zsh: functions: add watch_file function
this can be used to watch a file for changes and execute the
given action on changes.
2023-07-10 09:12:30 +02:00
bretello
e08ee08768
zsh: functions: avoid using aliases when calling rm/mv 2023-07-08 10:18:04 +02:00
bretello
f30468da11
zsh: remove duplicate grc omz plugin 2023-06-23 20:10:42 +02:00
bretello
05699e751b
tmux: enable mouse by default 2023-06-22 11:27:27 +02:00
bretello
f6a405657c
tmux: disable monitor-activity by default 2023-06-22 11:26:38 +02:00
bretello
e9ad8a563d
tmux: reduce history size to 1e4 2023-06-22 11:26:26 +02:00
bretello
5563b3434f
vim: fix aupat for iptables files 2023-06-22 11:25:33 +02:00
bretello
ca30bd2d47
vim: tagbar: fix mouse-click issue
related: 3b6cf2b
2023-01-27 12:34:55 +01:00
bretello
a8c89d32c9
zsh: functions: add mangrep 2023-01-23 20:21:57 +01:00
bretello
3b6cf2b92f
vim: tagbar: workaround for mouse-click issue
the world ends at column 223.

https://stackoverflow.com/questions/7000960/in-vim-why-doesnt-my-mouse-work-past-the-220th-column

Note that (at least on alacritty) the ttymouse=sgr workaround does not
work:

```vim
if has('mouse_sgr') " fixes unclickable panes after a specific column (~220?)
    set ttymouse=sgr
else
    set ttymouse=xterm2
end
```
2023-01-20 14:31:08 +01:00
bretello
8e3c36d200
vim: tagbar/airline: properly show tag in lower right corner 2023-01-20 14:30:16 +01:00
bretello
2066baee05
vim: linting cleanup 2023-01-19 17:33:44 +01:00
bretello
3f89412fcc
vim: ALE: allow right click for refactors/code actions 2023-01-19 15:07:17 +01:00
bretello
8d561fea1f
vim: add <leader>D :AleToggle 2023-01-17 13:57:14 +01:00
bretello
b95fac5c72
vim: add config options for ALE's virtualtext 2023-01-17 13:56:47 +01:00
bretello
57caa424e6
zsh: move git aliases to its own file, add glsu (git ls untracked) 2023-01-12 12:46:09 +01:00
bretello
fd05f479d9
zsh: fix git completions for gbD/gbd 2022-12-30 16:01:16 +01:00
bretello
ff696ac5db
functions: fix dotfiles_selfupdate 2022-12-23 13:38:20 +01:00
bretello
9299c753e0
vim: add F8 shortcut for tagbar 2022-12-23 12:12:25 +01:00
bretello
12e521a2c6
vim: remap <leader>gl to Commits, add <leader>gL for :Bcommits 2022-12-21 13:54:02 +01:00
bretello
977a45e109
ansible: fix setup
- apply prettier
- fix misc issues
2022-12-18 13:36:26 +01:00
bretello
2c36af6615
zsh: set up PATH early 2022-12-18 13:36:26 +01:00
bretello
937555cd8d
vim: do not lint on text changed/insert leave 2022-11-26 00:56:23 +01:00
bretello
5b575986c9
misc improvements/cleanup
- add fzf-tab-config
- fix fzf plugin install
- change shortcut for spell
- set default shell to zsh
2022-11-26 00:56:23 +01:00
bretello
3df7a304c4
zsh: make update mechanism less annoying
move .zsh file to extras/ so that it doesn't
get sourced twice because of the ZSH_CUSTOM bug
2022-11-26 00:48:24 +01:00
bretello
b50a9dec24
ansible: fix setup.yml syntax error 2022-08-22 10:20:49 +02:00
bretello
c9767aad51
zsh: cleanup selfupdate mechanism (pt. 2) 2022-08-22 10:20:36 +02:00
bretello
0bfa411f7a
zsh: cleanup selfupdate mechanism 2022-08-22 10:11:24 +02:00
bretello
72a02e22e0
zsh: git: do not fail when aliases are undefined 2022-08-18 16:37:24 +02:00
karajan1001
b2df319e18 Add four new git function with the help of fzf 2022-08-18 20:56:34 +08:00
bretello
dea326e488
vendored dependency: z (autojump) 2022-08-12 15:55:09 +02:00
bretello
b0ae3d6e3d
vim: update ale/gutentags config, add new git maps
Git maps:

- <leader>gp -> push
- <leader>gl -> log
- <leader>gc -> commit
- <leader>gpf -> push --force-with-lease
- <leader>gs -> stage hunk under cursor
- <leader>gu -> unstage hunk under cursor
2022-08-12 15:52:55 +02:00
bretello
827843d8bd
gitignore: update location
gitignore should be symlinked to ~/.config/git/ignore

see a3f74bf
2022-08-12 15:49:12 +02:00
bretello
6e17084112
zsh: add completion styles 2022-08-12 15:45:38 +02:00
bretello
2fb53e6f2b
zsh: functions: cleanup git functions, add git-show-changes 2022-06-21 23:06:21 +02:00
bretello
5f4b4538bb
zsh: functions: mkvenv: replace venv with virtualenv
virtualenv is faster than venv and also installs wheel by default
2022-06-21 23:05:35 +02:00
bretello
a3f74bf816
ansible: gitignore migration + install 2022-05-08 19:17:29 +02:00
bretello
9f566efa8e
vim: add actionlint support (through ALE) 2022-05-03 10:17:42 +02:00
bretello
f3bf033fb8
zsh functions: add -s flag to mkvenv 2022-05-03 10:16:05 +02:00
bretello
dff98b066f
zsh functions: add python module 2022-04-29 11:16:39 +02:00
bretello
26e313e21e
vim: map <leader>H to actionlint on current file 2022-04-08 12:07:48 +02:00
bretello
75a00b2380
vim: fix Goyo config 2022-04-04 15:47:31 +02:00
bretello
76feeb3af0
zsh: remove fzf-tab, autoswitch virtualenv 2022-04-02 20:06:52 +02:00
bretello
9667cf96c2
update dockerignore 2022-04-02 19:58:52 +02:00
bretello
486ee8afbf
zsh: cleanup functions 2022-03-31 19:37:57 +02:00
bretello
5393f33795
vim: add GL shortcut to show git log for function under cursor 2022-03-31 19:30:31 +02:00