Live data from Hacker News

Square open-sources its Vim repo, Maximum Awesome

corner.squareup.com

51–60 of 145 posts

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

#51
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…

The only thing I really like about MacVim as opposed to Terminal vim + tmux is how fast the cursor moves can move around.

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

#52
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…

That is a sensible suggestion, I would go further and suggest that new users impulsively reject answers to questions "How do I do X in vim" that are "use plugin y" and find a native way of doing it, because plugins will increase the difficulty in working in new environments.

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

#53
post #30

cmd+t lookup is not a good vim thing... it's slow requires me to move my hand to the right to navigate using arrow keys... also it's slow. changing files takes significantly longer... it's bad enough how slow the iterm.app is on osx and don't even get me started on the slowness of the terminal.app -- picky vim user update: i like the empty line space indicators little boxes look cool

You can hold down CTRL and use j/k to move up/down (so you don't have to use the arrow keys). It can be slow on very large directories.

I switched to CtrlP last week because I switched OSes at work and didn't want to recompile vim and Cmd+t. In the past CtrlP was significantly slower, but I found a few new features that actually makes it faster than Cmd+t for me; it automatically navigates up looking for a .git or .svn to search from instead of cwd, and you can set up caching (persistent between sessions) and max num of files to scan--I believe you can set a timeout, too. I also setup a filter so my build folder and docs won't show up.

Since finding Cmd+t, it's been the fastest way to navigate to files in a project (especially when they're not in the same directory).

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

#54
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 a lot of garbage in the Wikia for Vim that comes up at the top of many searches).

In the end, I needed to read these two "gentle" introductions to Vim to even understand what it was all about:

http://stevelosh.com/blog/2010/09/coming-home-to-vim/

http://yehudakatz.com/2010/07/29/everyone-who-tried-to-convi...

…and then I needed a mostly-well-documented distro like Janus (https://github.com/carlhuda/janus) to ensure that my productivity wouldn't take a huge hit those first few weeks.

Some folks can probably go all-in cold turkey, but I needed the training wheels.

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

#56
post #51
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…

The only thing I really like about MacVim as opposed to Terminal vim + tmux is how fast the cursor moves can move around.

This. I still do not understand why the OSX terminal is so damned slow.

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

#58
post #56
post #51

Earlier quoted context omitted.

The only thing I really like about MacVim as opposed to Terminal vim + tmux is how fast the cursor moves can move around.

This. I still do not understand why the OSX terminal is so damned slow.

Me either. It's really the only thing stopping me from deleting MacVim.

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

#59
Wonderful, looks like someone (@mislav and @christoomey) has already shaved this yak for me:

https://github.com/christoomey/vim-tmux-navigator

"Seamless navigation between tmux panes and vim splits"

So great. Off to check another random side-project off the list...

Post reply on HN