Hi everyone,

I've only just started using fish after asking a colleague what was
doing that funky realtime syntax highlighting in his terminal.

I tried it out, but I'm afraid that the lack of vi-mode was a killer
for me... so I implemented enough of the basic vi commands to get
started :)

You can find my bindings here:

https://github.com/DarkStarSword/junk/raw/master/vi-mode.fish

To use them, add this to your ~/.config/fish/config.fish:

. vi-mode.fish

function fish_user_keybindings
        vi_mode_insert
end


There is still a tonne of work to do to get full vi-mode bindings
working - directional commands are probably the biggest feature I use
all the time that is still missing.

If anyone wants to give this a try I'm interested in any feedback,
missing feature requests, patches, etc.

Cheers,
-Ian

-- 
http://sites.google.com/site/DarkStarJunkSpace
--
http://darkstarshout.blogspot.com/
--
On the day *I* go to work for Microsoft, faint oinking sounds will be
heard from far overhead, the moon will not merely turn blue but
develop polkadots, and hell will freeze over so solid the brimstone
will go superconductive.
     -- Eric S. Raymond, 2005
--
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to