Giter Club home page Giter Club logo

vscode-notepadplusplus-keybindings's Introduction

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

Recommended extensions.

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 [email protected] with any additional questions or comments.

vscode-notepadplusplus-keybindings's People

Contributors

auchenberg avatar chrisdias avatar lszomoru avatar microsoftopensource avatar msftgits avatar piscisaureus avatar sandy081 avatar zerrick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vscode-notepadplusplus-keybindings's Issues

Active extension make "Alt + S" as a shortcut for "Save as"

Hi, I have an issue when your extension is on, shortcut "Alt+S" which should give me a special polish character "ล›" works like click of Save as -> "Alt+Ctrl+S"
When extension is disabled, there is no issue.

Details:

Version: 1.27.2 (system setup)
Commit: f46c4c469d6e6d8c46f268d1553c5dc4b475840f
Date: 2018-09-12T16:17:45.060Z
Electron: 2.0.7
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64

Keybindings are broken in MacOS Mojave

Hi!
MacOS Mojave 10.14.3
After enabling Notepad++ Keybindings, I'm having several issues with simple commands.

  • The "Option" button to print alternative symbols stops working.
  • Command + C and Command + V are not working either. Even more, there are "odd shortcuts" attached to them, as you can see in the following image:

image

As soon as I disable the Notepad++ Keybindings plugin, and as long as I keep it disabled, the issue disappears:

image

Not compatible with Azure Data Studio

This is a product request in stead of an issue. Could you please also make this extension compatible/available with Azure Data Studio? As most of the VSIX extensions are already

comment issu

When install this extension on VS code, the default comment (ctrl+ c + k) change to ctrl + k. But when remove comment, camel case have been changed to lowercase. for example:

  1. status: endSelf
  2. comment=> // statuas: endSelf
  3. remove=> status: endself

Don't map F10

First of all, thanks for this keymap. I really like it and use it every day.

I would suggest not to map the F10 key.

First of all, in notepad++ full screen is F11.

But I would suggest not to map both those keys, because those keys are the default binding for Step Over and Step Into in vscode, a feature n++ doesn't have. I use the integrated debugger a lot more (almost daily) then I even used full screen (never).

I know you can call this a personal thing. And I understand if you would close this as "won't fix" because I can override that key (which I did), but at least I want your thought on it ;-)

After installining ctrl+shift+k does not work.

I wonder why is not working for me. I was about to add that shortcut. "ctrl+shift+k" but I found it already exists there. For me ctrl+shift+k adds ""
Maybe is because that was manually set? Is there a way that when you install this it tells you about collisions?

previousEditor and nextEditor shortcuts are mistakenly swapped

Ctrl + PgUp maps to "Previous Tab" in Notepad++, and Ctrl + PgDn maps to "Next Tab", but in vscode-notepadplusplus-keybindings the bindings are swapped.

Notepad++:
Notepad++TabShortcuts

vscode-notepadplusplus-keybindings:

{
    "key": "ctrl+pageup",
    "command": "workbench.action.previousEditor"
},
{
    "key": "ctrl+pagedown",
    "command": "workbench.action.nextEditor"
},

Column select does not seem to work

Column select is supposed to be mapped to Alt+C, but typing or holding down Alt+C and trying to select a column with the mouse does not work.

Repo in need of maintainers?

It's coming up on three years since the last time a member of this repository communicated with the community in issues. Perhaps the maintainers have moved on to new ventures? I still use this extension and would be happy to help keep it alive and well.

@lszomoru, it looks like you recently committed to master. Are you able to shed any light on this?

I appreciate any response. Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.