This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug tui/15163] Vi settings within ~/.inputrc prevententering/exiting TUI via C-x a
- From: "rhys.ulerich at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 25 Feb 2013 16:18:54 +0000
- Subject: [Bug tui/15163] Vi settings within ~/.inputrc prevententering/exiting TUI via C-x a
- Auto-submitted: auto-generated
- References: <bug-15163-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15163
--- Comment #2 from Rhys Ulerich <rhys.ulerich at gmail dot com> 2013-02-25 16:18:54 UTC ---
> However, TUI enter/exit is bound to the readline "tui-switch-mode"
> command/function...
> One should be able to use that to bind any key combo to TUI enter/exit in the
> inputrc file, per the "Key Bindings" node in the readline manual. However, I'm
> not familiar readline's vi mode (emacs user here), and whether key bindings
> apply in that mode.
I'm not familiar either. Thanks for the suggestion. I've tried
adding a few things like
Control-x: tui-switch-mode
to my ~/.inputrc without any luck. However, it seems that
1. Run 'gdb'
2. Hit Escape to enter vi command mode
3. Hit Control-E to enter Emacs mode ('emacs-editing-mode')
4. Hit Control-x a to enter the TUI
works. Though now I'm in Emacs mode and hitting Control-x a again
does not exit the TUI. And I can't seem to get "M-C-J" to trigger
vi-editing-mode again (though this is likely me being an idiot).
- Rhys
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.