Keyboard bindings
From AbiWiki
Revision as of 02:54, 17 October 2007
FAQ: Keyboard Bindings to Match Other Editors
It is possible to change the keyboard bindings used by by editing your ~/.AbiSuite/AbiWord.profile file.
To enable emacs bindings, add a _custom_ section (or add the keybindings line to an existing _custom_ section):
<Scheme name="_custom_" [[KeyBindings|KeyBindings]]="emacs" />
To enable VI keybindings, use this line instead:
[[KeyBindings|KeyBindings]]="viEdit"
---
_I have been unable to get this to work -- Main.JesperSkov - 10 Jun 2002_
_I, too, have been unable to make it work. The line vanishes from the config file. AbiWord 1.1.3 -- Main.NickMorrison - 27 Mar 2003_
Nick, this is just a shot in the dark, so give me some feedback and maybe I (or someone else) can take it a step further. Its been a long time (12+) months since I tried to customize anything in the profile. Here are some things that are or might be important:
- Make sure you create a custom scheme and put your changes there — Im afraid (but not sure) that the standard scheme gets overwritten by AbiWord at various times, which would account for the disappearing lines.
- Make sure that you "activate" the custom profile — I forget exactly how but it involves some lines at the top of the file — Im assuming they already exist but you have to specify the name of the custom profile you just created instead of the standard profile.
Hope this helps, let us know!
-- Main.RandyKramer - 28 Mar 2003
Two additional notes for all people experiencing problems using this feature:
- Use KeyBindings, not keybindings. XML is case sensitive.
- The select tag on the top of the file should like like this:
<Select scheme="_custom_" /> <!-- there may be other options too -->
-- Main.WouterB - 17 Aug 2004
I was having the problem that changes to my AbiWord.profile kept reverting when I relaucnhed AbiWord. Following the suggestion I recieved on the #abiword channel, I deleted my AbiWord.profile and let AbiWord recreate it when it relaunched. Edits to this newly created profile were preserved, solving the problem. (Interestingly, the newly created .profile was about 1KB smaller than the .profile which was present when AbiWord was first run. This is all for AbiWord 2.2.8 on WinXP SP2.)
So, that solved the problem at least for me.
-- Main.BrianVanDenBroek - 13 Jul 2005