Skip to content

Commit

Permalink
fix(keybinds): Ctrl+n and Ctrl+p in cmdline (#1533)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyaowong committed Oct 14, 2023
1 parent deb41d4 commit 305bc1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1221,12 +1221,12 @@
{
"command": "workbench.action.quickOpenSelectNext",
"key": "ctrl+n",
"when": "inQuickOpen"
"when": "inQuickOpen && neovim.mode != cmdline"
},
{
"command": "workbench.action.quickOpenSelectPrevious",
"key": "ctrl+p",
"when": "inQuickOpen"
"when": "inQuickOpen && neovim.mode != cmdline"
},
{
"key": "ctrl+n",
Expand Down
4 changes: 2 additions & 2 deletions scripts/keybindings/5 widgets.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,12 @@ const keybinds = [
{
command: "workbench.action.quickOpenSelectNext",
key: "ctrl+n",
when: "inQuickOpen",
when: "inQuickOpen && neovim.mode != cmdline",
},
{
command: "workbench.action.quickOpenSelectPrevious",
key: "ctrl+p",
when: "inQuickOpen",
when: "inQuickOpen && neovim.mode != cmdline",
},
{
key: "ctrl+n",
Expand Down

0 comments on commit 305bc1a

Please sign in to comment.