Skip to content

Commit

Permalink
feat(keys): bind <C-n> to next completion result
Browse files Browse the repository at this point in the history
  • Loading branch information
b-coimbra committed May 21, 2022
1 parent 8b1376d commit 0765eb3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
**/node_modules/
package-lock.json
release/
release.zip
.log/
6 changes: 6 additions & 0 deletions content_scripts/keys.js
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,12 @@ var KeyHandler = {
Mappings.actions.previousCompletionResult();
}
return;
case '<C-n>':
if (Command.type === 'action' && settings.cncpcompletion) {
event.preventDefault();
Mappings.actions.nextCompletionResult();
}
return;
case '<Up>': // Command history navigation/search
case '<Down>':
event.preventDefault();
Expand Down

0 comments on commit 0765eb3

Please sign in to comment.