Live data from Hacker News

SpaceVim – Like Spacemacs, but for Vim

spacevim.org

71–80 of 186 posts

Re: SpaceVim – Like Spacemacs, but for Vim

#71
post #14

The greatest dev timesaving tip that someone gave me was to clear my .vimrc and start off with a blank slate. vim is a language in itself [1] and it's easy to try to mimic someone who has conversational fluency in it, but as with languages, the only way to learn in practice from the start. Projects like SpaceVim try to create an IDE like environment, but because of being terminal driven, it's difficult for anyone to…

truncate -s 0 ~/.vimrc Shorter way: > ~/.vimrc

Smarter way:

    $ mv ~/.vimrc ~/vimrc-reference

Re: SpaceVim – Like Spacemacs, but for Vim

#72
post #16

Oh, yeah! Good old curl | sh via HTTP. Fucking awesome. I wonder how many people get unknowingly pwned while executing such curl | sh instructions. It's not hard at all to MitM HTTP, detect if shellcode is being transmitted, then add your own instructions to it. Or you can just compile a list of known sources that encourage to execute curl | sh and MitM only them if you want to make your exploits even more discreet.…

Even before looking at curl | sh over http, simple copy and paste of code from a web page is a very real security concern.

https://news.ycombinator.com/item?id=5508225

http://www.ush.it/team/ascii/hack-tricks_253C_CCC2008/wysinw...

Re: SpaceVim – Like Spacemacs, but for Vim

#73

The install guide: vim sh mv ~/.vimrc ~/.vimrc_bak mv ~/.vim ~/.vim_bak git clone https://github.com/SpaceVim/SpaceVim.git ~/.vim nvim sh git clone https://github.com/SpaceVim/SpaceVim.git ~/.config/nvim Why do people always expect the average joe user to understand this? What do I do with this? Do I run this in the terminal? Then what? First line opens Vim and it opens 11 files. Now what? This seems like the average…

Check their github page, there's a (or 2) different install instruction(s).

Re: SpaceVim – Like Spacemacs, but for Vim

#74
post #37
post #7

Ok, but what it is? The page doesn't explain it. The top page explanation refers to spacemacs and most vim users don't know spacemacs. Is it a vim plus a bundle of plugins? EDIT: Cleaned up the spacemacs sentence.

It's a distribution, bundling vim with a whole bunch of plugins and configuration that's supposed to work out of the box. Spacemacs is the same for Emacs.

I wish people stopped calling a shared config a 'distribution'

In both Spacemacs and Spacevim, all that's being provided is a config. No runtime, no package manager, no changes to the actual binaries of either app.

It's hyperbole.

Re: SpaceVim – Like Spacemacs, but for Vim

#75
Tried Spacemacs 3-4 times because of org mode. Most specifically inline code block execution, through org-babel. Still not ready to change over from vim, though.

What I haven't done is check neovim. Any comments regarding the potential for inline code execution?

Re: SpaceVim – Like Spacemacs, but for Vim

#76
post #16

Oh, yeah! Good old curl | sh via HTTP. Fucking awesome. I wonder how many people get unknowingly pwned while executing such curl | sh instructions. It's not hard at all to MitM HTTP, detect if shellcode is being transmitted, then add your own instructions to it. Or you can just compile a list of known sources that encourage to execute curl | sh and MitM only them if you want to make your exploits even more discreet.…

curl sh is no more dangerous than running any script you haven't read, or binary you haven't decompiled for that matter. The odds of mitm are exactly the same.

I read OP's comment as ".... via HTTP!!!"

Re: SpaceVim – Like Spacemacs, but for Vim

#77
post #37

Earlier quoted context omitted.

It's a distribution, bundling vim with a whole bunch of plugins and configuration that's supposed to work out of the box. Spacemacs is the same for Emacs.

I wish people stopped calling a shared config a 'distribution' In both Spacemacs and Spacevim, all that's being provided is a config. No runtime, no package manager, no changes to the actual binaries of either app. It's hyperbole.

[deleted]

Re: SpaceVim – Like Spacemacs, but for Vim

#78
post #16

Oh, yeah! Good old curl | sh via HTTP. Fucking awesome. I wonder how many people get unknowingly pwned while executing such curl | sh instructions. It's not hard at all to MitM HTTP, detect if shellcode is being transmitted, then add your own instructions to it. Or you can just compile a list of known sources that encourage to execute curl | sh and MitM only them if you want to make your exploits even more discreet.…

> It's not hard at all to MitM HTTP, detect if shellcode is being transmitted, then add your own instructions to it.

Is there any evidence of this ever happening, anywhere?

Re: SpaceVim – Like Spacemacs, but for Vim

#79
post #37

Earlier quoted context omitted.

It's a distribution, bundling vim with a whole bunch of plugins and configuration that's supposed to work out of the box. Spacemacs is the same for Emacs.

I wish people stopped calling a shared config a 'distribution' In both Spacemacs and Spacevim, all that's being provided is a config. No runtime, no package manager, no changes to the actual binaries of either app. It's hyperbole.

I disagree.

Using and customizing SpaceMacs is considerably different from using plain emacs.

They use their own config system, their own plugin system (aka layers), and the user experience is very different, right from the start.

Of course it's emacs underneath, and you can still do much as with plain emacs, but it's different enough for it to be more than "just a config for emacs".

Re: SpaceVim – Like Spacemacs, but for Vim

#80

I don't get Spacemacs hype. I tried it, and never felt comfortable using it. Started with blank .emacs.d, yeah I completely cleard whole configuration two or three times until I hit sweetspot. Now I'm sitting on ~250 loc config on vanilla emacs (including evil), and eveything works like a charm. Plus I learned a lot about elisp. I never liked those bundles and distributions. They always felt redundant, but I can unde…

I would probably spend more than 100 hours until I got to a point of equivalence with SpaceMacs, starting from a plain emacs.

Especially since I use quite a few different languages.

Ain't nobody got time for that...

Post reply on HN