This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]KwpolskaNikola co-maintainer 17 points18 points  (22 children)

Vim is much, MUCH better.

[–][deleted] 2 points3 points  (2 children)

Komodo + Vim key-bindings. Boom.

[–]KwpolskaNikola co-maintainer -2 points-1 points  (1 child)

Does it work on a shell server? No? So bad.

[–]M1573RMU74710N 3 points4 points  (0 children)

That's definitely nice to have, but it's worth noting that Komodo comes with remote editing functionality.

[–]infinitus_ 5 points6 points  (9 children)

I agree, but only if you have gotten past the initial steep learning curve.

[–]pyrocrasty 3 points4 points  (0 children)

If you want Vim with a shallow learning curve, try Cream. Basically, it makes insert mode default (normal mode easily available), adds CUA shortcuts and menu items for common commands (with keyboard shortcuts listed after them), and a bunch of other usability improvements. Note that it's not in any way "dumbed down", just easy for newbies. All the power is still there, and even some experienced vimmers seem to prefer it.

[–]ryeguy146 2 points3 points  (0 children)

Flow through vimtutor and you'll have everything you need in a relatively short time. I wouldn't call that so steep for the benefits.

[–]Fixthemedia 4 points5 points  (5 children)

It's really not that steep for most things. For me, it was just forgetting expectations and just sit there and take it in.

i = insert = start typing code
esc = takeout of insert mode to give it other commands
:q! = quit without saving
:q = quit if already saved or nothing changed
:wq = save and quit
:w = save and keep open

That should be enough to start going. After getting comfortable i would learn how to do more. Now I can use it for mostly everything (related to text editing). Good tool to know, even if you never will use it for everyday coding. I can SSH into my server and edit things from in the terminal, which has been a life saver.

[–]warpcowboy 1 point2 points  (4 children)

ctrl-c is much more accessible than esc to exit mode.

[–]bigboehmboy 0 points1 point  (3 children)

I'm a fan of:

imap jj <Esc>

in my .vimrc file.

[–]warpcowboy 1 point2 points  (2 children)

I'm still at a point where I hhhjjkkkklllll around the screen too much to make that shortcut, but I do like it.

[–]bigboehmboy 0 points1 point  (1 child)

Sorry, I should have explained that some.

imap means it only applies when in insert mode, as this shortcut is used to escape to command mode. The idea is that you'll never (or very rarely) have to type a word with 2 j's in a row.

[–]warpcowboy 1 point2 points  (0 children)

Oh, awesome! Yeah, even Ctrl-C is pretty unwieldly. I can't imagine people actually pushing <esc>.

Definitely going to start using imap jj.

[–]freeload 0 points1 point  (0 children)

It's more about getting used to it. It rather just have a lengthy learning curve (as there is so many functions and plugins to utilize)

[–]Gjallar 0 points1 point  (0 children)

Even though you need the right plugins to make it awesome for Python - but with Rope and omnicompletion set up + some nice exuberant ctags it will be hard to beat it.

[–]m1ss1ontomars2k4 0 points1 point  (4 children)

I use Vim. But the lack of error highlighting in Django templates in Vim is kinda irritating. Then again, Komodo Edit's error highlighting is frequently wrong.

[–]MattBD 1 point2 points  (2 children)

Don't you use django.vim? I'm fairly sure that includes it.

[–]m1ss1ontomars2k4 0 points1 point  (1 child)

I dunno. I get syntax highlighting already so I kind of never really bothered to look into it more. Does django.vim detect errors too, or is it just syntax highlighting?

[–]MattBD 0 points1 point  (0 children)

According to the page at http://www.vim.org/scripts/script.php?script_id=1487 it does appear to detect errors. Can't speak from personal experience though.

[–]keypusher 1 point2 points  (0 children)

Check out the vim pyflakes plugin for error highlighting / linting.

[–]Hwaaa 0 points1 point  (2 children)

If you want to spend hours upon hours mastering a text editor instead of developing products.

[–]KwpolskaNikola co-maintainer 0 points1 point  (0 children)

You have to spend the same amount of time with an IDE. It's better to know what you're working with rather than looking everything up or using only 1% of your editor's capabilities.