trogdoro / xiki

A shell console with GUI features
http://xiki.org
Other
3.76k stars 207 forks source link

Vim support #4

Closed dariocravero closed 12 years ago

dariocravero commented 12 years ago

Hi!

Is there a way to make Xiki available on vim or is it too attached to emacs?

Thanks for making this happen! The concept is amazing! :)

trogdoro commented 12 years ago

Is there a way to make Xiki available on vim or is it too attached to emacs?

A recent refactor was to make Xiki menus accessible via the 'xiki' shell command. This should make it easier to port it to other editors (and other things that can act as clients). Vim is near the top of the list. Are you in the Bay area? I'm looking for someone to pair with on making the vim plugin.

Thanks for making this happen! The concept is amazing! :)

Thanks! Spread the word :)

Also, you may want to join the google group - http://groups.google.com/group/xiki. When the vim features are implemented there will be discussion there, no doubt.

trogdoro commented 12 years ago

Are you in the Bay area?

Ah, I see you're in Ireland :)

dariocravero commented 12 years ago

Good stuff!! Yup, I'm in Ireland but I'm more than happy to help on building that plugin! :)

trogdoro commented 12 years ago

Cool! Do you know any vimscript, or other ways of extending vim? The first step would probably be to be able to define a keyboard shortcut that invoked a shell command, and inserted the results into vim where the cursor is. You could use the command "echo hello" to get started. Ideally the shortcut would be Command-enter or Control-enter, but if those are already used in vim, something else would probably suffice. It would be cool to be able to do the same when the user double-clicks as well (assuming you use macvim not the console version).

trogdoro commented 12 years ago

Very experimental vim support has been added. It's not very functional but is a good starting point. Turns out it's pretty easy to extend vim with ruby. Check out https://github.com/trogdoro/xiki/blob/master/etc/vim/vim_status.notes

studgeek commented 11 years ago

Should this really be closed with just "It's not very functional but is a good starting point."?

kotp commented 11 years ago

Perhaps it is appropriate to leave this closed. Add another issue(s) with a more specific issue problem description and specific solution?