[Fish] updates
This commit is contained in:
@@ -5,4 +5,6 @@ function fish_user_key_bindings
|
||||
bind -M default ctrl-e end-of-line
|
||||
bind -M insert ctrl-space accept-autosuggestion
|
||||
bind -M insert ctrl-g 'git diff' repaint
|
||||
bind -M insert ctrl-o execute yazi
|
||||
bind -M insert ctrl-l clear-screen ls repaint
|
||||
end
|
||||
|
@@ -1,3 +1,3 @@
|
||||
function sshf --description 'fzf select for ssh hosts'
|
||||
ssh $(grep Host -w .ssh/config | awk '{print $2}' | fzf)
|
||||
ssh $(grep Host -w ~/.ssh/config | awk '{print $2}' | fzf --preview="echo" --preview-border="none")
|
||||
end
|
||||
|
@@ -1,3 +1,3 @@
|
||||
function tuis --description 'fzf select tui'
|
||||
eval (string split "\n" (cat ".dotfiles/tuis.txt") | fzf)
|
||||
eval (string split "\n" (cat $HOME/.dotfiles/tuis.txt) | fzf)
|
||||
end
|
||||
|
Reference in New Issue
Block a user