frankerz
Joined 11 years ago
Karma
20
Submissions
7
Member since
Mar 11
Joined 11 years ago
set relativenumber
set number
In your .vimrc
Person A thinks that everyone else is a sexist person with an agenda. Person B who doesn't agree with person A thinks everyone else is a radical feminist with an agenda. It's a never ending cycle of stupidity.
/rant
I think you meant exits instead of exists.
Nice write up btw.
For example (from Wikipedia)
tee >(wc -l >&2) < bigfile | gzip > bigfile.gz
vs
tee < bigfile | wc -l | gzip > bigfile.gz
nnoremap L :tabnext<CR>
nnoremap H :tabprevious<CR>
nnoremap <C-N> :tabnew<CR>
Also if you use offline docs (I only know Zeal) it would be pretty helpful to map the offline doc application to the K key depending on the language
nnoremap K :exec "!/usr/bin/zeal --query ".&ft.":".expand('<cword>')."&"
The above copies the word under the cursor and query it with zeal.