Mercurial > dotfiles
annotate dot_config/private_fish/config.fish @ 1041:979735a38885
feat: add keybind with fzf selector for revisions from current stack
author | Zeger Van de Vannet <zeger@vandevan.net> |
---|---|
date | Tue, 30 Apr 2024 22:34:09 +0200 |
parents | 6ab26ddbf78d |
children | 3395b4109688 |
rev | line source |
---|---|
1038 | 1 set -x EDITOR hx |
2 set -x HGEDITOR hx | |
3 | |
4 set -x RIPGREP_CONFIG_PATH $HOME/.config/ripgrep/ripgreprc | |
5 set -x BAT_CONFIG_PATH $HOME/.config/bat/config | |
6 | |
7 set -x PS_FORMAT 'pid,pgid,state,start_time,%cpu,command' | |
8 | |
9 set -x PATH $HOME/.local/bin $HOME/bin $PATH | |
10 | |
11 if test -e "$HOME/bin/mise" | |
12 $HOME/bin/mise activate fish | source | |
13 end | |
14 | |
15 direnv hook fish | source | |
16 | |
17 if status is-interactive | |
18 # Commands to run in interactive sessions can go here | |
19 | |
20 # Select modified paths via fzf on alt+g | |
21 bind \eg fzf_hg_status_files | |
22 # Select output lines from last command | |
23 bind \er fzf_last_command_output | |
1041
979735a38885
feat: add keybind with fzf selector for revisions from current stack
Zeger Van de Vannet <zeger@vandevan.net>
parents:
1038
diff
changeset
|
24 # Select revisions from the stack |
979735a38885
feat: add keybind with fzf selector for revisions from current stack
Zeger Van de Vannet <zeger@vandevan.net>
parents:
1038
diff
changeset
|
25 bind \ek fzf_hg_stack |
1038 | 26 |
27 abbr hgst hg status | |
28 end |