Skip to content

Commit

Permalink
Update fzf bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
JafarAbdi committed Apr 30, 2024
1 parent c5c1ce2 commit 83811a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 1 addition & 5 deletions fish/conf.d/installs.fish
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,7 @@ function install-core
end
function config-fish
rm -rf ~/.config/fish || true && mkdir -p ~/.config/fish/functions
echo "\
function fish_user_key_bindings
fzf_key_bindings
end" | tee ~/.config/fish/functions/fish_user_key_bindings.fish
rm -rf ~/.config/fish || true && mkdir -p ~/.config/fish
echo "source ~/myconfigs/fish/config.fish" | tee ~/.config/fish/config.fish
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
# To be able to source bash scripts
Expand Down
3 changes: 3 additions & 0 deletions fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ end
if command -v difft &> /dev/null
set -gx GIT_EXTERNAL_DIFF "difft --color=always --tab-width=2"
end
if command -v fzf &> /dev/null
fzf --fish | source
end
# gdb
alias gdbrun='gdb --ex run --args '
alias colorless='sed -r "s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g"'
Expand Down

0 comments on commit 83811a4

Please sign in to comment.