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!?
The whole ooffice-vim should have the three modi
editing,insert and visual with some basic movements:
- movement:
h,j,k,l: like up,down,right,left
w,W,b,B: wordwise movement
(,): jump to the next/previous sentences
{,}: jump to the next/previous paragraphes
gg: jump to the beginning of the file
H,M,L: jump to highest, middle, lowest line on screen
Ctrl-f,-b: scroll window up and down
/: search for pattern
n,N: find next,previous of search pattern
- editing:
i,a: insert text before,after cursor
I,A: insert text at the beginning, end of line
o,O: insert new line above and below the current line
r: replace character
s: erase character and insert
x: delete character
dw: delete word
dd: delete line
yw: yank word
yy: yank line
p,P: paste before or behind cursor
.: redo last command
u: undo
- makr lines:
V: mark whole line
v: mark characters under cursor
and deleting, copying and pasting those marked regions
...
I hope that these basic shortcuts should be pretty easy to
achieve... would be nice to read some tips :-)
Greetings!
Fabian
Greetings!
Fabian
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]