aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/fish_default_key_bindings.fish
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2015-11-30 15:44:51 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-12-08 21:01:31 -0800
commitd65c63322ef52443b372c3c49dbd3584596fed6b (patch)
treec3b6e2b32fbffb6521b7e68094b0918d05d8ea40 /share/functions/fish_default_key_bindings.fish
parent6943536ef30e9b6a84a162a2b1f065e0d5feff07 (diff)
allow \cJ (\n) to be bound separate from \cM (\r)
This makes it possible (on UNIX systems, don't know about MS Windows) to bind \cJ (\n) independently of \cM (\r, aka [enter]). Resolves #217
Diffstat (limited to 'share/functions/fish_default_key_bindings.fish')
-rw-r--r--share/functions/fish_default_key_bindings.fish1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/functions/fish_default_key_bindings.fish b/share/functions/fish_default_key_bindings.fish
index 6647e8a6..cac095d3 100644
--- a/share/functions/fish_default_key_bindings.fish
+++ b/share/functions/fish_default_key_bindings.fish
@@ -9,6 +9,7 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis
bind $argv "" self-insert
bind $argv \n execute
+ bind $argv \r execute
bind $argv \ck kill-line
bind $argv \cy yank