Notepad++ Keybindings extension for VS Code
Перейти к файлу
Ladislau Szomoru 69e5a51033
Engineering - cleanup TSA pipeline template parameter (#26)
2024-03-18 09:41:48 +01:00
.github Change default assignment to chrisdias 2019-06-23 12:54:05 -07:00
.vscode Initial structure 2017-11-27 15:27:22 -08:00
build Engineering - cleanup TSA pipeline template parameter (#26) 2024-03-18 09:41:48 +01:00
scripts Update script 2017-12-04 14:32:58 -08:00
.gitignore fix README link 2021-03-26 15:09:03 -07:00
CHANGELOG.md update readme 2019-12-06 19:21:05 -08:00
LICENSE Initial commit 2017-11-25 18:06:19 -08:00
README.md fix README link 2021-03-26 15:09:03 -07:00
SECURITY.md add SECURITY.md 2021-04-02 17:04:48 -07:00
icon.png Add icon 2017-12-03 22:03:04 -08:00
icon.svg Add icon 2017-12-03 22:03:04 -08:00
package-lock.json fix README link 2021-03-26 15:09:03 -07:00
package.json fix README link 2021-03-26 15:09:03 -07:00

README.md

Notepad++ Keymap for VS Code

logo

This extension ports popular Notepad++ keyboard shortcuts to Visual Studio Code.

What keyboard shortcuts are included?

Command Key
workbench.action.toggleFullScreen f11
editor.foldAll alt+0
editor.foldLevel1 alt+1
editor.foldLevel2 alt+2
editor.foldLevel3 alt+3
editor.foldLevel4 alt+4
editor.foldLevel5 alt+5
editor.foldLevel6 alt+6
editor.foldLevel7 alt+7
editor.foldLevel8 alt+8
editor.unfoldAll shift+alt+0
editor.action.startFindReplaceAction ctrl+h
editor.action.nextMatchFindAction f4
editor.action.previousMatchFindAction shift+f4
editor.action.jumpToBracket ctrl+b
editor.action.clipboardCutAction shift+delete
undo alt+backspace
redo ctrl+y
editor.action.duplicateSelection ctrl+d
editor.action.joinLines ctrl+j
editor.action.addCommentLine ctrl+q
editor.action.removeCommentLine ctrl+shift+q
workbench.action.files.saveAll ctrl+shift+s
editor.action.addCommentLine ctrl+k
editor.action.blockComment ctrl+shift+k
deleteAllLeft ctrl+shift+backspace
workbench.action.files.saveAs ctrl+alt+s
workbench.action.quit alt+f4
workbench.action.closeActiveEditor ctrl+w
deleteAllRight shift+cmd+delete
editor.action.transformToLowercase ctrl+u
editor.action.transformToUppercase ctrl+shift+u
editor.action.jumpToBracket ctrl+b
cursorColumnSelectDown shift+alt+down
cursorColumnSelectLeft shift+alt+left
cursorColumnSelectPageDown shift+alt+pagedown
cursorColumnSelectPageUp shift+alt+pageup
cursorColumnSelectRight shift+alt+right
cursorColumnSelectUp shift+alt+up
workbench.action.nextEditor ctrl+pageup
workbench.action.previousEditor ctrl+pagedown
editor.action.clipboardCopyAction ctrl+insert
editor.action.clipboardPasteAction shift+insert
editor.action.moveLinesDownAction ctrl+shift+down
editor.action.moveLinesUpAction ctrl+shift+up
editor.action.deleteLines ctrl+l
columnSelect alt+c

Bookmarks

Looking for Bookmarks via the F2 keys? Hi! Install the Bookmark extension and map the commands to F2 keys to get similar bookmarks functionality: https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks

How do I contribute a keyboard shortcut?

We may have missed a keyboard shortcut. If we did please help us out! It is very easy to make a PR.

  1. Open package.json.
  2. Add a JSON object to contributes.keybindings as seen below.
  3. Open a pull request.
{
    "mac": "<keyboard shortcut for mac>",
    "linux": "<keyboard shortcut for linux>",
    "win": "<keyboard shortcut for windows>",
    "key": "<default keyboard shortcut>",
    "command": "<name of the command in VS Code>"
}

You can read more about how to contribute keybindings in extensions in the official documentation.

Mapping between VS Code and Notepad++

See https://docs.google.com/spreadsheets/d/1CUV0ZZHcI8NM7a5YiPbsPrKQRR59MY5n24qRza6UvNs/edit?usp=sharing

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.