Live data from Hacker News

Square open-sources its Vim repo, Maximum Awesome

corner.squareup.com

81–90 of 145 posts

Re: Square open-sources its Vim repo, Maximum Awesome

#81
post #13

Not to rain on anybody's parade here, but for first-time vim users I recommend not using any plugins and only selectively adding them one at a time after the basics (buffers, navigation, some ex mode, etc) are at least somewhat familiar. Getting started with plugins enabled makes it hard to understand where vim stops and plugins begin and make switching to a different (someone else's) vim setup confusing at best. It…

Another thing that people often forget when they use plugins on their development machine is that if they happen to ssh into server (or work on another user's machine), it is unlikely that it will contain the same plugins. It is better to become effective at using the bare vi/vim commands first and only use plugins as a time-saver.

Re: Square open-sources its Vim repo, Maximum Awesome

#82
post #23

Great to see some love for tmux. Terminal vim + tmux is a lot more powerful than Gvim or MacVim. That said, I started using vim with Janus and while it convinced me that vim could be a great modern editor, it left me too confused when I tried to make my own customizations. I ended up ditching it and hand-picking my own plugins. I suspect a completely new vim user would likely experience the same process with Maximum…

How is vim + tmux any better than gvim + xmonad + terminals? Just out of curiosity, I may want to test this setup.

Re: Square open-sources its Vim repo, Maximum Awesome

#83

Do lots of people use let mapleader = ',' instead of Ctrl? Also does anyone see where they are setting the /// to comment? Commentary uses gcc and I don't see it in their vimrc.

"," is kinda becoming the "default" key for leader. After multiple years of using it, it has become very natural.

After doing anything for multiple years of anything I'm sure it would feel natural.

Re: Square open-sources its Vim repo, Maximum Awesome

#85
post #45

Looks pretty much like my setup except Command-T. Command-T is awesome on Mac but it's a pain to make work on Linux and not sure about Windows. Moved on to ctrlp plugin.

Why is it a pain on Linux? Are you just referring to having a version of linux with +ruby or did you run into other difficulties?

Re: Square open-sources its Vim repo, Maximum Awesome

#87

Earlier quoted context omitted.

Completely respect where you're coming from, but totally disagree. I made a few abortive switches to Vim that didn't last a week because my productivity was too hampered and the environment too extreme & foreign. To a newcomer like me, Vim's built-in help was less than worthless, since you pretty much need to know the Vim term for what you're looking up to find it. Googling around wasn't much more effective (there's…

> I made a few abortive switches to Vim that didn't last a week because my productivity was too hampered and the environment too extreme & foreign. That was my experience as well. I was pretty comfortable using vim in emergencies but the few times I tried to make it my full-time IDE failed very quickly. Once I stole Gary Bernhardt's dotfiles[1] I was able to stick with it because I didn't have to start from scratch w…

Vim can't be an IDE (it lacks the most important aspects of an IDE), no wonder your attempts failed.

Re: Square open-sources its Vim repo, Maximum Awesome

#88
post #13

Not to rain on anybody's parade here, but for first-time vim users I recommend not using any plugins and only selectively adding them one at a time after the basics (buffers, navigation, some ex mode, etc) are at least somewhat familiar. Getting started with plugins enabled makes it hard to understand where vim stops and plugins begin and make switching to a different (someone else's) vim setup confusing at best. It…

Completely respect where you're coming from, but totally disagree. I made a few abortive switches to Vim that didn't last a week because my productivity was too hampered and the environment too extreme & foreign. To a newcomer like me, Vim's built-in help was less than worthless, since you pretty much need to know the Vim term for what you're looking up to find it. Googling around wasn't much more effective (there's…

The problem wasn't the "extreme & foreign environment", the problem was that you thought wrongly that you could learn Vim as if it were a regular editor.

Learning Vim is a side project: something you do casually, slowly, until and if you are able to do the actual switch.

Those braindead distributions are just smoke mirrors for lazy and pressed people: they provide training wheels but they actively prevent you from actually learning core Vim. They make people $distribution_name users instead of Vim users.

Re: Square open-sources its Vim repo, Maximum Awesome

#89

Does NERDTree work over ssh/sftp? I remember having tried it once and abandoning because it lacked this feature (or didn't work out of the box).

No it doesn't and it only has a subset of the features already available in netrw which comes by default.

Re: Square open-sources its Vim repo, Maximum Awesome

#90
post #82
post #23

Great to see some love for tmux. Terminal vim + tmux is a lot more powerful than Gvim or MacVim. That said, I started using vim with Janus and while it convinced me that vim could be a great modern editor, it left me too confused when I tried to make my own customizations. I ended up ditching it and hand-picking my own plugins. I suspect a completely new vim user would likely experience the same process with Maximum…

How is vim + tmux any better than gvim + xmonad + terminals? Just out of curiosity, I may want to test this setup.

(I use vim+tmux+urxvt+awesomewm)

Basically, terminal multiplexing solves a different problem than window management solves. Terminal multiplexing gets you detach/reattach (letting you switch computers trivially), per terminal splits (which I frequently use in addition to WM tiling, similar to how I use Vim windows in addition to both of those), and better scrolling/highlighting.

Post reply on HN