Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142677044
D29494.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
410 B
Referenced Files
None
Subscribers
None
D29494.diff
View Options
diff --git a/bin/sh/histedit.c b/bin/sh/histedit.c
--- a/bin/sh/histedit.c
+++ b/bin/sh/histedit.c
@@ -142,8 +142,10 @@
if (el) {
if (Vflag)
el_set(el, EL_EDITOR, "vi");
- else if (Eflag)
+ else if (Eflag) {
el_set(el, EL_EDITOR, "emacs");
+ el_set(el, EL_BIND, "^R", "em-inc-search-prev", NULL);
+ }
el_set(el, EL_BIND, "^I", "sh-complete", NULL);
el_source(el, NULL);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 23, 3:45 AM (9 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27873934
Default Alt Text
D29494.diff (410 B)
Attached To
Mode
D29494: sh: improve emacs mode
Attached
Detach File
Event Timeline
Log In to Comment