崇高文字:打开包含文件夹 [英] sublime text : open containing folder

查看:120
本文介绍了崇高文字:打开包含文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Sublime Text 2编辑器中处理某个文件,我想打开一个文件所在的文件夹。

I'm working on some file in my sublime text 2 editor, and I want to open a folder in which that file resides.

我知道已经有一个两步程序可以做到这一点

I know there is a 2 step procedure to do this already

step 1: right click and reveal in sidebar (ctrl+shift+r)
step 2: right click on the same file in sidebar and click open containing folder.

我想知道是否只有一个快捷键可以这样做。这是我经常使用的东西。

I would like to know if there is only one shortcut key to do the same. This is something that I use quite often.

推荐答案

您可以将以下行添加到 Default( Windows).sublime-keymap

You can add the line below to your Default (Windows).sublime-keymap:

{ "keys": ["ctrl+alt+e"], "command": "open_dir", 
    "args": {"dir": "$file_path", "file": "$file_name"} }

这篇关于崇高文字:打开包含文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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