Live data from Hacker News

Textmate to VIM

jackkinsella.ie

11–20 of 42 posts

Re: Textmate to VIM

#11
post #2

Nice! I just recently switched from Sublime to Vim... this will come in handy!! I've been trying to figure out how to do "Move selected text up" in Vim... Thanks!

There's no need to abandon something you've paid money for to utilise features which are otherwise free... http://www.sublimetext.com/docs/2/vintage.html https://github.com/sublimehq/Vintage If you're fortunate enough to be using Sublime on OSX, finding a shortcut is easy as: 1. Opening the help menu - "Command-?" (Command-Shift-/) 2. Entering search terms Here's a screengrab of the process for your particular query…

Very true, I am mostly experimenting to see what the hype with Vim is. I meant that I already knew the sb2 shortcut, just not the translation to Vim/MacVim... thanks anyway though!!

I haven't actually abandoned sublime text 2... for the time being i've been using vintage mode as you suggested. I've went cold turkey with MacVim for weekend projects but I still use sublime with vintage for work. If I do reach that tipping point where straight Vim is easier/faster/nicer then I would jump ship.

Re: Textmate to VIM

#12
post #9

cmd-o, cmd-s and so on Just Work in macvim too. cmd-c is "*yy in vim. Just yy writes to vim's internal clipboard, not to the system clipboard.

I prefer my default vim clipboard to be the system clipboard:

   set clipboard=unnamed
Being able to yank and then paste in other software (or vice versa) is pretty handy.

Re: Textmate to VIM

#13
Why are people moving to vim? I've used it for a long time, but mainly because used vi back in the late 80s, and it was the most familiar cross-platform style of editor at the time. I don't think it's that much more (or less) powerful than the other really good editors (Emacs included).

TextMate seemed really awesome, as did BBEdit, so why not stick to what you know?

Re: Textmate to VIM

#14

Why are people moving to vim? I've used it for a long time, but mainly because used vi back in the late 80s, and it was the most familiar cross-platform style of editor at the time. I don't think it's that much more (or less) powerful than the other really good editors (Emacs included). TextMate seemed really awesome, as did BBEdit, so why not stick to what you know?

This was my question as well. I have seen it a lot. I understand it for people that have vim ingrained in their fingers (muscle memory).

I do not understand the reason for this at all for people who don't know vim. There are plenty of other editors that are just as feature rich, if not more so (Sublime and PSPad come to mind). Also, if you need the GUI based macvim, you lose the most important feature of vim and the actual main reason for its popularity today: the ability to edit files locally or remotely inside a shell that supports only text.

Then again, choosing inferior technology is actually quite common these days, as the widespread use of Rails easily demonstrates.

Re: Textmate to VIM

#15

Why are people moving to vim? I've used it for a long time, but mainly because used vi back in the late 80s, and it was the most familiar cross-platform style of editor at the time. I don't think it's that much more (or less) powerful than the other really good editors (Emacs included). TextMate seemed really awesome, as did BBEdit, so why not stick to what you know?

I moved to Vim from TextMate during a period of my life wherein I was only developing on a 13" Macbook, and found that the amount of screen real estate required to run my terminal for testing, TextMate, and my browser to be unacceptable. With Vim I could simply run it in the terminal, split my screen with TMUX, and run my tests.

I've stayed with Vim because I find it has very efficient means of manipulating text, and tends to stay out of my way. I feel encumbered when using Sublime Text 2, or TextMate (though less so with the former).

Re: Textmate to VIM

#16

Why are people moving to vim? I've used it for a long time, but mainly because used vi back in the late 80s, and it was the most familiar cross-platform style of editor at the time. I don't think it's that much more (or less) powerful than the other really good editors (Emacs included). TextMate seemed really awesome, as did BBEdit, so why not stick to what you know?

1) Ubiquity - it works on OS X, Linux, Windows, etc. No matter what platform I am working on, I can have a common editing platform. I own a BBEdit license, have used TextMate, Sublime, and Ultraedit in my Windows days, but for most tasks I now use Vim because it is the same everywhere.

2) Speed - Closing out 1 year of working in a terminal more than a UI (from a decade prior of working with Windows), I am finding Vim more "convenient" (edit: another comment uses the term "efficient"). I am by no means an expert, but moving text around in Vim feels faster. It takes time to master, but I am finding value in the effort.

I still prefer GUI based editors for certain tasks - visual diffs for example (BBEdit, Cornerstone), and use a GUI for database development (DbVisualizer for schema browsing and simple ERDs), but plain old Vim is becoming a habit.

Re: Textmate to VIM

#17

Why are people moving to vim? I've used it for a long time, but mainly because used vi back in the late 80s, and it was the most familiar cross-platform style of editor at the time. I don't think it's that much more (or less) powerful than the other really good editors (Emacs included). TextMate seemed really awesome, as did BBEdit, so why not stick to what you know?

This was my question as well. I have seen it a lot. I understand it for people that have vim ingrained in their fingers (muscle memory). I do not understand the reason for this at all for people who don't know vim. There are plenty of other editors that are just as feature rich, if not more so (Sublime and PSPad come to mind). Also, if you need the GUI based macvim, you lose the most important feature of vim and the…

MacVim can have all of it's toolbars removed (that's what I do). The only reason I use MacVim over vim in a terminal is because I hate hunting for my editor in all of the tabs I generally have open in my terminals...

Re: Textmate to VIM

#18

Why are people moving to vim? I've used it for a long time, but mainly because used vi back in the late 80s, and it was the most familiar cross-platform style of editor at the time. I don't think it's that much more (or less) powerful than the other really good editors (Emacs included). TextMate seemed really awesome, as did BBEdit, so why not stick to what you know?

>TextMate seemed really awesome, as did BBEdit, so why not stick to what you know?

I think the problem with Textmate is that it appears to effectively be abandon-ware. I and many others are skeptical that a final, complete version of 2.0 will ever be released, and the source-code dump makes it seem even less likely. Second-system syndrome is alive and well.

In general, it's not a good idea to continue investing time and effort in software that will eventually cease to be available or updated. Given the persistence of vim and emacs, it seems unlikely that either will be abandoned in any reasonable short- to medium-term timeframe.

Re: Textmate to VIM

#19
post #2

Nice! I just recently switched from Sublime to Vim... this will come in handy!! I've been trying to figure out how to do "Move selected text up" in Vim... Thanks!

There's no need to abandon something you've paid money for to utilise features which are otherwise free... http://www.sublimetext.com/docs/2/vintage.html https://github.com/sublimehq/Vintage If you're fortunate enough to be using Sublime on OSX, finding a shortcut is easy as: 1. Opening the help menu - "Command-?" (Command-Shift-/) 2. Entering search terms Here's a screengrab of the process for your particular query…

Unfortunately, Sublime's vintage-mode is very deficient in even the intermediate level Vim bindings. I'll fire it up every week or so, frown after a few minutes, and go back to MacVim.

Re: Textmate to VIM

#20

Earlier quoted context omitted.

There's no need to abandon something you've paid money for to utilise features which are otherwise free... http://www.sublimetext.com/docs/2/vintage.html https://github.com/sublimehq/Vintage If you're fortunate enough to be using Sublime on OSX, finding a shortcut is easy as: 1. Opening the help menu - "Command-?" (Command-Shift-/) 2. Entering search terms Here's a screengrab of the process for your particular query…

Very true, I am mostly experimenting to see what the hype with Vim is. I meant that I already knew the sb2 shortcut, just not the translation to Vim/MacVim... thanks anyway though!! I haven't actually abandoned sublime text 2... for the time being i've been using vintage mode as you suggested. I've went cold turkey with MacVim for weekend projects but I still use sublime with vintage for work. If I do reach that tipp…

I think if you're happy with what you're using, stick with it.

I switched from pico/emacs/TextMate/Notepad++ to VIM about three years ago. I always hated vi. I love it now, and really wish I would have switched earlier. But the advantages don't become obvious until you make yourself to live with it for a while. The initial learning curve is pretty steep, but once you get over that hump it's pretty easy going.

This is very different from emacs, which was very easy for me to do simple tasks but very hard for me to do anything complicated. It's also different from pico, TextMate, and Notepad++, which are easy to pick up but plateau, sometimes leaving to write a script to do what you need.

Using a vi-like mode for another editor doesn't really cut it, not unlike an emacs-workalike that isn't built atop a powerful scripting language. For me, it's about the way commands stack and compose rather than using hjkl instead of arrow keys.

Good luck and have fun!

Post reply on HN