This commit is contained in:
Henrik Bakken
2021-07-11 15:20:04 +02:00
parent bffa1239a9
commit dbf47db803
4 changed files with 51 additions and 58 deletions
+4 -2
View File
@@ -7,5 +7,7 @@ set -x CUDA_HOME /opt/cuda
set -x LD_LIBRARY_PATH $LD_LIBRARY_PATH $CUDA_HOME/lib64
set -Ua fish_user_paths /home/hjalmarlucius/.local/bin/
# fzf bindings
set -U FZF_LEGACY_KEYBINDINGS 0
if status --is-interactive
set BASE16_SHELL "$HOME/.config/base16-shell/"
source "$BASE16_SHELL/profile_helper.fish"
end
@@ -1,15 +1,3 @@
function fish_user_key_bindings
for mode in insert default visual
bind -M $mode \cf forward-char
end
bind -M insert \ew __fzf_reverse_isearch
bind -M insert \eo '__fzf_cd --hidden'
bind -M insert \eF __fzf_find_file
bind -M insert \ef __fzf_open
end
function ll --description 'List contents of directory using long format'
ls -lha $argv
end
fzf_key_bindings