使用 MacVim 的配置问题。

2015-04-16 12:52:41 +08:00
 insurgo222
mvim的配置文件还是.vimrc吗?
还有mvim的内置文件夹是不是在macvim.app中?
3334 次点击
所在节点    macOS
9 条回复
jsfaint
2015-04-16 13:15:20 +08:00
内置文件夹是指runtime么?
那个确实在macvim.app里面
derek80
2015-04-16 13:32:50 +08:00
~/.vimrc
~/.gvimrc
FrankFang128
2015-04-16 14:25:42 +08:00
你试一下不就知道了吗
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
2015-04-16 15:18:08 +08:00
还是在~目录下的,推荐一个NB 的 dotfile,YRDR,在 github 上搜索试试 。
cheneiweei
2015-04-16 21:00:25 +08:00
我试过都可以,不过我个人用的是主目录下的,比较方便
yopming
2015-04-16 23:43:48 +08:00
还是用的主目录下面的.vimrc,然后给终端里面的判断一下gui_runing就好了
ycyppq123
2015-04-17 08:34:44 +08:00
求推荐一个macvim配置的链接
miterleo
2015-04-17 10:38:45 +08:00
vim 里面命令模式

:version

列出了从哪里加载配置文件

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/184117

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX