搜索

首页  >  问答  >  正文

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

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

大家讲道理大家讲道理2818 天前708

全部回复(4)我来回复

  • ringa_lee

    ringa_lee2017-05-16 16:45:12

    就用了最最简单的配置~~么有装任何插件。命令行和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

    回复
    0
  • 黄舟

    黄舟2017-05-16 16:45:12

    可以考虑我在 github 上的个 vimrc 配置文件 https://github.com/feelinglucky/vimrc

    回复
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-16 16:45:12

    spf13-vim 这个vim配置挺好的。。。

    回复
    0
  • 漂亮男人

    漂亮男人2017-05-16 16:45:12

    yehuda的janus咯

    回复
    0
  • 取消回复