News for hackers. Stuff that matters.
Re:Ask HN: Which tools have made you a much better programmer? by nivethan on Tuesday June 09, 2020 @01:20PM (#23468608)
For a very long time I didn't use anything besides just plain vim, 2 biggest things to add to your vim use is undodir and YouCompleteMe. Crazy that I didn't have either of these for so long, undodir I wish was part of the default.
Re:Ask HN: Which tools have made you a much better programmer? by jordanlewis on Tuesday June 09, 2020 @05:36PM (#23471170)
I made persistent_undo as part of Google Summer of Code in 2011. Very grateful I got to do that (and for the mentorship of Bram Moolenaar), and I'm so glad that this became part of your essential workflow. I also can't live without it at this point.
Re:Ask HN: Which tools have made you a much better programmer? by nivethan on Monday June 15, 2020 @12:21AM (#23523772)
Thank you so much! It is very much appreciated and I don’t think I have any cases where I wish it was better. It works exactly like I expect and does what it says on the box.
Re:Ask HN: Which tools have made you a much better programmer? by meitham on Tuesday June 09, 2020 @06:14PM (#23471558)
Thank you for making it, I can't imagine my life without it.
Re:Ask HN: Which tools have made you a much better programmer? by tdfx on Tuesday June 09, 2020 @05:31PM (#23471135)
I switched from vim (with YouCompleteMe) to VSCode about 4 years ago and I've recently discovered the intellisense engine for VSCode is now available as a vim plugin: https://github.com/neoclide/coc.nvim.
Re:Ask HN: Which tools have made you a much better programmer? by mythrwy on Tuesday June 09, 2020 @08:54PM (#23472713)
This makes me realize I really need to update my .vimrc and some plugins.

I've been toting around the same .vimrc for like 6 or 7 years and there are so many better plugins now.

Vim has been probably the most profitable tool I've ever picked up. Or maybe git. But I think Vim.

Re:Ask HN: Which tools have made you a much better programmer? by jerzyt on Tuesday June 09, 2020 @05:16PM (#23471004)
I've been using vim for 20+ years and have never been into extensive customizations. That was part of the attraction, because I had to deal with a lot of remote servers, often off-shore. With out-of-the box vi/vim I could get the most done with the least number of keystrokes. Someone made a comment above about IDE editors with vim emulation. Wish every IDE would do that. RStudio for example is not exactly vim, but I find it close enough. If only Spyder and Jupyter would that.
Re:Ask HN: Which tools have made you a much better programmer? by dwagnerkc on Tuesday June 09, 2020 @09:34PM (#23472923)
I've used these plugins to get vim bindings in Juypter Notebook / Lab.

Jupyter Notebook: https://github.com/lambdalisue/jupyter-vim-binding Jupyter Lab: https://github.com/jwkvam/jupyterlab-vim

Re:Ask HN: Which tools have made you a much better programmer? by jerzyt on Wednesday June 10, 2020 @03:47AM (#23474888)
Thank you sooo much!!!
Re:Ask HN: Which tools have made you a much better programmer? by necrotic_comp on Tuesday June 09, 2020 @02:24PM (#23469222)
To add to this, vim quickfix-reflector ( https://github.com/stefandtw/quickfix-reflector.vim) was life-changing for me.

It lets you modify and save code from the quickfix buffer, so when you search for something and it shows up in the qf, you can do a find replace / edit / etc. This is especially great for mass refactoring / renaming.

Re:Ask HN: Which tools have made you a much better programmer? by Jeaye on Tuesday June 09, 2020 @02:37PM (#23469362)
Woah, that's awesome. I use ^f for ack.vim, so combining that with quickfix-reflector sounds superb. Thank you!
Re:Ask HN: Which tools have made you a much better programmer? by comfydragon on Tuesday June 09, 2020 @05:17PM (#23471011)
By "undodir" are you referring to the "vim-undodir-tree" plugin? Because the "persistent_undo" feature that is built into Vim/Neovim (normally) is what I think of when I hear "undodir".
Re:Ask HN: Which tools have made you a much better programmer? by Teichopsia on Tuesday June 09, 2020 @01:39PM (#23468834)
New(ISH) vim user here. I couldn't figure out how to install YouCompleteMe the other day, but I had not trouble with coc.