在visual studio 2008中使用vim
1.安装vim
2.tool->external tools->add
(1)title里填 &gvim
(2)Command里填 C:\Program Files\Vim\vim73\gvim.exe
(3)Arguments里填 $(itempath)
(4)Initial Dirtory里填 $(itemdir)
另外附上vim 和平visual studio shortcut对比
Gvim Visual-Studio Purpose
* Ctrl + F3 Search for current word under cursor
# Ctrl + Shift + F3 Search for previous word under cursor
Ctrl + o Ctrl + '-' Go to previous location
Ctrl + i Ctrl + Shift + - Go to next location
/ Ctrl + i Incremental search
gg Ctrl + Home Go to the beginning of the file
G Ctrl + End Go to the end of the file
n F3 Find again
Ctrl + P Ctrl + right arrow Autocomplete
qx Ctrl + Shift + R Record a temporary macro
@x Ctrl + Shift + P Play a temporary macro
% Ctrl + ] Go to matching braces
mx Ctrl K + Ctrl K Make a bookmark
'x Ctrl K + Ctrl N Move to (next) bookmark
~ Ctrl K + Ctrl U Change the text to UPPERCASE
zf% Ctrl M + Ctrl M Fold a section
http://hi.baidu.com/freying/blog/item/478b0ea6269ca892d0435803.html
No comments:
Post a Comment