News for hackers. Stuff that matters.
Re:Show HN: SpaceNeovim – Spacemacs for Neovim by shriek on Sunday September 18, 2016 @09:09PM (#12528150)
How much of an investment is to learn vimscript? I want to write some plugins but I also don't really feel like learning it. Wish I could use different langs but from what I'm hearing I'd have to learn vimscript anyway.
Re:Show HN: SpaceNeovim – Spacemacs for Neovim by flukus on Sunday September 18, 2016 @09:18PM (#12528180)
If you're a programmer, not hard at all. The language is fairly simple and quite powerful these days. It has a few quirks, like variable scoping (global, local, buffer, window, tab), but these are great once you get used to them.

The hard part is learning the API, which takes a lot of googling. Start off writing some helper functions for your own use and turn them into plugins later.

Re:Show HN: SpaceNeovim – Spacemacs for Neovim by Tehnix on Sunday September 18, 2016 @10:57PM (#12528522)
Not that much to be honest, there are some quirks and such as variable scopings (g:, s:, l: a:) and other things, but other than that it's pretty familiar.

A few great resources I found after having googled a ton around was [0] and [1]. If you are very familiar with vim (I'm not really a power user tbh), then all the commands you use with : are supported in vim script. Meaning opening a split in your script is, well, just split.

[0] http://ricostacruz.com/cheatsheets/vimscript.html

[1] http://www.ibm.com/developerworks/library/l-vim-script-1/

Re:Show HN: SpaceNeovim – Spacemacs for Neovim by shriek on Monday September 19, 2016 @12:23AM (#12528891)
That cheatsheet is really well done. Thanks for that.
Re:Show HN: SpaceNeovim – Spacemacs for Neovim by __s on Sunday September 18, 2016 @11:03PM (#12528559)
I learnt it by writing a befunge interpreter: https://github.com/serprex/Befunge/blob/master/bef.vim