[Pharo-project] [ANN]: Vim Shortcuts for Nautilus (Proof-of-concept)

Sean P. DeNigris sean at clipperadams.com
Sat Jul 7 10:46:33 EDT 2012

Now that we have Keymapping, why not, right?!

In Pharo 2.0:

Gofer new
    url: 'http://ss3.gemstone.com/ss/VimPharo';
    package: 'ConfigurationOfVimPharo';

ConfigurationOfVimPharo project development load.

1. open a Nautilus browser
2. In the code pane, press escape to enter Vim command mode
3. Press the d key twice to delete the current line

Two current bugs
	- Cursor changed globally when toggling command/insert mode. I don't know
if/how you can change the cursor for just one morph/editor
	- Once you enter command mode, that morph will always have the command mode

Two Keymapping questions (help, guille!!):
- how do I remove an individual shortcut or shortcut category from a morph?
(so I can toggle the command/insert mode shortcuts)
- how can I restore a morph's shortcuts to the defaults?

Also, for the time being, I'm using the dumbbell cursor to indicate command
mode because it was an easy hack. I'll check SVI to see how they made a
block cursor, but if anyone has any pointers, I'm all ears.

I'll be adding shortcuts as I need them and contributions are welcome. Also,
I installed it for Nautilus arbitrarily. We'll probably be able to have them
for all the tools...


View this message in context: http://forum.world.st/ANN-Vim-Shortcuts-for-Nautilus-Proof-of-concept-tp4638987.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

More information about the Pharo-dev mailing list