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
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 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 4 years ago.
Improve this question
I'm looking for text editor that run natively on linux which support multi-line tabbar and don't truncate long file names. I'm usually using Notepad++ in Windows.
Here is a screenshot of what I would like (using notepad++):
Please give me recommendation. Thank you.
The top 3 seem to be the following:
sublime, I guy I work with loves this one and it is cross os compatible.
geany, great for if you do programming and are a GTK2 fan.
kate, KDE editor with LOTS of options
vim, what most will tell you to use....
Additionally you can install Notepad++ through Wine, if you just cant live without it. :)
You can do this with atom. It's highly configurable through CSS and even is cross-platform.
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 5 years ago.
Improve this question
Do you know any editor for man(1) pages which work on text screen (terminal and console)? Searching the interned did not gave any useful results as the words are very common.
Or should I learn the details of the format and write it by hand?
You can write it e.g. in markdown then convert it via e.g. pandoc to manpage format ((t|g)roff). Here is the fine manual: http://johnmacfarlane.net/pandoc/README.html .
HTH
Sure, go ahead and learn the format and write it by hand in a regular text editor.
On the other hand, the perl project uses a kind of universal markup called pod and then converts into manpages by running pod2man.
Man pages are written in plain text with a simple markup language called troff.
Actually there are several related markup systems all supported by a set of commands ending in roff: nroff, troff, and the all singing, all dancing super-set groff.
My Mac OS 10.5 systems has a nice summary of the history in man 7 roff.
As others have noted there are several tools around which can convert other markup formats to man pages.
The easiest way is to write content as "reStructuredText" (simpler than wiki syntax) and use docutils to generate manpage from it.
See this tutorial.
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.
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