MacVim在现有窗口中打开文件 [英] MacVim Open File In Existing Window

查看:291
本文介绍了MacVim在现有窗口中打开文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种方法可以设置MacVim在运行的MacVim实例的当前窗口中打开一个新文件?目前,我已经设置了MacVim首选项在当前窗口的新选项卡中打开新文件",但理想情况下,我只是想以:e new_file"的工作方式打开新文件,而没有选项卡.

Is there a way to set up MacVim to open a new file in the current window in a running MacVim instance? I currently have the MacVim preference "Open new files in a new tab in the current window" set, but ideally I'd just like to open new files the way ":e new_file" works, without the tabs.

我的主要动机是我目前将NERDTree和Bufexplorer用于我的工作流程,根本不需要这些选项卡.我还在使用PeepOpen,它很棒,除了它总是根据MacVim的首选项打开文件之外,所以我能做的最好的事情就是在新的MacVim窗口中用新标签打开它.

My main motivation is that I currently use NERDTree and Bufexplorer for my workflow and don't need the tabs at all. I'm also using PeepOpen, which is awesome except it always opens files based on MacVim's preferences, so the best I can do is get it to open in the current MacVim window with a new tab.

推荐答案

  1. 更新到MacVim 7.3
  2. 进入常规首选项"
  3. 在从应用程序打开文件:"下,选择在当前窗口中"
  4. 在此选项下方的下拉菜单中,选择并设置arglist"

这篇关于MacVim在现有窗口中打开文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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