insurgo222
V2EX  ›  macOS

使用 MacVim 的配置问题。

  •  
  •   insurgo222 · Apr 16, 2015 · 4884 views
    This topic created in 4224 days ago, the information mentioned may be changed or developed.
    mvim的配置文件还是.vimrc吗?
    还有mvim的内置文件夹是不是在macvim.app中?
    9 replies  •  2015-04-17 10:38:45 +08:00
    jsfaint
    jsfaint
    Apr 16, 2015
    1
    内置文件夹是指runtime么?
    那个确实在macvim.app里面
    derek80
    derek80
    Apr 16, 2015
    2
    ~/.vimrc
    ~/.gvimrc
    FrankFang128
    FrankFang128
    Apr 16, 2015 via Android
    3
    你试一下不就知道了吗
    582033
    582033
    Apr 16, 2015
    4
    1. MacVim differences *macvim-differences*

    One of the goals of MacVim is to make Vim behave like a proper Mac OS X
    application. For this reason MacVim behaves slightly different from other GUI
    ports of Vim. Most of the modifications are provided in the system gvimrc
    file; you can quickly open this file and look at it yourself by typing: >
    :tabe $VIM/gvimrc
    Note that this file will be overwritten each time you update MacVim, so it is
    best to keep your own modifications inside "~/.gvimrc".


    参见
    :h gui_mac
    QuakeX
    QuakeX
    Apr 16, 2015
    5
    还是在~目录下的,推荐一个NB 的 dotfile,YRDR,在 github 上搜索试试 。
    cheneiweei
    cheneiweei
    Apr 16, 2015
    6
    我试过都可以,不过我个人用的是主目录下的,比较方便
    yopming
    yopming
    Apr 16, 2015
    7
    还是用的主目录下面的.vimrc,然后给终端里面的判断一下gui_runing就好了
    ycyppq123
    ycyppq123
    Apr 17, 2015
    8
    求推荐一个macvim配置的链接
    miterleo
    miterleo
    Apr 17, 2015
    9
    vim 里面命令模式

    :version

    列出了从哪里加载配置文件
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1404 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 00:11 · PVG 08:11 · LAX 16:11 · JFK 19:11
    ♥ Do have faith in what you're doing.