ChinaUnix.net
相关文章推荐:

vimrc 字体不存在

显示器的分辨率调整后,gvim打开后的字体就变得特别小。 想通过.vimrc设置字体,望高手救我! set font...

by 每日一瓜 - Linux新手园地 - 2009-08-24 21:57:23 阅读(6421) 回复(6)

相关讨论

背景: 作为一个"代码民工"也得巧干,不然,别以为敲键盘累不死人.我本记得我的.vimrc是很少的几句的,可是一打开,吓坏了,肯定是不知道什么时候拷了别人的东西,而平时也没试着去用,真是浪费呀,现在得好好学学,别让那些好设置白占地方呀. 正文: set visualbell " Silence the bell, use a flash instead set cinoptions=:.5s,>1s,p0,t0,(0,g2 " :.5s = indent case statements 1/2 shiftwidth ...

by bing_fox - Linux文档专区 - 2008-05-23 22:22:24 阅读(574) 回复(0)

runtime! debian.vim """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " General """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" "Get out of VI's compatible mode.. set nocompatible "Sets how many lines of history VIM har to remember set history=100 "Enable filetype plugin filetype plugin on filetype indent on "Set to auto read when a file is changed from the outside se...

by gck255 - Linux文档专区 - 2008-03-11 20:52:19 阅读(743) 回复(0)

请问问如何在vimrc中判断文件类型, like this if is c/c++ file then set cino=:0g0t0(sus set cindent map {o}O end if sorry; c版的置顶问了好久好久,没人回答。。

by jack9981 - Shell - 2007-12-25 19:21:09 阅读(1664) 回复(2)

set autoindent set history=50 set ruler set showcmd set list set number syntax enable set background=light colorscheme pablo set encoding=chinese set fileencoding=utf-8 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/1120/showart_390724.html

by etony - Linux文档专区 - 2007-09-26 23:51:53 阅读(843) 回复(0)

set encoding=utf-8 #编码方式 syn on #语法高亮 set guifont=Luxi\ Mono\ 11 #字体字号 set tabstop=4 #TAB健大小 set shiftwidth=2 # set autoindent #自动退缩 set backspace=2 #回退间隔 set smartindent #智能缩进 set ai! # set nu! ...

by Kallawa - Linux文档专区 - 2007-05-04 19:19:14 阅读(913) 回复(0)

set nobackup set ic set nohls set ruler set showcmd set incsearch syntax enable filetype plugin indent on set cindent shiftwidth=4 set softtabstop=4 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/11171/showart_273132.html

by binghuo - Linux文档专区 - 2007-04-08 16:22:24 阅读(639) 回复(0)

set enc=utf-8 set fencs=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936 set mouse=a set wildmenu set nu set ruler  set tabstop=4 set softtabstop=4 set shiftwidth=4 set cindent set autoindent set autoread set nohlsearch set expandtab  set history=400 filetype indent on filetype plugin on filetype on syntax on if version >=603      set helplang=cn ...

by timeless2007 - Linux文档专区 - 2007-01-07 23:39:08 阅读(633) 回复(0)

" vim:shiftwidth=2:tabstop=8:expandtab if has('autocmd') " Remove ALL autocommands for the current group au! " Mark .asm files MASM-type assembly au BufNewFile,BufReadPre *.asm let b:asmsyntax='masm' endif if has('gui_running') let do_syntax_sel_menu=1 endif if has('gui_running') && $LANG !~ '\.' set encoding=utf-8 endif set nocompatible source $VIMRUNTIME/vimrc_example.vim set autoind...

by chenyangbo - BSD文档中心 - 2006-10-01 19:32:02 阅读(864) 回复(0)

LFS文档将vim作为自己的文本编辑器。这里,我们需要说明还有很多不同的编辑器例如:emacs, nano, joe 等等。每个互联网的用户都会很容易发现网上有很多vim和emacs的狂热拥护者。 LFS文档提供了一个基本的vimrc 文件。这里,我们要增强这个文件的功能。在启动的时候vim会读取 /etc/vimrc 和 ~/.vimrc (也就是说, 全局设置的vimrc 和用户设置)。 这里需要使用LFS3.1或者更新的版本来编译vim。在这个之前全局的vimrc是在/usr/share/v...

by whtonline - Linux文档专区 - 2006-05-25 14:30:47 阅读(929) 回复(0)

我用的是aix5.2 的系统,vim的版本是6.3 但是vimrc里德一些设置 总是调不好,比如 del键总是用不起来 还有语法高亮只是显示下划线,请问该如何解决,最好能发一份可用的vimrc文件给我 邮箱是[email]zuibeidemei@126.com[/email] 非常感谢

by zuibeidemei - AIX - 2010-08-12 18:48:16 阅读(2560) 回复(5)