#
# 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": evaluate-command ls_on_current_token
	"\M-w": evaluate-command whatis $command
	"\C-r": evaluate-command replace_commandline
	"\C-l": evaluate-command clear
	"\M-x": explain
	"\C-c": delete-line		
	"\C-u": backward-kill-line
	"\M-d": kill-word
	"\C-w": backward-kill-word	
	"\M-k": dump-functions
	"\C-d": exit
$endif

# Include user-specific inputrc file after including fish-specific
# bindings so that they will override fish defaults

$include ~/.inputrc
