I know there's a way to do this but I've forgotten what it is.
How do I get "Unix'ish" keyboard shortcuts in Firefox? In particular I want CTRL/U to be "delete line". I suspect it's something in User Preferences but how do I find out what it is?
Eur Ing Chris Green cl@isbd.net wrote:
I know there's a way to do this but I've forgotten what it is.
How do I get "Unix'ish" keyboard shortcuts in Firefox? [...]
I think you want to look for the Emacs keybinding setting in gtkrc. I can't remember the exact details, but I hope that's enough info for you to find it. (I think the GTK maintainers switched to Windows keybindings very badly - ctrl-A went from "start of line" to "select all" so if you wanted to type something extra on the start of the line, you suddenly erased the buffer with no undo possible.)
Hope that helps,
On 3/19/07, MJ Ray mjr@phonecoop.coop wrote:
I think you want to look for the Emacs keybinding setting in gtkrc. I can't remember the exact details, but I hope that's enough info for you to find it. (I think the GTK maintainers switched to Windows keybindings very badly - ctrl-A went from "start of line" to "select all" so if you wanted to type something extra on the start of the line, you suddenly erased the buffer with no undo possible.)
What, ctrl-Z doesn't undo? That would be bad!
Tim.
On Mon, Mar 19, 2007 at 02:34:47PM +0000, Tim Green wrote:
On 3/19/07, MJ Ray mjr@phonecoop.coop wrote:
I think you want to look for the Emacs keybinding setting in gtkrc. I can't remember the exact details, but I hope that's enough info for you to find it. (I think the GTK maintainers switched to Windows keybindings very badly - ctrl-A went from "start of line" to "select all" so if you wanted to type something extra on the start of the line, you suddenly erased the buffer with no undo possible.)
I've found those Windows keybindings rather irritating and after some surfing / googling / whatever, I found the "recipe" to put
gtk-key-theme-name = "Emacs"
into a file called ~/.gtkrc-2.0 .
Best regards, Jan
"Tim Green" timothy.j.green@gmail.com wrote:
On 3/19/07, MJ Ray mjr@phonecoop.coop wrote:
( [...] ctrl-A went from "start of line" to "select all" so if you wanted to type something extra on the start of the line, you suddenly erased the buffer with no undo possible.)
What, ctrl-Z doesn't undo? That would be bad!
I'm pretty sure it didn't in the first 2.0 release and there was no context menu on some types of buffer. Also, how the devil would anyone guess ctrl-Z was now undo instead of background? Undo should be on ctrl-slash, to slash the previous edit to bits. The other 'pictorial' shortcuts, like ctrl-K (scissors, to cut, or kill) and ctrl-Y (a paste knife, to paste, or yank), should also have remained IMO.
Thanks to Jan for the reminder of how to fix Firefox's handicap.
Regards,
On 3/19/07, MJ Ray mjr@phonecoop.coop wrote:
"Tim Green" timothy.j.green@gmail.com wrote:
On 3/19/07, MJ Ray mjr@phonecoop.coop wrote:
( [...] ctrl-A went from "start of line" to "select all" so if you wanted to type something extra on the start of the line, you suddenly erased the buffer with no undo possible.)
What, ctrl-Z doesn't undo? That would be bad!
I'm pretty sure it didn't in the first 2.0 release and there was no context menu on some types of buffer. Also, how the devil would anyone guess ctrl-Z was now undo instead of background?
The devil would know this from being a Windows user already ;-)
Undo should be on ctrl-slash, to slash the previous edit to bits. The other 'pictorial' shortcuts, like ctrl-K (scissors, to cut, or kill) and ctrl-Y (a paste knife, to paste, or yank), should also have remained IMO.
And this is why you have a choice because you are not alone in your opinion.
Tim.
On Mon, Mar 19, 2007 at 02:18:58PM +0000, MJ Ray wrote:
Eur Ing Chris Green cl@isbd.net wrote:
I know there's a way to do this but I've forgotten what it is.
How do I get "Unix'ish" keyboard shortcuts in Firefox? [...]
I think you want to look for the Emacs keybinding setting in gtkrc. I can't remember the exact details, but I hope that's enough info for you to find it. (I think the GTK maintainers switched to Windows keybindings very badly - ctrl-A went from "start of line" to "select all" so if you wanted to type something extra on the start of the line, you suddenly erased the buffer with no undo possible.)
Excellent, thank you very much, a quick Google for "Emacs keybinding gtkrc" and up popped the specific set-up for this in Firefox. ... and now CTRL/U in particular does what I expect.