Vim Rocks!

Post on 12-May-2015

4,969 views 0 download

Tags:

description

Vim Rocks! About useful .vimrc settings and vim scripts/plugins share.

transcript

Vim Rocks!Kent Chen

.X\ / Pronounce [vim]

-#��c-&

No basic training today

vq����$'Neither bullshit, blah blah...

��R�~Vim’sH@g+Nor Vim clever tricks

l_�E�>Vim [vim]|�y�

Sharing my real-world experience

_�hLPda

Discussion on Vim experience

�U �1S

Sharing your own experience

K�R?P���

//192.168.59.78/Upload

8p�7Z

�5"PiIThe Unwritten Rule

by aiink.com/c9s

Vim is a REAL man's text editor

�A7�Cz

ntVY��Never ignore the basic training

c-&xx�`T=

Basic training is a MUST

But...

�!PW�

�RrWToday we’re focusing on...

Vim�hLPda

Advanced Vim knowledge sharing

e�c-&Q

�N/K�oJRecommended Vim

basic training materials

by 0xlab/Jserv

by vgod

by Ted Naleid

by Michael

.�Cut to the chase

$HOME/.vimrc&

Vim Plugins

M4��The very first trick

8p�

�7Zs}Again! The Unwritten Rule

e�^&,29[

To Cut or Not to CutThat Is The Question

]B��w

����REAL Men never touch arrow keys

]B�)O

H J K LREAL Men use HJKL instead

ADM-3A Keyboard

from Wikipedia

STOP using the arrow keys, Dude!

Vim Pluginsor

Vim Scripts

M4��Trick 1

M4��Trick 2

vim-powerline : The ultimate vim statusline utility

Mode > VCS > Filename fileformat < fileencoding < filetype < scrollpercent < lineinfo

M4��Trick 3

Tagbar : Display tags of the current file ordered by scope

M4*�Trick 4

clang complete : Use of Clang for completing C/C++ (IntelliSense-like autocomplete)

M4��Trick 5

neocomplcache: Ultimate auto-completion system for Vim

M4��Trick 6

M4�Trick 7

matchit.zip : extended % matching for HTML, LaTeX, and many other languages

M4��Trick 8

The NERD Commenter : A plugin that allows for easy commenting of code for many filetypes.

M4�Trick 9

M4��Trick 10

matchit.zip : extended % matching for HTML, LaTeX, and many other languages

M4���Trick 11

M4���Trick 12

vcscommand.vim : CVS/SVN/SVK/git/hg/bzr integration plugin

M4���Trick 13

DirDiff.vim : A plugin to diff and merge two directories recursively.

M4�*�Trick 14

M4���Trick 15

Vundle : the plug-in manager for Vim

$HOME/.vimrc

M4��Trick 1

backup & swapfile

M4��Trick 2

ignorecase & smartcase

M4��Trick 3

: → ; & wildmode

M4*�Trick 4

window operation

M4��Trick 5

tab operation

M4��Trick 6

WinMerge-style diff/merge operation