如何在Cygwin中使用我的.vimrc文件? [英] How do I use my .vimrc file in Cygwin?

查看:313
本文介绍了如何在Cygwin中使用我的.vimrc文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在我的工作机器上安装了Cygwin,并希望使用我在家里的Linux盒子上使用的.vimrc文件。

I just installed Cygwin on my work machine and would like to use the .vimrc file I use on my Linux box at home.


  • 是否可能,还是需要具有Cygwin特定的设置?

  • 我在哪里放置.vimrc文件?

我有点不确定在Cygwin下的bash提示符下放什么目录,但我想我会在那里创建一个名为.vim的子目录,对吗?

I'm a little unsure of what directory I'm being dropped into at the bash prompt under Cygwin, but I think I'd create a subdirectory called .vim there, right?

推荐答案

1)是的,这是可能的。它不需要任何cygwin特定的设置,虽然你可以添加一些窗口特定的。

1) Yes it is possible. It doesnt need any cygwin specific settings, though you can add some windows specific ones. Just make sure to install vi (vim gvim equivalent) properly.

2)与* nix - 用户主目录相同的位置

2) the same place as on *nix -- user home directory

这篇关于如何在Cygwin中使用我的.vimrc文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆