在 Vim 中撤消关闭选项卡 [英] Undo Close Tab in Vim

查看:29
本文介绍了在 Vim 中撤消关闭选项卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 vim 中关闭了一个选项卡,并立即意识到我需要再次重新打开它.有没有办法在 Vim 7.2 中撤消关闭选项卡?

解决方案

我正在使用 MRU(最近使用的文件)插件.所以我可以编辑我刚刚编辑的最后 30 个文件

以下是 MRU 插件元数据:

文件:mru.vim作者:Yegappan Lakshmanan (yegappan AT yahoo DOT com)版本:3.2 最后修改:2008 年 9 月 22 日

<块引用>

用法

要从 MRU 列表中列出和编辑文件,您可以使用 ":MRU" 命令.":MRU" 命令在临时 Vim 窗口中显示 MRU 文件列表.如果MRU 窗口已经打开,则窗口中显示 MRU 列表被刷新.

I close a tab in vim and immediately realize I need to re-open it again for something. Is there a way to undo close tab in Vim 7.2?

解决方案

I'm using an MRU (most recently used files) plugin. So I can edit the last 30 files I've just edited

Here are the MRU plugin metadata:

File: mru.vim
Author: Yegappan Lakshmanan (yegappan AT yahoo DOT com)
Version: 3.2   Last Modified:
September 22, 2008

Usage

To list and edit files from the MRU list, you can use the ":MRU" command. The ":MRU" command displays the MRU file list in a temporary Vim window. If the MRU window is already opened, then the MRU list displayed in the window is refreshed.

这篇关于在 Vim 中撤消关闭选项卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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