Fabian Braennstroem wrote:
Hi,
me again ... :-)
* Fabian Braennstroem <[EMAIL PROTECTED]> wrote:
Hi Mathias,
* Mathias Bauer <[EMAIL PROTECTED]> wrote:
Fabian Braennstroem wrote:
Hi Eike,
* Eike Rathke <[EMAIL PROTECTED]> wrote:
Hi Fabian,
On Tuesday, 2006-11-21 11:22:58 +0100, Fabian Braennstroem wrote:
I saw that it was discussed a couple times before, but
I was wondering, if there are any plans to achive vim-like
keybindings in openoffice/writer?
That probably wouldn't be achievable as Writer has no command mode. Key
input without modifiers like Alt or Ctrl is taken as text input.
Would it be so hard to implement such a command mode. I
would imagine that a lot of the openoffice developers are
using vim for their dayly programing and wish to use it when
using the writer!?
I assume that it is doable (though I didn't think it through completely).
OTOH it is a feature only interesting for a minority of users so it's
definitely something that will only happen if a volunteer developer will
do it. Of course I can give some tips how it can be done.
Thanks, I would like to get some tips about how this can be
done :-) I assume it has to go deep into the code, and it
wouldn't work using python!?
I was just thinking of a simple way using python .... would
it be possible to create a small (bigger) script/macro,
which runs as soon as I open a file.
Like in vim I am in navigation mode and a small popup window
in some corner tells me that. Due the active popup window I
am not able to write to the text file, but can use the keys
for navigation...
The whole ooffice-vim should have the three modi
editing,insert and visual with some basic movements:
<snip>
...
and those navigation keys should be some shortcuts for the
wanted movement; i.e. 'j' corresponds to <left> ...
Sounds not to bad, doesn't?
... but I have no clue about how I could do it using python
in openoffice :-(
Maybe somebody has a small advice?
Greetings!
Fabian
Since you ask for "small" advice, you can probably achieve what you want
by using event listeners. You would need a great many of them, however,
and I know nothing of the impact on performance.
I sincerely hope that vim keybindings NEVER make it into OpenOffice.
--
Xfce on PCLinuxOS, OOo 2.0.2 (en_GB).
Direct mail to teaman is not opened; if necessary, email realmail.
If you're seeking, check out http://www.rci.org.au
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]