V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
insurgo222
V2EX  ›  macOS

使用 MacVim 的配置问题。

  •  
  •   insurgo222 · 2015-04-16 12:52:41 +08:00 · 3297 次点击
    这是一个创建于 3269 天前的主题,其中的信息可能已经有所发展或是发生改变。
    mvim的配置文件还是.vimrc吗?
    还有mvim的内置文件夹是不是在macvim.app中?
    9 条回复    2015-04-17 10:38:45 +08:00
    jsfaint
        1
    jsfaint  
       2015-04-16 13:15:20 +08:00
    内置文件夹是指runtime么?
    那个确实在macvim.app里面
    derek80
        2
    derek80  
       2015-04-16 13:32:50 +08:00
    ~/.vimrc
    ~/.gvimrc
    FrankFang128
        3
    FrankFang128  
       2015-04-16 14:25:42 +08:00 via Android
    你试一下不就知道了吗
    582033
        4
    582033  
       2015-04-16 14:42:15 +08:00
    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  
       2015-04-16 15:18:08 +08:00
    还是在~目录下的,推荐一个NB 的 dotfile,YRDR,在 github 上搜索试试 。
    cheneiweei
        6
    cheneiweei  
       2015-04-16 21:00:25 +08:00
    我试过都可以,不过我个人用的是主目录下的,比较方便
    yopming
        7
    yopming  
       2015-04-16 23:43:48 +08:00
    还是用的主目录下面的.vimrc,然后给终端里面的判断一下gui_runing就好了
    ycyppq123
        8
    ycyppq123  
       2015-04-17 08:34:44 +08:00
    求推荐一个macvim配置的链接
    miterleo
        9
    miterleo  
       2015-04-17 10:38:45 +08:00
    vim 里面命令模式

    :version

    列出了从哪里加载配置文件
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5303 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 09:33 · PVG 17:33 · LAX 02:33 · JFK 05:33
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.