As a Windows user, I found it difficult to master the Linux and Vim commands.
So are there some cheat sheets to look them up into quickly?
As a Windows user, I found it difficult to master the Linux and Vim commands.
So are there some cheat sheets to look them up into quickly?
Oh, and always navigate using H, J, K and L. That will get you in the best of habits.
Here are some that I have bookmarked from back in the day:
The Linux commands cheatsheets:
I have used this one (PDF) from http://tnerual.eriogerg.free.fr/vim.html and it's quite extensive and useful.
Another good one is this at: http://www.tuxfiles.org/linuxhelp/vimcheat.html. It has a little extra information about the commands.
I've always found that the best "cheatsheet" for vim is in the docs themselves:
:help toc
:help holy-grail
:help index
They're cross-referenced, and easily searchable.
For linux, the apropos
command can be useful - it searches through all the manpages for a term that you give it. You can then use man
to look further.
Here is one about vi (or Vim) I bookmarked:
A blog dedicated to Vim where I have found some nice gems, "Daily Vim: Text Editor Tips, Tricks, Tutorials, and HOWTOs": http://dailyvim.blogspot.com/.
The URL says it all http://www.catswhocode.com/blog/100-vim-commands-every-programmer-should-know
Pretty lame but I tend to use history a lot.
history | grep 'part_of_the_command_i_still_remember_here'
For VIM I use : with the arrow keys a lot for older commands.
This is often faster as looking it up in some cheat sheet for me.