TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Square open-sources its Vim repo, Maximum Awesome

245 pointsby JackDangerover 11 years ago

32 comments

mpkover 11 years ago
Not to rain on anybody&#x27;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.<p>Getting started with plugins enabled makes it hard to understand where vim stops and plugins begin and make switching to a different (someone else&#x27;s) vim setup confusing at best.<p>It also tends to feed the &#x27;make it work like the last editor I used&#x27; syndrome, which is completely counter-productive.<p>Otherwise, nice work and good job open-sourcing it!
评论 #6297534 未加载
评论 #6297085 未加载
评论 #6298121 未加载
评论 #6297365 未加载
评论 #6297449 未加载
评论 #6296960 未加载
评论 #6296966 未加载
评论 #6297997 未加载
评论 #6301066 未加载
评论 #6301551 未加载
评论 #6297866 未加载
评论 #6297096 未加载
nilknover 11 years ago
Great to see some love for tmux. Terminal vim + tmux is a lot more powerful than Gvim or MacVim.<p>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 Awesome. Still, that doesn&#x27;t mean these curated sets of plugins are a bad idea--if anything they can serve as a proof of concept for people who aren&#x27;t yet convinced on the value of the editor.
评论 #6300684 未加载
评论 #6297953 未加载
评论 #6297428 未加载
评论 #6298155 未加载
评论 #6297183 未加载
评论 #6300753 未加载
评论 #6298536 未加载
Spiritusover 11 years ago
Am I missing something? What makes this &quot;maximum-awesome&quot;? This is your average vimrc with the regular plugins you seen in every vimrc over at GitHub.
评论 #6297752 未加载
评论 #6298045 未加载
评论 #6297861 未加载
评论 #6297733 未加载
barakmover 11 years ago
As another commenter already pointed out, a common pattern is for people to try such a configuration, and end up starting again from scratch because, frankly, it doesn&#x27;t work for them.<p>Emphasis on &quot;for them&quot;.<p>I&#x27;m not saying you shouldn&#x27;t share your setup. I wouldn&#x27;t have learned vim (or screen back in the day, or pine, or many others) if I didn&#x27;t crib from the dotfiles of those before me.<p>But at some point, your setup becomes so customized to you that you&#x27;re the only one it works for. And that&#x27;s why vim and emacs, ancient editors, still exist -- they&#x27;re stable and can be modernized and tailored to the user over time.<p>This writeup (not mine) I completely agree with: <a href="http://mislav.uniqpath.com/2011/12/vim-revisited/" rel="nofollow">http:&#x2F;&#x2F;mislav.uniqpath.com&#x2F;2011&#x2F;12&#x2F;vim-revisited&#x2F;</a>
评论 #6297265 未加载
robinhoodover 11 years ago
I would love to know why they have chosen Pathogen instead of Vundle to manage plugins. As hard as I try, I can&#x27;t see any reasons why Pathogen is greater than Vundle. Can someone enlighten me?
评论 #6298414 未加载
评论 #6297412 未加载
colinbartlettover 11 years ago
Cool, so everything from tpope and a bunch of other garbage. Nothing new here, move along.
overshardover 11 years ago
This is cool but it seems silly to have the default install method to be using &quot;rake&quot;, I love vim but keep Ruby off most of my systems, what happened to good ol&#x27; fashion shell scripts.
评论 #6296827 未加载
评论 #6297193 未加载
jdgieseover 11 years ago
<a href="https://github.com/johndgiese/dotvim" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;johndgiese&#x2F;dotvim</a><p>Works on windows, linux, and mac.<p>I love vim.
评论 #6297706 未加载
jason_slackover 11 years ago
I seem to be getting an error: Warning: Permanently added &#x27;github.com,204.232.175.90&#x27; (RSA) to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository.<p>Please make sure you have the correct access rights and the repository exists.
评论 #6297281 未加载
Timotheeover 11 years ago
I started using vim about a year ago, by using the janus vim distribution, which was great to get me started. However, I since started again from scratch to know what&#x27;s there and why. So I won&#x27;t be using this at all besides for the implicit recommendations of existing plugins (like the_silver_searcher, which is really crazy fast).<p>Overall, this seems like a great way to get started with vim because it doesn&#x27;t have too many plugins but it still has the minimum features expected from someone who used Sublime or Textmate.<p>edit: looking at their .vimrc, there&#x27;s <i>a lot</i> of stuff that I&#x27;ll use right away. Definitely useful, just not as a straight download&#x2F;install for me.
kippersnacksover 11 years ago
Surprised that people are actually trying this. IMO there are far better configurations out there if you want to try a pre-tailored one. Google for them, i&#x27;ll add my personal favorite here since people are actually up-voting and installing this less than impressive config.<p>If you use ruby&#x2F;rails try yadr <a href="https://github.com/skwp/dotfiles" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;skwp&#x2F;dotfiles</a>. If you don&#x27;t use ruby, it (imo) still has one of the best key maps&#x2F;configs for beginners just delete the ruby plugins.<p>Make it yours: :help every plugin and every setting if you don&#x27;t know what it does. Change any key mappings you don&#x27;t like. It will take about 40 hours to familiarize yourself with everything, that is if you go plugin hunting yourself. I&#x27;m not a believer that starting from scratch is the way to go.<p>Remove vim-snipmate, neocomplicache, vim-snippets, vim-colors-solarized. Remove nerdtree nerdtree, vim-nerdtree-tabs, use :e&#x2F;CtrlP instead.<p>Add YouCompleteMe, vim-detailed, vim-notes, vim-slime, vim-numbertoggle, vim-abolish, vim-startify, vim-textobj-rubyblock, switch.vim, ultisnips, vim-airline, unite (check out unite plugins), vim-expand-region, vim-jsbeatify, extradite, vim-diffchanges, vim-speeddating, goldenview or golden-ratio.<p>This config probably won&#x27;t run well on machines that are older than 2012, in total there are about 90 plugins. Remove any plugins you don&#x27;t need. Look up how to profile your plugins, if one of them is causing things to be slow remove it. Don&#x27;t install anything without reading the help file immediately afterwards.<p>Learning enough vim to match your current productivity is not as difficult as everyone makes it out to be. I was instantly more productive with this setup switching from RubyMine and I still have barely scratched the surface of those help files. Disclaimer: I had picked up the most basic motion &#x2F; visual selection keys previously working over SSH. And I was familiar with window&#x2F;buffer management from using tmux daily.<p>To everyone I highly recommend YouCompleteMe, vim-detailed, vim-notes, and <a href="https://github.com/rking/vim-detailed" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rking&#x2F;vim-detailed</a>.
评论 #6300635 未加载
callmeedover 11 years ago
Ok, got this cloned and installed. If I&#x27;m moving from Sublime to vim, where do I go now?<p>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.
评论 #6297256 未加载
评论 #6298426 未加载
评论 #6297229 未加载
评论 #6297981 未加载
dfbrownover 11 years ago
One minor nitpick is they use snipmate, but Ultisnips[1] is much better and actively maintained<p>1: <a href="https://github.com/SirVer/ultisnips" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;SirVer&#x2F;ultisnips</a>
mmgutzover 11 years ago
Looks pretty much like my setup except Command-T. Command-T is awesome on Mac but it&#x27;s a pain to make work on Linux and not sure about Windows. Moved on to ctrlp plugin.
评论 #6298242 未加载
saidajigumiover 11 years ago
Wonderful, looks like someone (@mislav and @christoomey) has already shaved this yak for me:<p><a href="https://github.com/christoomey/vim-tmux-navigator" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;christoomey&#x2F;vim-tmux-navigator</a><p>&quot;Seamless navigation between tmux panes and vim splits&quot;<p>So great. Off to check another random side-project off the list...
wgingover 11 years ago
Unfortunate that they don&#x27;t mention licensing at all. (EDIT: Whoops, I&#x27;m completely wrong. Sorry. Move along, nothing to see here.) Since they use Git submodules, some licensing is inherited from packages like Command-T and vim-fugitive... but they wrote code themselves as well, so there&#x27;s also that.
评论 #6296838 未加载
评论 #6296786 未加载
ollysbover 11 years ago
<a href="https://github.com/carlhuda/janus" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;carlhuda&#x2F;janus</a> is a slightly more plugintastic distribution. There&#x27;s a lot of plugins included and they&#x27;ve all been configured to work well with each other.
评论 #6297212 未加载
rodlyover 11 years ago
Is there a way to uninstall this? Kill the symlinks and remove the appended .bak from old config?
评论 #6300473 未加载
capkutayover 11 years ago
These are all the features I wanted when I quit Vim for sublime text 2 about a year ago...
wavesoundsover 11 years ago
Do lots of people use let mapleader = &#x27;,&#x27; instead of Ctrl?<p>Also does anyone see where they are setting the &#x2F;&#x2F;&#x2F; to comment? Commentary uses gcc and I don&#x27;t see it in their vimrc.
评论 #6298501 未加载
评论 #6297390 未加载
评论 #6297726 未加载
评论 #6297324 未加载
评论 #6297753 未加载
评论 #6298024 未加载
caiobover 11 years ago
I find it fascinating that my set-up looks nearly the same already. :)
评论 #6299679 未加载
snarfyover 11 years ago
I&#x27;ve been using vim for 19 years and still don&#x27;t know how to use it properly. I try, then I always find some guru that does it better then I would.
misiti3780over 11 years ago
I got it installed, I have installed multiple versions of XCode 5 betas and needed to run:<p>sudo xcode-select -switch &#x2F;Applications&#x2F;Xcode5-DP6.app<p>To get the command=T to compile
评论 #6297264 未加载
Jabeover 11 years ago
If you want to learn Vim while playing a game, try <a href="http://vim-adventures.com/" rel="nofollow">http:&#x2F;&#x2F;vim-adventures.com&#x2F;</a>
taf2over 11 years ago
cmd+t lookup is not a good vim thing... it&#x27;s slow requires me to move my hand to the right to navigate using arrow keys... also it&#x27;s slow. changing files takes significantly longer... it&#x27;s bad enough how slow the iterm.app is on osx and don&#x27;t even get me started on the slowness of the terminal.app -- picky vim user<p>update: i like the empty line space indicators little boxes look cool
评论 #6297483 未加载
评论 #6298457 未加载
lamnkover 11 years ago
What makes this difference from this vim distribution <a href="http://vim.spf13.com/" rel="nofollow">http:&#x2F;&#x2F;vim.spf13.com&#x2F;</a> ?
评论 #6315331 未加载
tambourine_manover 11 years ago
Does NERDTree work over ssh&#x2F;sftp?<p>I remember having tried it once and abandoning because it lacked this feature (or didn&#x27;t work out of the box).
评论 #6298367 未加载
gshakirover 11 years ago
What&#x27;s up with the name &quot;Maximum Awesome&quot;? Sounds teenagish. Anyway, I am a VIM lover and good to see this work.
drtse4over 11 years ago
Shared Clipboard: Just add &quot;set clipboard=unnamed&quot; to your .vimrc and you are done.
oronover 11 years ago
not a cool question but ... I wonder if it will install on windows without problems
评论 #6296794 未加载
tryingvimover 11 years ago
How do you launch this after running rake?
评论 #6307213 未加载
dominotwover 11 years ago
meh..
评论 #6297540 未加载