viraptor
viraptor

Reputation: 34205

Is there any extendable editor out there with vi-like modes?

I'm looking for a perfect text editor :)

The "must have" list:

I know about viper emacs, but I'm not sure whether I like the idea... Does anyone know about something better?

Clarifications:

I'm not a full time programmer. I'm an admin / programmer / power user who already spends all the time in the console on many hosts at once and 95% of that time, it's vim running. I love vim, but I'm looking for vim-im ;) Eclipse doesn't cut it for me, as most of the time I'm editing configs / dsls with my own syntax files.

Sometimes I do need a kind-of-refactoring plugin for things that I do frequently. I have a proof that it can be done in vim, but it's real pain... You can't request a "previous token in parse tree" for example. The best that you can do is go back char-by-char and check if the word has the same colouring style as a variable/function/whatever (which requests parsing of the file fragment at every check). If I can't extend the editor in simple scripting language, it won't work for me either.

Also I frequently need to have a second terminal just to run something and copy the output to vim. I can't run :!r... because it hangs every tab in vim until the command is finished.

Ah - and linux + console only - I'm not interested in windows world :)

Upvotes: 0

Views: 977

Answers (5)

viraptor
viraptor

Reputation: 34205

Found it after all :)

http://haskell.org/haskellwiki/Yi

Yi supports both vim (with modes and :commands) and emacs keymap. It uses proper incremental parser and is completely extensible with haskell (it interfaces with ghc and compiles your config/plugin + links itself to the result). Tabs, minibuffers and every other cool thing is supported.

I'm using it for the last couple of days and I'm really happy with it.

Upvotes: 2

Eldelshell
Eldelshell

Reputation: 6960

There's a plugin for Eclipse that basically changes the editor for a vim editor.

Upvotes: 0

Kent Fredric
Kent Fredric

Reputation: 57374

Kate/Kwrite in KDE4.2 beta's now has a vim-like mode,

The whole [Esc] --> Command mode deal, the :help and s/ friends features are included.

Its not really a full implementation, but it has some of the basics covered.

There is also the Yzis editor which looks interesting and I can't wait for it to be stable enough to use, which lets you have the power of vim editing everywhere.

I can't wait to be editing my stackoverflow posts in a syntax highlighting editor with full power tools :D

Upvotes: 0

Nik Reiman
Nik Reiman

Reputation: 40420

From one vim'mer to another -- your search is futile, abort, abort, etc..

If you're frustrated at whatever editor your IDE is using (eclipse jumps to mind), then either use vi as an external editor, or get used to the text editor that the IDE uses. The reason being is that nobody, apart from vi users, finds vi natural, and therefore the demand for vi key bindings in any "modern" editor will be radically different.

If you really love vi and terminal mode and all that, use vi. If you want something a bit more intelligent, go with vim.

Upvotes: 2

Related Questions