mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-15 01:01:15 -03:00
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
This commit is contained in:
committed by
ridiculousfish
parent
6943536ef3
commit
d65c63322e
@@ -499,6 +499,7 @@ int input_init()
|
||||
{
|
||||
input_mapping_add(L"", L"self-insert");
|
||||
input_mapping_add(L"\n", L"execute");
|
||||
input_mapping_add(L"\r", L"execute");
|
||||
input_mapping_add(L"\t", L"complete");
|
||||
input_mapping_add(L"\x3", L"commandline \"\"");
|
||||
input_mapping_add(L"\x4", L"exit");
|
||||
|
||||
Reference in New Issue
Block a user