Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Years ago I was looking for a way to learn Vim that didn't involve a wall of text, or scrolling through vimtutor without knowing the commands to do so. I wondered if anything else existed for such a purpose.
I programmed a game just for this purpose! It's an online game where you move the cursor using vim commands and motions. Check it out on http://vim-adventures.com.
The first couple of levels teach hjkl and word navigation. The rest is planned to cost money.
Interactive tutorial:
http://www.openvim.com/
HJKL-learning game:
http://www.vim.org/scripts/script.php?script_id=3409
Screencasts:
http://derekwyatt.org/vim/tutorials/index.html
http://vimcasts.org
To answer your question: vimtutor is the good way to interactively learn vim. If you read through it, it gives you all the necessary commands to go through it, and you actually learn to use vim.
If that's too much effort, I really doubt vim is for you.
Old question, but for others looking for something similar that has not been mentioned: https://www.shortcutfoo.com/
http://kikuchiyos-vim-game.herokuapp.com
Spiked this mid 2011, around time vim adventures was made, but never went nearly as far as vim adventures did. Never got much play, but still a free alternative for anyone interested in getting over the vim learning curve - basic movement and changing modes.
haven't used it, but it looks close to what you're asking for
http://www.openvim.com/tutorial.html
For the very beginner http://vimsnake.com is also a nice one.
It will interestingly improves the muscle memory for keys h,j,k,l, esc and i
Now after getting prepared for those keys, we can move to http://www.vimgenius.com/ for learning. It is just similar and alternative for shortcutfoo.com and more it is vim specific.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
Where to find good tutorial or documentation of vimL . any one has experience making plugin for vim or neovim ?
Official documentation is pretty good for Vimscript itself and also for some aspects of plugin writing see :help usr_41.txt (or https://vimhelp.org/usr_41.txt.html).
Learning Vimscript The Hard Way is good too. It does not cover everything in detail, just goes through concepts and expects you to self-study on topics as you go through it - so you will still need to refer to usr_41.txt. From Chapter 41 it is about creating complete new plugin.
For plugins, there are many techniques to grasp in. I think best way how to learn is to take some recent and maintained plugin in area you are interested in (syntax, code completion, integration with other software, interface enhancement, etc.) and read and play with its code, hack it to understand how it works. My favorite one for this is vim-go as it covers a lot of areas and while it is pretty big it is fairly easy to understand, well commented and generally readable.
The best one I know of is https://learnvimscriptthehardway.stevelosh.com/. And reading vim helppages is always helpful
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am new to Vim and after using it for about 3 days i am in love with it. I used sublime-text before this and i decided to try vim because i heard a lot of people (maybe some) hate and love it. I know that learning Vim require time investment + patience but for the basic shortcut and command I am okay preety smooth but when i reach the .vimrc configuration I start to feel frustrated and 'uhhh'. Overall I like the way how the work-flow goes and in the past 3 days i manage to implement the basic shortcut.
I watched and read a lot of tutorial, and most of it asked us to find "someones .vimrc configuration and use it". I searched at Google 'vim .vimrc', I found 2 links from Github and I am amazed with all the massive lines and I was like 'What! How am i going to understand what each of this line for!' :/ i tried to search all the 'set' and the basic config but i am not happy without knowing what each of the line does. Please if anyone here can help me or explain how the configuration works. I tried the :help and there were about 8000 lines .>< for now i am using the https://github.com/tpope/vim-sensible Vim-Sensible and i am hoping to know how it work. Thanks guys.
For plugin, I think it's fine for now.
What you see in people's posted ~/.vimrc files either is:
the result of years of using and tweaking Vim; don't be intimitated, just start out small and it will grow automatically with your continues use (hopefully in a benign way). The mentioned vim-sensible plugin is a good way to start.
just copied from colleagues / somewhere on the net without real understanding; this is dangerous and best avoided. Vim "distributions" like spf-13 and Janus lure you with a quick install and out-of-the-box settings, but you pay the price with increased complexity (you need to understand both Vim's runtime loading scheme and the arbitrary conventions of the distribution) and inflexibility (the distribution may make some things easier, but other things very difficult). Vim is incredibly customizable, using someone else's customization makes no sense. Doubly so for canned, ready-made "distributions".
Yes, the built-in :help is large, but you don't need to read it in one go :-) It is excellent, too, and contains most of what you need - for years to come!
This article by Vim's creator explains the philosophy behind Vim very well (there's also a recorded talk): start small, using only basic commands (also taught by vimtutor), and gradually become a master of all kinds of text editing tasks!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
vim comes with a nice built-in interactive tutorial. You can access this tutorial by just running:
$ vimtutor
It is very easy to use because it creates working cases for basic commands. Is there a more advanced tutorial? Has any one thought to build one to help uses take their VIM skills to the next level? Most tutorial and cheat-sheet sites out there for vim only show commands but not necessarily specific uses and examples.
Is there an advanced tutorial out there?
Is this the type of project that could be an open source document that everyone can add examples to? Like a Vim Interactive Wiki or similar to the RegEx sites that have the built in regex testers.
It's not exactly a tutorial, but I've been impressed with #nelstrom's growing collection of screencasts at vimcasts.org:
http://vimcasts.org/episodes/archive
Each short video covers a single topic (or a small set of closely-related topics), and the ones I've watched have been informative and enjoyable. The author says that "the aim is to provide something in each episode that you can take away and use," and I'd say he's succeeding.
Try the interactive vim tutorial online here: http://www.openvim.com/tutorial.html
If you're interested in a game for Vim, there's Vim-Adventures. As of April 22, 2013, it has 12 levels and covers a wide berth of topics. If you like it, you can buy it. There is also VimGolf for sharpening very specific golfing skills. It's not useful on average, but take a look at some of the impressive entries.
I've been working on a more modern and interactive system for tutorials inside vim, vim-tutor-mode. The goal is to provide an updated tutorial for newcomers, and a way for third party developers to create tutorials for plugins. It currently has an updated version of vimtutor, and some more things.
Have you read the various stuff in :help? :help to get a general table of contents, :help usr_toc to access the table of contents of the User Manual -- chapters 20 through 32 of the user manual are on advanced editing topics, as is everything under the "Advanced Editing" heading in the main TOC. Chapters 40-44 of the manual discuss programming vim.
For those of you who prefer books I think Practical Vim: Edit Text at the Speed of Thought by Drew Neil does the perfect job as a continuation for vimtutor
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
As I don't use vi all that much and certainly not for my primary editor, I can't remember any of the vi commands. Does anyone have a recommendation for a quick start guide or command summary?
This is the best to keep in your desk, full of coffee works great :-)
(source: thinkgeek.com)
The Mug of Vi References
I also like the VI Editor Pocket Reference book.
Learning the vi editor by Arnold Robbins and Linda Lamb
A little companion for quick reference (by A. Robbins) is also available.
A good cheat sheet you can print out is here: http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html
type vim-tutor
http://www.vim.org/htmldoc/
It is a html version of the help also available from vim itself with the :help command.
I started to use vi recently. One way to get references is to bookmark some commonly used commands:
VIM Introduction and Turoial. I
referred to this many times at the
beginning. Now I use it less often
VIM Quick References Card.
Quick reference by groups.
I added some links like those to my foxmarks so that I can sync these links at home and work.
Excellent book, and links in other answers. If you are in Vim, don't forget the old faithful:
<ESC>:he<Return>
I've been using this vi reference: http://www.digitahsystems.com/vi_ref.html
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
How can I improve the look and feel of my Linux desktop to suit my programming needs?
I found Compiz and it makes switching between my workspaces (which is something I do all the time to make the most of my 13.3" screen laptop) easy and look great - so what else don't I know about that make my programming environment more productive/pleasing?
#Rob Cooper - thanks for the heads-up, hope this reword addresses the issues
I found that the best programming experience comes from having quick access all your tools. This means getting comfortable with basic command line acrobatics and really learning keyboard shortcuts, flags, and little productivity apps.
I find that most of my workflow comes down to just a few apps and commands:
Terminator
SVN commands - ci, co, status, log, etc.
Command Line FTP
Vim
Basic Command lines operations (cd, rm, mv, cp, touch, grep, and std i/o redirection comprise 80% of my work day)
Not to say that GUI apps aren't necessary. A few I use:
Diffmerge
RapidSVN
Filezilla
VirtualBox
GnomeDo (this really should be first)
When it comes down to it, the real improvement in programming experience comes from just that - programming experience. Just pick a set of tools and stick with them until you know them inside and out.
I've used by Ubuntu desktop for some coding sessions. I haven't settled on an IDE, but if I'm not using gedit, I'll use emacs as my editor. Sometimes I need to ssh to a remote server and edit from there, in which case emacs is preferred. I'm just not the vi(m) type.
Maybe I'll try out Eclipse one day...
I love Compiz, but it does nothing for my coding experience. It's just eye candy. You can do desktop switching and Alt-Tab just fine without it. Aside from that, Jeff Atwood's recommendations for good chair, multi-monitors, and simplistic background still apply for me.
If you have half decent 3D acceleration on board, CompizFusion adds attractive desktop effects like mapping your workspaces onto a cube using that to switch between them/move windows between them. Looks pretty and improves general usability - great!
http://en.wikipedia.org/wiki/Compiz