mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 20:54:04 +08:00
e3ce01d685
darcs-hash:20050920234200-ac50b-3895a97cb024368258cd1562bdcc9fda2c84f521.gz
28 lines
672 B
Plaintext
28 lines
672 B
Plaintext
#
|
|
# This file contains key bindings for fish
|
|
#
|
|
|
|
# Include system-wide inputrc file before including fish-specific key
|
|
# bindings if it exists
|
|
|
|
$include /etc/inputrc
|
|
|
|
$if fish
|
|
"\M-l": __fish_list_current_token
|
|
"\M-w": set tok (commandline -pt); if test $tok[1]; whatis $tok[1]; end
|
|
"\C-l": clear
|
|
"\C-c": delete-line
|
|
"\C-u": backward-kill-line
|
|
"\M-d": kill-word
|
|
"\C-w": backward-kill-word
|
|
"\M-k": dump-functions
|
|
"\M-d": if test -z (commandline); dirh; else; commandline -f kill-word; end
|
|
"\C-d": delete-or-exit
|
|
|
|
$endif
|
|
|
|
# Include user-specific inputrc file after including fish-specific
|
|
# bindings so that they will override fish defaults
|
|
|
|
$include ~/.inputrc
|