learnvim
-
$VIMRUNTIME contains the path to the directory for various runtime files for Vim. Sometimes, it's useful to check the default ftplugins.
6:27 PM Apr 29th
from web
-
$MYVIMRC contains the path to your vimrc, of course, if you have it. For example, :edit $MYVIMRC
6:24 PM Apr 29th
from web
-
To jump a bookmarked position, use 'a, 'b, ... 'z, 'A, 'B, ... 'Z.
1:50 AM Apr 26th
from web
-
ma, mb, ... mz to bookmark the current position of the current buffer. These bookmarks are local to each buffer.
1:50 AM Apr 26th
from web
-
mA, mB, ... mZ to bookmark the current file. You can jump to a marked file from anywhere.
1:47 AM Apr 26th
from web
-
You have to invoke a plain, non-configured Vim? This is the way to do it: vim -u NONE -U NONE
1:44 AM Apr 12th
from web
-
dj - delete the current line and the next line.
4:29 AM Apr 11th
from web
-
(Unfortunately, these deleting operations are not undo-able by default.)
4:08 PM Apr 8th
from web
-
Another tip: Add "inoremap <C-w> <C-g>u<C-w>" and "inoremap <C-u> <C-g>u<C-w>" in your vimrc to make these operations undo-able.
4:07 PM Apr 8th
from web
-
Useful shortcut in Insert mode: <C-w> to delete a word before the cursor / <C-u> to delete all entered characters in the current line.
3:58 PM Apr 8th
from web
-
Some useful :help documents: :help notations (of special stuffs) / :help usr_12.txt (more tips) / :help! or :help help! (if you are bored)
8:57 AM Apr 4th
from web
-
Some useful :help documents: :help tips (various tips and ideas) / :help standard-plugin-list and :help local-additions (plugin documents)
8:46 AM Apr 4th
from web
-
Some useful :help documents: :help quickref (quick reference) / :help how-do-i (*** on Vim?) / :help sponsor (if you appriciate Vim)
8:40 AM Apr 4th
from web
-
Don't you know how to browse :help? Let's execute ":help" command. Vim will show how to browse. Memoize this. -
7:06 AM Apr 2nd
from web
-
:help is your friend; 99.99% of questions that you'll ask are written in :help. Mastering how to browse :help is the shortcut to master Vim.
7:02 AM Apr 2nd
from web
-
Tired to type ":" to do an :ex commands? Let's swap ";" and ":" - "noremap ; :" & "noremap : ;". -
6:38 AM Apr 1st
from web
|
|