News for hackers. Stuff that matters.
Re:Zed Editor automatically downloads binaries and NPM packa... by vergessenmir on Monday July 08, 2024 @04:18AM (#40903555)
Jetbrains has a decent golang IDE. I don't use it because I use Vim. Vim's not for everyone.
Re:Zed Editor automatically downloads binaries and NPM packa... by mu53 on Monday July 08, 2024 @06:14AM (#40904110)
Their ideavim plugin is pretty good. I didn't know at first, but it support an .ideavimrc file that allows you to set your own commands. Pretty much anything that you can do in a jetbrains product is connected to a command id that you can connect to a vim shortcut.

Include the most popular vim plugins as well. Easy motion and Nerdtree. Doesn't support language specific plugins, but core jetbrains products covers that

Re:Zed Editor automatically downloads binaries and NPM packa... by kmarc on Monday July 08, 2024 @04:53AM (#40903743)
I do the same (not for golang tho). However, vim plug-ins also "have network access", in fact they can just "system()" and call anything. No sandboxing at all. At least the source code of these plug-ins are not obfuscated/compressed.

However, this makes me wonder how much of a surface attack this is.

Re:Zed Editor automatically downloads binaries and NPM packa... by rfoo on Monday July 08, 2024 @08:21AM (#40904761)
Do you pin your plugins down to commit hash?
Re:Zed Editor automatically downloads binaries and NPM packa... by kmarc on Monday July 08, 2024 @11:45AM (#40906402)
I did in the past.

Now I just run `:PlugUpdate` and hope that whatever comes from GitHub, is seen by the manyeyeballs. I certainly don't check all the diffs.

Re:Zed Editor automatically downloads binaries and NPM packa... by veeti on Monday July 08, 2024 @05:11AM (#40903847)
Did you try IdeaVim?