forked from DustVoice/dotfiles
Correct mistake in dmenu_fish and in user keybindings
This commit is contained in:
parent
ea9869e367
commit
7ba4dc58a0
2 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
function dmenu_fish --description 'Open fish agnostic dmenu'
|
function dmenu_fish --description 'Open fish agnostic dmenu'
|
||||||
set fns "$(string replace -a ', ' \n $(functions))"
|
set fns "$(string replace -a ', ' \n $(functions))"
|
||||||
|
|
||||||
set commands $(string join \n $fns $(dmenu_path) | sort | dmenu -i -fn "$(get-font)" -nb "#282a36" -nf "#f8f8f2" -sb "#44475a" -sf "#f8f8f2")
|
set command_to_run $(string join \n $fns $(dmenu_path) | sort | dmenu -i -fn "$(get-font)" -nb "#282a36" -nf "#f8f8f2" -sb "#44475a" -sf "#f8f8f2")
|
||||||
|
|
||||||
fish -c "$command_to_run" &
|
fish -c "$command_to_run" &
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
function fish_user_key_bindings
|
function fish_user_key_bindings
|
||||||
fish_vi_key_bindings
|
fish_vi_key_bindings
|
||||||
|
|
||||||
|
bind \f 'accept-autosuggestion'
|
||||||
|
bind \b 'cancel-commandline'
|
||||||
bind \f -M insert 'accept-autosuggestion'
|
bind \f -M insert 'accept-autosuggestion'
|
||||||
bind \b -M insert 'cancel-commandline'
|
bind \b -M insert 'cancel-commandline'
|
||||||
bind \v 'up_or_search'
|
bind \cE 'edit_command_buffer'
|
||||||
bind \n 'down_or_search'
|
|
||||||
bind \cE -M insert 'edit_command_buffer'
|
bind \cE -M insert 'edit_command_buffer'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue