Correct VIM auto indent issue for YAML files
Add following lines in ~/.vimrc
filetype plugin indent on
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
Add following lines in ~/.vimrc
filetype plugin indent on
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
If you like to copy text in vim to another software, such as browser, another shell window, etc., disable Mouse VISUAL.
set mouse=
set ttymouse=
To paste text into vim window, do
set paste
This is not a full guide, but those new functions to me.
^E - down (End)
^Y - up (Hard to remember and use)
H - High (Top)
M - Middle
L - Low (Bottom)
w - words
s - sentences
p - paragraphs
t - tags (in XML/HTML file)
a -- all (whole + border)
i - in (whole)
t - 'til (find but no border)
f - find
F - find backword
d y v
c i a o
diw
caw
yi)
va"
Register
q{key}
...
q
Play
@{key}
View
:reg
Paste with number
"<n>p
vundle - plugin manager
nerdtree - file drawer
ctrlp - fuzzy file finder
fugitive - git tool
syntastic - systax checker / linter