<p>I am a long time user of vi for basic editing of configuration file etc, but I've never digged into all the possibilities that vim offers to the point that I did not care if I use nvi, vim or whatever. </p>
<p>Since the the recent topic about IDE for Go, I've installed vim-go and I am very positive about using vim/vim-go for day to day programming. The problem is, that many things (especially windows/frames/panels or whatever that is called) are over my head and I still freak out a little when I trip over ed. </p>
<p>Do you know a good ressource to learn vim for a guy how knows the very basics (2/3 of what is typically written on a vi(1) coffee mug) so that guy wouldn't want to look back to eclipse or netbeans and quickly learn to embrace the swiftness (heh) of Go? </p>
<p>I am learning Go, btw.</p>
<p><strong>Edit: Thanks all for your recommendations!</strong></p>
<hr/>**评论:**<br/><br/>Hyperion2501: <pre><p>3 links I found good:</p>
<p><a href="http://nextdoorhacker.com/2013/07/05/perfect-vim-setup-for-go/">http://nextdoorhacker.com/2013/07/05/perfect-vim-setup-for-go/</a></p>
<p><a href="http://blog.gopheracademy.com/vimgo-development-environment/">http://blog.gopheracademy.com/vimgo-development-environment/</a></p>
<p><a href="http://www.metal3d.org/ticket/vim-for-golang">http://www.metal3d.org/ticket/vim-for-golang</a></p></pre>adrianojn: <pre><p><a href="http://vimcasts.org/episodes/archive/">vimcasts.org</a></p>
<p>Vim has many ways of managing your workspace (sessions, tabs, windows, buffers). I recommend you to start with <a href="http://vimcasts.org/episodes/working-with-buffers/">"Working with buffers"</a> and <a href="http://vimcasts.org/episodes/the-file-explorer/">"The file explorer"</a>.</p></pre>robertmeta: <pre><p>I would separate your learning curves. Vim is excellent, Go is excellent. Learning Vim or Go -- excellent. Learning a new language and a new editor at the same time tends to have an exponential interaction, making learning both (or either) significantly slower than if done sequentially.</p>
<p>I would learn Go in an editor you are comfortable with, it is really easy to learn, a few weeks later you will know Go. Then I would dive into Vim, and a few decades later you will know a small fraction of Vim! </p></pre>MatthiasLuft: <pre><p>That is indeed a good point. I will take care that vim's learning curve does not distract me from what I actually want to learn at the moment--which is go. </p></pre>cheemosabe: <pre><p>You can always do what I did. Decide to learn vim, try vimtutor, see how hard it is and (the tricky part) spend one year slowly forgetting what you've learnt. Rinse and repeat about 2-3 times until you catch the disease :)</p>
<p>But really, the way that works for me is to go through the basics (vimtutor) a few times, from scratch, until it becomes muscle memory.</p></pre>varun06: <pre><p>I am a recent convert to vim + vim-go, I was using Sublime + Go-Sublime, Sublime was slow for me, I tried to remove packages etc. from sublime but didn't work. So I started learning vim, from vimcasts, some articles, help in vim etc. first I started using vim commands in sublime using vintage/vintageous. then after 2 weeks I jumped to vim full time. It has been more than month and I am using vim + vim-go + tmux as my daily driver. I don't know everything about vimv(don't know if that is possible too :)) but I know enough to get my work done without any issue and if I get stuck on something I use help or internet.</p>
<p><a href="http://vimcasts.org/" rel="nofollow">http://vimcasts.org/</a></p></pre>farslan: <pre><p>vim-go author here. If you already know vi well or at least the basics just check out the wiki with blog posts, faq and screencasts: <a href="https://github.com/fatih/vim-go/wiki" rel="nofollow">https://github.com/fatih/vim-go/wiki</a> Also check out the vim-go documentation to get a feeling about the commands and mappings and how you can combine them. Happy coding!</p></pre>taoofshawn: <pre><p>I saw a video of one of the go developers discussing this topic. Basically vim-go is his editor of choice but only because he already knew vim really really well. He basically recommended to just use go-sublime if you are not already a vim master. </p></pre>grued: <pre><p>I haven't used vim-go, but I'm assuming it's in the class of the equivalent for Emacs that I have used, and probably better... That being said, I would echo that you look more into a major dedicated ide, like intelij eclipse or lite. </p></pre>anacrolix: <pre><p>Yes</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传