Skip to content

Commit 3998133

Browse files
committed
fish: update keybindings
1 parent 4bdde91 commit 3998133

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.config/fish/conf.d/keybindings.fish

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,15 @@
22

33
status is-interactive || exit
44

5-
bind \cc 'commandline ""'
6-
bind \cl "
7-
clear; printf '\e[3J'; commandline -f repaint
8-
if functions -q tide_prompt_at_bottom
9-
tide_prompt_at_bottom
10-
end
11-
"
12-
bind \cg 'gh pr view --web &>/dev/null || gh repo view --web &>/dev/null'
13-
bind \cp workon
14-
bind \ct 'pushd 2>/dev/null || pushd (mktemp -d) && commandline -f repaint'
15-
bind \cu '
5+
bind ctrl-g 'gh pr view --web &>/dev/null || gh repo view --web &>/dev/null'
6+
bind ctrl-l "clear; printf '\e[3J\e[%s;1H' \$LINES; commandline -f repaint"
7+
bind ctrl-p workon
8+
bind ctrl-t 'pushd 2>/dev/null || pushd (mktemp -d) && commandline -f repaint'
9+
bind ctrl-u '
1610
if not set -e GIT_DIR GIT_WORK_TREE
1711
set -gx GIT_DIR "$XDG_DATA_HOME/yadm/repo.git"
1812
set -gx GIT_WORK_TREE ~
1913
end
2014
commandline -f repaint
2115
'
22-
fzf_configure_bindings --directory=\cf
16+
fzf_configure_bindings --directory=ctrl-f

0 commit comments

Comments
 (0)