vim navigation fast up/down [ jump page top H jump page middle M juml …
create /.vim/autoload/test.vim python3
create .vim/ftdetect/foo.vim and add this autocmd BufRead,BufNewFile *.txt set filetype=txt in /.gvimrc add txt …
download this http://www.vim.org/scripts/script.php?scriptid=2115 copy syntax/processing.vim to .vim/syntax folder add this to .gvimrc “set filetype …
:earlier 15m :later 10min
(works like recording) ma set mark on current line (ma,ms,md,mf) ‘a jump to mark …
download this copy syntax/processing.vim to .vim/syntax folder http://www.vim.org/scripts/script.php?scriptid=2115 add this to .gvimrc “set filetype …
copy this in .gvimrc map :s/ae/ä/g\|’s/ue/ü/g usage v to select text, then press f4 …
put this in .gvimrc ” CDC = Change to Directory of Current file “command …
:Grep :GrepOptions http://www.vim.org/scripts/script.php?scriptid=2438
. * {} – = ? () $ ‘ ” \ | ; [] …
:cd projectpath :noautocmd (to speed things up) :vimgrep /titletext/j ** :vimgrep /titlebar/j **/*.css :vimgrep …
:help vim-script-intro yank these lines :let i = 1 :while i < 5 : ...
f2 open nerdtree b open bookmarks shift d delete the current bookmark p jump …
/: find mode (just type away..) x close tab yy copy URL gs view …
set encoding=utf-8 set fileencoding=utf-8
:r! for i in $(seq 1 10); do echo “This is line \#${i}”; done …
:args **/*.txt (projectfolder/subfolder) :set hidden (navigate away without save) :argdo %s/OLDWORD/NEWWORD/ge | update (ge …
cd something, start vim $ grep -n Menu * (access external) or :grep Menu …
while cursor under word * replace multiple instances move cursor under word * NEWWORD …
put this in .gvimrc: nnoremap za create a fold with zf then toggle folds …
installation copy vba file into plugin folder :so % usage comment gc uncomment gc …
command [ .gvimrc: nmap > vmap gv autoindenting html files ggVG (select all) …
insert this into .gvimrc ” mapping hidden characters to short cut “\ l” ” …
vim -u NONE (to get a default installation) :set path=** :syntax on
in .gvimrc open MacVim :cd :e .gvimrc au BufRead,BufNewFile *.ss set filetype=html oder live: …
in macvim :e /.vim/snippets/.snippets oder terminal go to .vim/snippets vim .snippets (globale snippets :))) …