你在Mac下是怎么配置VIM的?

如题,你的VIM怎么配置的?
用于写Python/Ruby/Shell等常用脚本。

阅读 15.8k
4 个回答

就用了最最简单的配置~~么有装任何插件。命令行和gvim都用

syntax on
set nocompatible
set number
set autoindent
set smartindent
set showmatch
set hls
set incsearch
set shiftwidth=4
set ts=4
set ruler
set mousehide
set mouse=v
set encoding=utf-8
set fileencodings=utf-8,chinese,latin-1
set visualbell
if has("gui_running")
	set cursorline
	colorscheme murphy
	set background=dark
	set guifont=YaHei\ Consolas\ Hybrid:h14
	highlight Cursorline guibg=grey15
	set guioptions-=T
	set fileformat=unix
	set lines=49
	set columns=140
	set mouse=a
endif
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进