News for hackers. Stuff that matters.
Re:Sublime Text 3 Public Beta by tlrobinson on Friday June 28, 2013 @01:31PM (#5959204)
Do you think it's possible some people just aren't wired like this? Or am I just not trying hard enough?

I've tried to pick up Vim several times and never made it very far. But at least I know "i" and ":wq" now :)

Re:Sublime Text 3 Public Beta by sixothree on Friday June 28, 2013 @04:14PM (#5960111)
Don't worry. I find vim completely dated, arcane, and esoteric. Sure, it can do almost 25% of the stuff sublime can do but every feature has it's own learning curve.

If I want to select four lines of text in any text editor that isn't vim, I just hold down the shift key and use any of the cursor navigation available to me. Not so in vim.

Upon leaving vim none of the key bindings are never used in any other program. That's antithetical to the manner in which I operate. Normally if a program doesn't support the odd keybinding or two I just use autohotkey or equivalent. But vim makes that impossible.

Re:Sublime Text 3 Public Beta by DigitalJack on Friday June 28, 2013 @04:40PM (#5960239)
I can't comment on the 25% claim, but I've used both extensively and found them comparable.

I personally find the navigation of vim so convenient that I use vimperator for Firefox, as well as the built in vim mode of sublime text.

I totally get that vim is a completely unnatural fit for some people. I certainly don't hold that against them, and I hope they don't hold it against me or vim itself.

Re:Sublime Text 3 Public Beta by nilkn on Friday June 28, 2013 @07:40PM (#5960906)
> Upon leaving vim none of the key bindings are never used in any other program.

That's actually not true at all. Lots of terminal programs have keybindings for stuff like hjkl. Even tig does. And if you're using git from the command line and haven't heard of tig, you need to look it up.

Even many roguelike games support vim keybindings for movement. Brogue is an example.

Re:Sublime Text 3 Public Beta by danieldk on Saturday June 29, 2013 @02:35AM (#5961637)
In fact, most shells (e.g. bash and zsh) have the option to switch from Emacs to vi mode.
Re:Sublime Text 3 Public Beta by jonahx on Saturday June 29, 2013 @06:34AM (#5961981)
`set -o vi` on bash command line to enter vim mode. life changing.
Re:Sublime Text 3 Public Beta by kree10 on Saturday June 29, 2013 @07:25AM (#5962073)
Also, this will turn on vi-style line editing in programs using GNU readline (things like mysql, psql, sqlite3):

    echo "set editing-mode vi" > ~/.inputrc
For programs linked against libedit instead (as on OS X):

    echo "bind -v" > ~/.editrc
Re:Sublime Text 3 Public Beta by lynndylanhurley on Friday June 28, 2013 @05:32PM (#5960458)
The 25% claim sounds a little weird - what are some features that sublime has that vim doesn't have?
Re:Sublime Text 3 Public Beta by hartator on Friday June 28, 2013 @08:24PM (#5961031)
I like the multicursor feature. Vim can't do that.
Re:Sublime Text 3 Public Beta by nilkn on Friday June 28, 2013 @09:27PM (#5961201)
I haven't tried it, but it looks like there's a decent plugin for this for vim: https://github.com/terryma/vim-multiple-cursors
Re:Sublime Text 3 Public Beta by discreteevent on Friday June 28, 2013 @05:27PM (#5960438)
The other approach is to use autohotkey to make everything work like vim.
Re:Sublime Text 3 Public Beta by Legion on Friday June 28, 2013 @03:27PM (#5959881)
> Do you think it's possible some people just aren't wired like this?

Absolutely. Well, maybe I wouldn't call it "wired", but no one tool is right for everyone, and no one should feel bad or wrong for using something different.

I am a Vim lover. You can pry Vim from my cold, dead fingers. But of course it's not for everyone, for the same reason that we don't all use just one programming language or one web framework.

Re:Sublime Text 3 Public Beta by magicarp on Friday June 28, 2013 @02:15PM (#5959512)
I was in your position for about a year until bit the bullet and uninstalled Sublime Text from my machine forced myself to use vim exclusively. It was an arduous and painful 2 weeks, but it got better and paid off in the long run.
Re:Sublime Text 3 Public Beta by tumblen on Friday June 28, 2013 @03:11PM (#5959814)
Why do you need to uninstall? I use Sumblime text in Vintage (VIM) mode and it's amazing!
Re:Sublime Text 3 Public Beta by steinnes on Friday June 28, 2013 @08:14PM (#5961013)
Same here. I'm using Sublime now for larger tasks, as I like the plugins and code completion, but for smaller, more isolated things and remote work vim is still, and will be, my choice.
Re:Sublime Text 3 Public Beta by DigitalJack on Friday June 28, 2013 @04:46PM (#5960265)
I agree. Vintage mode is among the best emulations/mappings of vim that I have used.
Re:Sublime Text 3 Public Beta by DigitalJack on Friday June 28, 2013 @04:34PM (#5960219)
As an avid vim user, I certainly think it might just be a difference in inclinations. Use what works for you. A text editor is not the objective here, building you project is.

If you are burning all your cycles trying to map the natural way your brain wants to operate to the way your text editor operates, what do you have left for the real work?

If you want to learn vim, by all means go ahead. But feel no shame if it just doesn't fit you.

Re:Sublime Text 3 Public Beta by ntide on Friday June 28, 2013 @10:04PM (#5961262)
Try this: http://yannesposito.com/Scratch/en/blog/Learn-Vim-Progressiv...

This is how I learned Vim, so as far as I know it's the best resource out there.

Re:Sublime Text 3 Public Beta by ripter on Friday June 28, 2013 @04:27PM (#5960175)
It's just a steep learning curve. Spend a few years using nothing but vim and it becomes natural.
Re:Sublime Text 3 Public Beta by DigitalJack on Friday June 28, 2013 @04:44PM (#5960258)
That just seems like a waste of time and energy to me. Text editing should not be getting in the way of your projects.

I say this as someone who uses vim very nearly exclusively.