Textmate to VIM
jackkinsella.ie
Textmate to VIM
1–10 of 42 posts
Re: Textmate to VIM
#2Re: Textmate to VIM
#3Nice! 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!
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 (moving lines up): http://i.imgur.com/j226q.png
And here's a screengrab of CheatSheet (http://cheatsheetapp.com), a utility for quickly reviewing shortcuts in any OSX app, being applied to Sublime: http://i.imgur.com/HPUB4.png
Alternatives for these are available for other platforms, should you not be using OSX. Seek and you shall find :)
Re: Textmate to VIM
#4Nice! 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…
Use whatever works best for you, not whatever you already paid for.
Re: Textmate to VIM
#5If you need to save before opening another file, then you should add set hidden to your ~/.vimrc
It is a crime this isn't the default.
Re: Textmate to VIM
#6Earlier 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…
On the other hand, continuing to use something merely because you already paid money for it is a sunken costs fallacy. Use whatever works best for you, not whatever you already paid for.
This is why we can't have nice things.
Re: Textmate to VIM
#7Nice! 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!
nnoremap sw kddpk
After that press ,sw to move the line upward.
Re: Textmate to VIM
#8Earlier quoted context omitted.
On the other hand, continuing to use something merely because you already paid money for it is a sunken costs fallacy. Use whatever works best for you, not whatever you already paid for.
Thank you for completely overlooking any of the relevant issues I have attempted to alleviate. This is why we can't have nice things.
As far as I can tell he wasn't even asking for help with sublime, nor did he lay out his reasons for wanting to switch away.
Re: Textmate to VIM
#9cmd-c is "*yy in vim. Just yy writes to vim's internal clipboard, not to the system clipboard.