News for hackers. Stuff that matters.
Re:SpaceVim – Like Spacemacs, but for Vim by shmerl on Wednesday January 04, 2017 @02:20AM (#13316332)

    truncate -s 0 ~/.vimrc
Shorter way:

    > ~/.vimrc
Re:SpaceVim – Like Spacemacs, but for Vim by dotancohen on Wednesday January 04, 2017 @06:04AM (#13317211)
Smarter way:

    $ mv ~/.vimrc ~/vimrc-reference
Re:SpaceVim – Like Spacemacs, but for Vim by shmerl on Wednesday January 04, 2017 @11:03AM (#13319339)
I'm trying to avoid cluttering $HOME. In my case it's ~/.config/nvim/init.vim
Re:SpaceVim – Like Spacemacs, but for Vim by bigbugbag on Wednesday January 04, 2017 @05:43AM (#13317116)
Not really shorter as I have to Ctrl+C to get back to shell afterwards.

Anyways my zsh has noclobber set so your command fails with error: zsh: file exists: ~/.vimrc

Re:SpaceVim – Like Spacemacs, but for Vim by stplsd on Wednesday January 04, 2017 @05:50AM (#13317140)
> ~/.vimrc works on bash, but it hangs on zsh because it treats it like cat > ~/.vimrc (> without any command in front of it is not well defined in POSIX) So portable way to do this is like this:

:> ~/.vimrc

Re:SpaceVim – Like Spacemacs, but for Vim by stplsd on Wednesday January 04, 2017 @05:46AM (#13317127)
Or to be completely portable

:> ~/.vimrc