#
# This file contains key bindings for fish
#

#Include other inputrc files if they exist
$include /etc/inputrc
$include ~/.inputrc

$if fish
	#\M-l checks if the current string is a directory, in that case list it's contents, otherwise list contents of current directory
	"\M-l": evaluate-command set val (eval echo $end_str); if test -d $val; ls $val; else; ls; end;
	"\M-w": evaluate-command whatis $command
	"\M-x": explain
	"\C-c": delete-line		
	"\C-u": backward-kill-line
	"\C-l": kill-whole-line
	"\M-d": kill-word
	"\C-w": backward-kill-word	
	"\M-k": dump-functions
$endif
