From 128ea12f5936cadba39382270c9a0fbfcec3d82b Mon Sep 17 00:00:00 2001 From: Yuichi Tanikawa Date: Fri, 16 Dec 2016 20:56:06 +0900 Subject: [PATCH] Bind `C-x C-f` to QuickOpen a file and `C-x b` to QuickOpen a buffer FYI: `workbench.action.files.openFolder` is not available on Mac. --- README.md | 5 ++--- package.json | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 972e4fe..e9019c4 100644 --- a/README.md +++ b/README.md @@ -69,9 +69,8 @@ Use `Shift+Insert` to paste from clipboard. ### File Command |Command | Status | Desc | |--------|--------|------| -| `C-o` | OK | Open a file | -| `C-x b` | OK | QuickOpen a file | -| `C-x C-f` | OK | Open a working directory | +| `C-x b` | OK | QuickOpen a buffer | +| `C-x C-f` | OK | QuickOpen a file | | `C-x C-s` | OK | Save | | `C-x C-w` | OK | Save as | | `C-x i` | - | Insert buffer from file | diff --git a/package.json b/package.json index e0bcd16..7b4c864 100644 --- a/package.json +++ b/package.json @@ -274,7 +274,7 @@ "when": "editorTextFocus" },{ "key": "ctrl+x ctrl+f", - "command": "workbench.action.files.openFolder" + "command": "workbench.action.quickOpen" },{ "key": "ctrl+x ctrl+s", "command": "workbench.action.files.save", @@ -335,7 +335,7 @@ "command": "workbench.action.toggleSidebarVisibility" },{ "key": "ctrl+x b", - "command": "workbench.action.quickOpen" + "command": "workbench.action.showAllEditors" },{ "key": "ctrl+x r", "command": "emacs.C-x_r",