View previous topic :: View next topic |
Author |
Message |
S_aIN_t Guru
Joined: 11 May 2002 Posts: 488 Location: Ottawa
|
Posted: Fri Feb 13, 2004 12:28 am Post subject: vi/less/emacs keybinding for mozilla firefox/firebird |
|
|
Hi,
Ever wanted to use vi/less/emacs key bindings in Mozilla Firebird/Firefox... Now you can.. grab the install file from the cvs repository of mozless.mozdev.org. The link is http://www.mozdev.org/source/browse/~checkout~/mozless/downloads/mozless-0.1.2.xpi?rev=1.1&content-type=text/plain
click Save As.. otherwise you're will get jibberish on the screen. after that you have to tell firebird/firefox to open the xpi file that you just downloaded. it will install the extension. and you're ready to go.
Also dont forget to check the main page for the list of key bindings. _________________ "That which is overdesigned, too highly
specific, anticipates outcome; the anicipation of
outcome guatantees, if not failure, the
absence of grace."
- William Gibson, "All Tomorrow's Parties"
----
http://petro.tanreisoftware.com
Last edited by S_aIN_t on Fri Feb 13, 2004 1:13 am; edited 1 time in total |
|
Back to top |
|
|
jonner n00b
Joined: 25 Jul 2002 Posts: 42
|
Posted: Fri Feb 13, 2004 12:57 am Post subject: Cool |
|
|
I have often wanted to use Emacs keys other places. I will definitely check this out. |
|
Back to top |
|
|
felldown n00b
Joined: 28 Mar 2003 Posts: 22
|
Posted: Sat Feb 14, 2004 5:33 pm Post subject: |
|
|
I don't suppose anyone knows if there are emacs keybindings for gaim? |
|
Back to top |
|
|
nasteratu n00b
Joined: 03 Feb 2004 Posts: 13 Location: CSH@RIT
|
Posted: Wed Feb 18, 2004 3:28 pm Post subject: |
|
|
Very nice I had herd about this awhile back but had not tried it out, thanks _________________ --nasteratu
CSH@RIT |
|
Back to top |
|
|
far Guru
Joined: 10 Mar 2003 Posts: 394 Location: Stockholm, Sweden
|
Posted: Wed Feb 18, 2004 3:52 pm Post subject: |
|
|
felldown wrote: | I don't suppose anyone knows if there are emacs keybindings for gaim? |
I think you can turn on emacs keybindings in all gtk2 programs, though I don't know how. _________________ The Porthole Portage Frontend |
|
Back to top |
|
|
robet l33t
Joined: 06 Sep 2004 Posts: 807 Location: Earth/NorthAmerica/USA/NY
|
|
Back to top |
|
|
nighty Apprentice
Joined: 10 Aug 2003 Posts: 217 Location: right behind you.
|
Posted: Fri Feb 18, 2005 6:42 pm Post subject: |
|
|
thanks alot there. |
|
Back to top |
|
|
nighty Apprentice
Joined: 10 Aug 2003 Posts: 217 Location: right behind you.
|
Posted: Fri Feb 18, 2005 6:56 pm Post subject: |
|
|
well i did some research and couldnt believe that such a program existed without people knowing about it:
http://extensionroom.mozdev.org/more-info/keyconfig
this allows changing the keyboard shortcuts in firefox.
didnt test it yet so i hope it works. |
|
Back to top |
|
|
richk449 Guru
Joined: 24 Oct 2003 Posts: 345
|
Posted: Fri Feb 18, 2005 7:21 pm Post subject: |
|
|
far wrote: | felldown wrote: | I don't suppose anyone knows if there are emacs keybindings for gaim? |
I think you can turn on emacs keybindings in all gtk2 programs, though I don't know how. |
Really? If anyone knows how, speak up. That would be awesome. |
|
Back to top |
|
|
allucid Veteran
Joined: 02 Nov 2002 Posts: 1314 Location: atlanta
|
Posted: Fri Feb 18, 2005 7:25 pm Post subject: |
|
|
edit/create ~/.gtkrc.mine put this in it
Code: | gtk-key-theme-name="Emacs" |
[edit] changed ~/.gtkrc-2.0 to ~/.gtkrc.mine
Last edited by allucid on Fri Feb 18, 2005 7:46 pm; edited 1 time in total |
|
Back to top |
|
|
richk449 Guru
Joined: 24 Oct 2003 Posts: 345
|
Posted: Fri Feb 18, 2005 7:30 pm Post subject: |
|
|
allucid wrote: | in ~/.gtkrc-2.0 put this at the bottom
Code: | gtk-key-theme-name="Emacs" |
only problem is that this file gets overwritten every time you change your theme. fortunately, that doesn't happen too often. |
Did that, and hitting ctrl-a still does select-all, instead of going to the beginning of a line. Is there something wrong? |
|
Back to top |
|
|
allucid Veteran
Joined: 02 Nov 2002 Posts: 1314 Location: atlanta
|
Posted: Fri Feb 18, 2005 7:44 pm Post subject: |
|
|
Put that line in ~/.gtkrc.mine and it should work now and won't get overwritten. I think gnome uses different rc files (I am not using gnome) but all the gtk rc files should import this file so that's where your personal settings would go. Also make sure that you close the application and re-open it for the changes to take affect. So make sure you close all firefox windows and then reopen firefox after you make the changes to see if it works. Also, firefox would have to have gtk2 support enabled for this to work (GTK2 has to be in you use flags when you emerge firefox). The keybindings only work in text boxes. So in the address bar or anywhere else where you can type text C-a will go to the front of a line. On a regular web page C-a will still select all. |
|
Back to top |
|
|
richk449 Guru
Joined: 24 Oct 2003 Posts: 345
|
Posted: Fri Feb 18, 2005 7:53 pm Post subject: |
|
|
Strange. I was testing it in gedit, assuming that the default text editor would use the proper key bindings. But apparently that is not true, since it works in firefox and in bluefish. I guess gedit is just busted. Can anyone else confirm this? |
|
Back to top |
|
|
BigBaaadBob Guru
Joined: 19 Apr 2003 Posts: 342 Location: Swampscott, MA USA
|
Posted: Thu May 26, 2005 11:09 pm Post subject: |
|
|
As far as I can tell, mozless does not work in recent (1.0.4) versions of firefox.
And I don't see any way of deleting it either!!! |
|
Back to top |
|
|
Taladar Guru
Joined: 09 Oct 2004 Posts: 458 Location: Bielefeld, Germany
|
Posted: Sun May 29, 2005 9:26 pm Post subject: |
|
|
Quote: | How about re-binding keys in emacs? Say C-, instead of C-x? |
If that was a serious question you might want to have a look at www.emacswiki.org. However I would strongly recommend not changing too many keybindings. If you use emacs seriously remembering the keys is hard enough without mapping them to your custom settings in your head. |
|
Back to top |
|
|
amne Bodhisattva
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Mon May 30, 2005 5:32 pm Post subject: |
|
|
About the ~/.gtkrc: This works quite well for me. _________________ Dinosaur week! (Ok, this thread is so last week) |
|
Back to top |
|
|
BigBaaadBob Guru
Joined: 19 Apr 2003 Posts: 342 Location: Swampscott, MA USA
|
Posted: Mon May 30, 2005 6:18 pm Post subject: |
|
|
amne wrote: | About the ~/.gtkrc: This works quite well for me. | It seems to do the trick for firefox, but not for thunderbird. Is there a smiley for 1/2 of a smile? |
|
Back to top |
|
|
|