mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
new function __fish_preview_current_file to open file at the cursor in pager
bound to Alt+O by shared key bindings created with help from @krobelus fixes #6838
This commit is contained in:
committed by
Johannes Altmanninger
parent
77d33a8eb9
commit
8025e80fdb
@@ -84,6 +84,7 @@ function __fish_shared_key_bindings -d "Bindings shared between emacs and vi mod
|
||||
bind --preset $argv \e. history-token-search-backward
|
||||
|
||||
bind --preset $argv \el __fish_list_current_token
|
||||
bind --preset $argv \eo __fish_preview_current_file
|
||||
bind --preset $argv \ew __fish_whatis_current_token
|
||||
# ncurses > 6.0 sends a "delete scrollback" sequence along with clear.
|
||||
# This string replace removes it.
|
||||
|
||||
Reference in New Issue
Block a user