fix(ubuntu): empty peco functions and key bindings
This commit is contained in:
parent
a55447436c
commit
601f63d52b
4 changed files with 7 additions and 7 deletions
|
|
@ -5,10 +5,9 @@ status is-interactive && eval /home/jc/miniconda3/bin/conda "shell.fish" "hook"
|
|||
|
||||
# Go
|
||||
set -g GOPATH $HOME/go
|
||||
set -g GOBIN $GOPATH/bin
|
||||
|
||||
# Add gobin to path
|
||||
fish_add_path $GOBIN
|
||||
fish_add_path $GOPATH/bin
|
||||
|
||||
#x-server
|
||||
set -g DISPLAY $(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
function fish_user_key_bindings
|
||||
# bind peco functionalities
|
||||
# search directoies
|
||||
# search directories
|
||||
bind \cf peco_change_directory
|
||||
|
||||
# search commandline history
|
||||
bind \cr peco_select_history
|
||||
bind \cr peco_select_hisotry
|
||||
|
||||
# prevent iterm close window with ctrl+d
|
||||
bind \cd delete-char
|
||||
Loading…
Add table
Add a link
Reference in a new issue