Live data from Hacker News

Square open-sources its Vim repo, Maximum Awesome

corner.squareup.com

91–100 of 145 posts

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

#92

I would love to know why they have chosen Pathogen instead of Vundle to manage plugins. As hard as I try, I can't see any reasons why Pathogen is greater than Vundle. Can someone enlighten me?

Pathogen and Vundle have different purposes: one could be called a "runtimepath manager, it injects the plugins found in ~/.vim/bundle into Vim's runtimepath like if they were installed the standard way, while the other is really a "plugin manager", allowing you to update, install, delete, deactivate plugins.

Because they have different purposes, they must be compared according to your needs.

I don't need a "plugin manager" but I like my plugins to be organized cleanly so I use Pathogen.

If you need something to help you "manage" your plugins, Vundle is a sensible choice but you should compare with VAM or neobundle.

In short, comparing Pathogen and Vundle makes no sense: compare what's comparable.

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

#93

Ok, got this cloned and installed. If I'm moving from Sublime to vim, where do I go now? I know a few basic vim commands (switch modes, edit, write, quit) but have never used it to work on a complete project in a directory.

Start by deleting that crap, then run $ vimtutor until you are comfortable, read :help carefully, try your hands on simple tasks first then augment the complexity… after a couple of months you'll be as productive as before or more and, maybe, ready to do the actual switch.

In the mean time, keep using ST on your projects.

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

#94
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

The whole point of Command-T, FuzzyFinder, CtrlP and friends is to provide "fuzzy" completion. They don't display a list of files for you to navigate with the arrows they display a list of candidates that you refine by typing more characters.

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

#95

I would love to know why they have chosen Pathogen instead of Vundle to manage plugins. As hard as I try, I can't see any reasons why Pathogen is greater than Vundle. Can someone enlighten me?

Chalk it up to different preferences. I prefer Vundle too, never could get Pathogen to work, but Vundle just does for me. But others were using Pathogen before Vundle appeared and have no reason to switch.

What do you mean you could "never get it to work"?

https://github.com/tpope/vim-pathogen#installation

It's literally copy and paste. I understand preferences and taste, but you make it sound like you need a degree in particle physics to make the thing work...

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

#96

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.

It's \\\ and it comes from the commentary plugin. It was the default mapping when it was released but it was changed a few months ago. \\\ is still available, though.

Yes, lots of people use something mappings because they offer a lot more flexibility than and friends. What you use as mapleader is up to you, "," is simply the value suggested in the doc.

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

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

Indeed, it's very unfortunate that tmux doesn't run on windows (under cygwin).

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

#98

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.

Really? I've always used it over SSH without issues.

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

#100

Earlier quoted context omitted.

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

Really? I've always used it over SSH without issues.

NERDTree is totally devoid of any network-related feature.

If you are using it with something like fuse or expandrive you are not using it over SSH but on local files.

If you are using it in a remote Vim via SSH, you are not using it over SSH either.

If you did something like :e scp://foo//bar/ and see a directory listing you are not using NERDTree.

Post reply on HN