Vim 我常用的命令和插件
来源:互联网 发布:重庆简米网络培训骗局 编辑:程序博客网 时间:2024/06/06 08:31
自己常用的命令有:
x 删除
dd 删除整行
J 删除换行符
O 在当前行上例外起一行
w 一word 单位向前来移动光标
b 以word 单位来后移动光标
$ 将光标移动到该行末尾
fx 移动到指定的字符上面
% 跳转到与当前光标下的括号相匹配的那一个括号上去。
G 跳转到指定行上面,或者和一些搭配使用时跳到文件的末尾。
:scriptnames 可以查看vim 的启动文件
选项设置:
:set number #to show the num in the vim for file
:set nonumber #fight with above
:set ruler #To show the mouse's location at right bottom
:set tags= #To run the ctags for vim/vi
plugin 设置:
ctags
command:
:tag xxx #Go to the xxx function define
:tags #List the tags U use
:tag/ts /xxx #U can use TAb to show contain the xxx tag
#'/'just tell vim this is a mode not a config tag
cscope
Introduction:
Can easy know where function 's define and called or
the variable parameter assignment and use.
command:
$cscope -Rbq #create database in catalog
:cs find c|d|e|f|g|i|s|t name
c:search which function call the name function
d:search name function call which function
g:search name function's define
......
配色方案:
vim的配色方案放在:
/usr/share/vim/vim71/colors
也可以在网上去下载,colorscheme freya 这个是我用的;
x 删除
dd 删除整行
J 删除换行符
O 在当前行上例外起一行
w 一word 单位向前来移动光标
b 以word 单位来后移动光标
$ 将光标移动到该行末尾
fx 移动到指定的字符上面
% 跳转到与当前光标下的括号相匹配的那一个括号上去。
G 跳转到指定行上面,或者和一些搭配使用时跳到文件的末尾。
:scriptnames 可以查看vim 的启动文件
选项设置:
:set number #to show the num in the vim for file
:set nonumber #fight with above
:set ruler #To show the mouse's location at right bottom
:set tags= #To run the ctags for vim/vi
plugin 设置:
ctags
command:
:tag xxx #Go to the xxx function define
:tags #List the tags U use
:tag/ts /xxx #U can use TAb to show contain the xxx tag
#'/'just tell vim this is a mode not a config tag
cscope
Introduction:
Can easy know where function 's define and called or
the variable parameter assignment and use.
command:
$cscope -Rbq #create database in catalog
:cs find c|d|e|f|g|i|s|t name
c:search which function call the name function
d:search name function call which function
g:search name function's define
......
配色方案:
vim的配色方案放在:
/usr/share/vim/vim71/colors
也可以在网上去下载,colorscheme freya 这个是我用的;
- Vim 我常用的命令和插件
- 我的Vim常用插件
- 关于Vim,我最常用的Vim命令和快捷键
- 我最常用的几个VIM命令
- 我的vim插件
- vim的常用插件
- 我常用的Vim和Bash配置
- 我的VIM命令
- vim常用的命令
- vim 常用的命令
- 常用的vim命令
- vim常用的命令
- 我常用的库和插件
- 我的vim常用.vimrc设置和一些常用操作
- 我的vim配置和对应的插件
- vim常用插件,设置,命令记录
- eclipse vim插件viPlugin 2.0.0的安装与破解 以及常用的vim命令
- 最常用的linux命令(包括svn和vim命令)
- 游标简介
- c++ linux 如何把 char* 里面的中文 insert进入mysql(相应的字段为varchar类型)
- Endpoint Interrupts 操作入门
- 用grappelli美化Django Admin后台管理界面
- socket通信小结
- Vim 我常用的命令和插件
- 数字频率,模拟频率,模拟角频率
- SQL基础1——select查询
- samba 服务器的搭建
- 获取包下的所有类
- good website
- XFire的HelloWorld!
- visual studio静态,动态链接库开发工具简单使用
- js :parentNode,firstChild,parentNode,nextSibling;