Live data from Hacker News

Square open-sources its Vim repo, Maximum Awesome

corner.squareup.com

41–50 of 145 posts

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

#41

I seem to be getting an error: Warning: Permanently added 'github.com,204.232.175.90' (RSA) to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

This is a common git error, try http instead of ssh

git clone https://github.com/square/maximum-awesome.git

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

#42

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.

Type vimtutor at the command line to get started. Theres also a game: http://vim-adventures.com I thought was fun

I'm sure that most people, like I at first did, are wondering how useful a game could really be. Answer: Very, very useful. I think Vim Adventures was a way better headstart for me to learn the Vim style of thinking than pretty much anything else could be.

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

#43

I seem to be getting an error: Warning: Permanently added 'github.com,204.232.175.90' (RSA) to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

This is a common git error, try http instead of ssh git clone https://github.com/square/maximum-awesome.git

that worked, what is the common error though?

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

#44

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.

I've never heard of anyone uses ctrl as a leader. I do use comma myself.

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

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

Agreed, also goes for Emacs. Not a fan of starter kits, they tend to confuse experienced users and newbies alike.

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

#47

I got it installed, I have installed multiple versions of XCode 5 betas and needed to run: sudo xcode-select -switch /Applications/Xcode5-DP6.app To get the command=T to compile

How? I executed: git clone git@github.com:square/maximum-awesome.git && cd maximum-awesome && rake and I get: $ git clone git@github.com:square/maximum-awesome.git && cd maximum-awesome && rake Cloning into 'maximum-awesome'... Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

wavesounds answered this below.

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

#48

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.

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

#49

I seem to be getting an error: Warning: Permanently added 'github.com,204.232.175.90' (RSA) to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

This is a common git error, try http instead of ssh git clone https://github.com/square/maximum-awesome.git

I get an error when running rake:

Checking connectivity... done Submodule path 'vim/bundle/jshint': checked out 'da21f0eb658d9af6696ee34a00c13d1717d85095' Cloning into 'vim/bundle/kwbd'... Permission denied (publickey). fatal: Could not read from remote repository.

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

#50

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.
Post reply on HN