Re:Sublime Text 3 Build 3059
by omn1 on Wednesday December 18, 2013 @08:38AM
(#6927384)
As an avid Vim user I really like the regular updates on Sublime Text 3 and I can see how I would enjoy some of its features like multi-cursor support. The shortcuts remind me more of Emacs, though.
Here's hoping that Sublime will continue to be strong and won't go the way of the dodo soon (like Textmate did...).
[ Parent
| on HN ]
Sublime has very solid support for VI keybindings using a plugin that ships with the editor but is disabled by default.
If you are a regular vim user the keybindings in Sublime vintage mode aren't anywhere near adequate. It's more like a cute quirk than a real feature.
>If you are a regular vim user the keybindings in Sublime vintage mode aren't anywhere near adequate.
I find them perfectly fine, and have been using Vim since the mid-nineties, in things like SunOS and HPUX.
You don't have to take advantage of every key command Vim offers to be productive. In fact, focus on the code.
Sublime is missing support for vim actions when used in combination with / or ?
For example:
d/abc (i.e. delete forward until the text 'abc')
or c/abc (i.e. change the text going forward until the text 'abc')
I can workaround most of the missing functionality, but this one is a deal breaker for me. Unfortunately since / just uses the built-in Find feature in Sublime, fixing this is probably non-trivial.You can activate Vintage mode (vi mode). Isn't 100% the same as vi but for me it does the job :-)
I'm a diehard Vim user, but have had to use ST+Vintage to pair on a coworker's computer. It's great for about ten seconds. Then your brain gets tricked into thinking it's actually Vim, tries an unsupported shortcut, and gets horribly confused. Incredibly aggravating.
Re:Sublime Text 3 Build 3059
by unfamiliar on Wednesday December 18, 2013 @11:18AM
(#6928377)
Have you tried the Vintageous plugin? I'd be interested to know if it's any better.
I have, personally. It's great, but this:
{ "keys": ["j", "j"], "command": "set_action", "args": {"action": "vi_esc"}, "context": [{"key": "vi_must_change_mode"}, {"key": "vi_is_buffer"}, {"key": "vi_mode_insert"}] },
{ "keys": [";"], "command": "vi_colon_input", "context": [{"key": "setting.command_mode"}, {"key": "vi_enable_cmdline_mode"}] },
is the reason why I still use Vim.
Re:Sublime Text 3 Build 3059
by johncoltrane on Thursday December 19, 2013 @03:30AM
(#6933510)
The Vim way, for context:
i[nore]map jj <Esc>
n[nore]map ; :