insurgo222
V2EX  ›  macOS

使用 MacVim 的配置问题。

  •  
  •   insurgo222 · Apr 16, 2015 · 4463 views
    This topic created in 4068 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
        1
    jsfaint  
       Apr 16, 2015
    内置文件夹是指runtime么?
    那个确实在macvim.app里面
    derek80
        2
    derek80  
       Apr 16, 2015
    ~/.vimrc
    ~/.gvimrc
    FrankFang128
        3
    FrankFang128  
       Apr 16, 2015 via Android
    你试一下不就知道了吗
    582033
        4
    582033  
       Apr 16, 2015
    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
        5
    QuakeX  
       Apr 16, 2015
    还是在~目录下的,推荐一个NB 的 dotfile,YRDR,在 github 上搜索试试 。
    cheneiweei
        6
    cheneiweei  
       Apr 16, 2015
    我试过都可以,不过我个人用的是主目录下的,比较方便
    yopming
        7
    yopming  
       Apr 16, 2015
    还是用的主目录下面的.vimrc,然后给终端里面的判断一下gui_runing就好了
    ycyppq123
        8
    ycyppq123  
       Apr 17, 2015
    求推荐一个macvim配置的链接
    miterleo
        9
    miterleo  
       Apr 17, 2015
    vim 里面命令模式

    :version

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