crosus.blogg.se

Sublime vim mode
Sublime vim mode












At month endĪt the end of a month with Vim, I felt at the point of no return. I’ll document some of those challenges and workarounds for interested parties but any reader merely interested in where I was at, efficiency wise, having used Vim solidly for a month, I’ll do my best to summarise that now. vimrc (the gateway to Vim sanity) became a daily ritual. Although the utter “Help me I’m drowning” feeling of the first week had gone, every day required some investigation to solve a problem the ‘Vim way’. “When you’re going through hell, keep going”Īt this point, rather than un-learn the basic Vim-fu I had picked up, I decided to see out the month with Vim.īattling through the many frustrations and difficulties with Vim was not easy. I was stuck in a horrid limbo land: unable to be fully effective in either editor. What do I actually mean by that? In Sublime Text, I now felt like I couldn’t easily select CSS rules, leap to lines down/up the page with relative numbers, skip along a line to a character with the f key, or make a selection to a specific point. Realising I’d been ‘Vimmed’Īfter starting Sublime Text and attempting to get back to work I quickly realised I had been ‘Vimmed’. What on earth was I doing wasting my time with this aged abomination? It was time to fire up Sublime Text and head home. No-one on my team uses Vim so when I need Tom’s help with my JS I have to fire up Sublime Text anyway.Īt this point of using Vim, I was also considerably slower in Vim than I was in Sublime Text (having been using Sublime Text solidly for a couple of years) maybe 60% of my normal speed.

sublime vim mode

  • There’s no minimap or CMD+R for quick declaration jumping in Vim (both these are fantastic in Sublime Text).
  • Sublime Text 3 Vintage mode gets some way towards it but it is a poor relation (just off the top of my head I know for example that Vip doesn’t work in Sublime).
  • Vim’s command mode selection capabilities are immense.
  • Sublime Text 3’s project switcher is fantastic.
  • Unlike Sublime, Vim has no vertical indent guides (there is a plugin but it only works on soft tabs and I’m a hard tab kind of guy).
  • Sublime lints ‘on the fly’ via the Sublime Linter plugin.
  • Vim has no ‘live’ linting, Syntastic (a Vim plugin) lints the file when the buffer (file for our purposes) is written/saved to disk.
  • In Vim, gg takes you to the top of a file, in Sublime CMD+Up does the same.
  • Here were a few comparisons I was considering:

    sublime vim mode

    Subsequently, I was weighing Vim up against Sublime Text. Starting the second week using Vim for my HTML/CSS/JS editing, I was struggling badly productivity was down and I was questioning the wisdom of my experiment. Would I recommend Vim for front-end coding?.This post is a conclusion to that experience, having now used Vim as my editor for an entire month.

    sublime vim mode

    In the last post I wrote about my first seven days attempting to use Vim as my text editor.














    Sublime vim mode