New blog domain: kula.blog

It's still work in progress but new posts will be published on  https://kula.blog/ Thanks to 11ty base blog RSS is working from the start so it should be easy to add to your reader if you still use any :) If now then I hope you can sign up to the newsletter where I'll be publishing new posts and interesting articles to it from time to time. Please use  kula.blog  from now on.

Vim for JavaScript

On reddit there is interesting movement to create list of all Vim command that are especially useful for JavaScript development.

I do not copy this list, just see it at reddit: http://www.reddit.com/r/vimcommands/top/?sort=top&t=all

Some of them are new to me and I will try to use them like:

  • gf - open file whose name is under the cursor
  • :3 - go to line by number
  • yy, p - yy copy current line, p - pastes it below
  • :vsp file - open file in vertical new window
  • Ctrl-ww - switch between windows
  • <Ctrl-v><number>jI#<ESC>- comments lines (inserts #), number - of lines (arrows doesn't work for me, but you can insert many number of numbers eg. <5><2> = 7), then j nad UPPERCASE i, last text to insert.
  • <ctrl-v><number>jx - deletes column - undo comment
  • gg=G - format entire buffer (gg - beginning of file, = - auto indent, G - end of file)

Comments

Popular posts from this blog

How to simulate slow connection (developer proxy in Node.js)

Safari Mobile CSS VW and VH units bug.