1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-13 07:11:32 +01:00
Commit Graph

514 Commits

Author SHA1 Message Date
bretello
99baa7f1e0
zsh: automatically enable/disable python virtualenvs on chdir 2023-09-14 23:30:31 +02:00
bretello
1dcdb77f97
zsh: add SAVEHIST for unlimited history 2023-09-14 23:30:31 +02:00
bretello
c5532fea31
zsh: add FZF_CTRL_T_COMMAND 2023-09-14 23:30:30 +02:00
bretello
70aec3b2b6
useful_commands: add dbus introspection 2023-09-14 23:30:30 +02:00
bretello
39abcd4756
zsh: remove set -x from mangrep() definition 2023-09-14 23:30:30 +02:00
bretello
5a1c3c07ac
zsh: add support for THEME_PREFER_LIGHT env variable for bat theme 2023-09-14 23:30:30 +02:00
bretello
0c52f21233
pdbrc: add support from THEME_PREFER_LIGHT env variable 2023-09-14 22:40:49 +02:00
bretello
b193afe50a
upgrade script: avoid printing extra line on source 2023-09-14 22:38:57 +02:00
bretello
323542a705
vim: cleanup wayland copy/paste 2023-09-14 13:07:36 +02:00
brethil
24fc7dd2ed zsh: add bathelp alias for highlighting commands' -h/--help flags 2023-09-11 15:47:22 +02:00
brethil
d1135262de zsh: add fuzzyman command for fuzzy search of man pages (with preview) 2023-09-11 15:46:01 +02:00
bretello
76579a603e
zsh: alias bat when available command is batcat 2023-09-02 15:15:52 +02:00
bretello
fbc6934f8f
functions: add vimscratch
use `vimscratch` to open a scratch vim buffer.

If run in a pipe, it uses `stdin` as input:

```bash
<command> | vimscratch
```
2023-08-23 13:52:35 +02:00
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