[GTALUG] Vi-keybinding for MS-Word

William Park opengeometry at yahoo.ca
Sat Jun 24 11:04:27 EDT 2017


On Sat, Jun 24, 2017 at 09:43:05AM -0400, Kevin Cozens via talk wrote:
> On 2017-06-24 12:12 AM, Stewart C. Russell via talk wrote:
> > On 2017-06-23 04:52 PM, William Park via talk wrote:
> > > 
> > > > http://dready.org/projects/viWord/
> > > 
> > It likely wouldn't work even if you tried. I have friends in a writer's
> > group dedicated to maintaining Wordstar keyboard compatibility in modern
> > word processors.
> 
> IIRC, Word has some sort of macro or scripting feature. Could that be used
> to provide the vi like behaviour you want?

Maybe, but that's too advanced for me.  You can customize key shortcuts, 
    File -> Options -> ...I forget... -> "All Commands"
There, you can select action like "DeleteBackWord", it will show you
current binding (Ctrl-Delete), and you can specify different key
binding.

The default key bindings aren't that bad.  After few days of intense
struggle, I've gotten used to Word-way somewhat.  For example, within a
line,
    - Left/Right Arrow keys -- by char
    - Ctrl + Left/Right Arrows -- by word 
    - Home/End -- beginning or end of line
    - Shift + Left/Rigth Arrows -- selection by char
    - Shift + Ctrl + Left/Rigth Arrows -- selection by word
    - Shift + Home/End -- selection to beginning or end of line
    - Backspace, Delete -- delete by char
    - Ctrl + Backspace/Delete -- delete by word
So, to delete a line (dd),
    - Home, Shift + End, Ctrl-X
-- 
William


More information about the talk mailing list