Live data from Hacker News

Textmate to VIM

jackkinsella.ie

21–30 of 42 posts

Re: Textmate to VIM

#21
post #10

This is a really good overview. I've only been using VIM full time (more or less) for about a year so I know there's still a lot to learn. Every article has a little hint in there somewhere. I didn't know about moving lines up / down like that.

:t is the "copy" version of the command. It's shorter than :co[py].

Re: Textmate to VIM

#22

    yy
    Copies the current selection, or, if there is no selection, the current line
Nope, if you've already selected something that's going to leave you in the one-y-received-now-please-indicate-the-object-you-want-to-yank state. It's absolutely critical to understand the verb-object grammar of Vim, and understand how visual mode interacts with that. Don't memorize permutations of y, just memorize how to move, and the fact that y yanks.

Re: Textmate to VIM

#23

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…

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.

Fortunately, it's open-source so we have only ourselves to blame and absolutely nothing to complain about.

https://github.com/sublimehq/Vintage

Re: Textmate to VIM

#24

Earlier quoted context omitted.

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.

Fortunately, it's open-source so we have only ourselves to blame and absolutely nothing to complain about. https://github.com/sublimehq/Vintage

[deleted]

Re: Textmate to VIM

#25
post #24

Earlier quoted context omitted.

Fortunately, it's open-source so we have only ourselves to blame and absolutely nothing to complain about. https://github.com/sublimehq/Vintage

[deleted]

Nature abhors monocultures.

Nature abhors them so much that they do not exist in accordance with nature.

Re: Textmate to VIM

#26

Earlier quoted context omitted.

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...

I'm on Windows and Linux, but my reasoning is similar. I also occasionally use the mouse for text selection. On Windows I especially like using GVIM over VIM because of the extremely limited font selection for the Windows terminal.

Re: Textmate to VIM

#27
post #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.

For me, p is for pasting between open buffers, and p is for pasting between programs. This way you can paste from an open buffer, and paste from the system clipboard with no go-between.

vimrc:

    " copy to clipboard
    map y "+yy
    " paste from clipboard
    map p "+p

Re: Textmate to VIM

#29

Earlier quoted context omitted.

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.

Fortunately, it's open-source so we have only ourselves to blame and absolutely nothing to complain about. https://github.com/sublimehq/Vintage

Time and attention are worth something
Post reply on HN