请教用vim编写c语言的详细方法
- fangel16
- 帖子: 75
- 注册时间: 2010-07-21 14:51
- 联系:
请教用vim编写c语言的详细方法
刚接触linux系统,可以用emacs编写c语言了,也想试试vim,但网上找不到详细的方法,能多打些字说的详细点吗,谢谢了。
- ubuntu1023
- 帖子: 1791
- 注册时间: 2010-06-04 1:06
- adam8157
- 帖子: 2794
- 注册时间: 2009-03-05 16:31
- 联系:
- HuaChong
- 帖子: 493
- 注册时间: 2006-09-12 17:10
Re: 请教用vim编写c语言的详细方法
去vim官方网站上下个c support插件吧,用的很爽的说
-
- 帖子: 1831
- 注册时间: 2009-04-03 15:10
Re: 请教用vim编写c语言的详细方法
既然用了emacs就一直用emacs吧,再用vim会让你无所适从的
- fangel16
- 帖子: 75
- 注册时间: 2010-07-21 14:51
- 联系:
Re: 请教用vim编写c语言的详细方法
那问下你们是怎么学emacs的,找本书?看help?找贴子?
还有,用emacs编译好c程序了,怎么直接在里面运行?我都是退出来重新运行终端的。。。望指教
还有,用emacs编译好c程序了,怎么直接在里面运行?我都是退出来重新运行终端的。。。望指教
- fangel16
- 帖子: 75
- 注册时间: 2010-07-21 14:51
- 联系:
Re: 请教用vim编写c语言的详细方法
回3楼,修改vim配置文件是不是在终端里打 vim ~/.vimrc
- fangel16
- 帖子: 75
- 注册时间: 2010-07-21 14:51
- 联系:
Re: 请教用vim编写c语言的详细方法
回4楼。怎么安装插件。。。
问下,你们都是从哪里知道这么多东西的?
问下,你们都是从哪里知道这么多东西的?
- lilydjwg
- 论坛版主
- 帖子: 4258
- 注册时间: 2009-04-11 23:46
- 系统: Arch Linux
- 联系:
Re: 请教用vim编写c语言的详细方法
Google, vim.org, here, etc.fangel16 写了:回4楼。怎么安装插件。。。
问下,你们都是从哪里知道这么多东西的?
- fangel16
- 帖子: 75
- 注册时间: 2010-07-21 14:51
- 联系:
Re: 请教用vim编写c语言的详细方法
回答简洁,明了,易懂 

- fangel16
- 帖子: 75
- 注册时间: 2010-07-21 14:51
- 联系:
Re: 请教用vim编写c语言的详细方法
Put the script into your Vim 'colors' directory (eg ~/.vim/colors),
and load it with the command :colorscheme wombat256 or :colorscheme wombat256mod
问:第一行是不是输入vim ~/.vim/colors 进入
第二行写的怎么进入不知道。
and load it with the command :colorscheme wombat256 or :colorscheme wombat256mod
问:第一行是不是输入vim ~/.vim/colors 进入
第二行写的怎么进入不知道。
- lilydjwg
- 论坛版主
- 帖子: 4258
- 注册时间: 2009-04-11 23:46
- 系统: Arch Linux
- 联系:
Re: 请教用vim编写c语言的详细方法
一、fangel16 写了:Put the script into your Vim 'colors' directory (eg ~/.vim/colors),
and load it with the command :colorscheme wombat256 or :colorscheme wombat256mod
问:第一行是不是输入vim ~/.vim/colors 进入
第二行写的怎么进入不知道。
代码: 全选
mkdir -p ~/.vim/colors #确保这个目录存在
mv 下回来的东东.vim ~/.vim/colors
打开你的 Vim,键入命令并回车
代码: 全选
:colorscheme wombat256
- underline_1
- 帖子: 63
- 注册时间: 2010-07-16 0:17
Re: 请教用vim编写c语言的详细方法
mark
- fanhe
- 帖子: 2357
- 注册时间: 2007-03-24 23:45
Re: 请教用vim编写c语言的详细方法
不好用
还是ide+vi插件现实点
还是ide+vi插件现实点