-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing keyboard shortcut features from Sublime Text #3776
Comments
Is super mapped to ctrl or alt? Surely they don't bind win+<num> |
super is win or cmd |
@waderyan just looked, I don't see any |
Yes. From the docs it looked like this was the case |
(Hopefully) new VSCode convert here! One of my most used commands in sublime is It creates a new cursor for each line of a given selection. Does this functionality exist in VSCode? I cannot see it in the list of missing bindings @waderyan compiled above, but I also cannot seem to find it in VSCode. |
@JamesHenry not sure how I missed that one. Added now. I don't know of an equivalent command in VS Code. |
Great, thanks. Consider this my +1 :) |
@JamesHenry In vscode we can used: cmd + i and option + shift + i But I'm very much like the shortcut key to Sublime Text. |
Ah, awesome thanks @yisibl! Yeah, I have just made it my first ever shortcut override :D |
By the way, VS Code not support cmd + j |
It would be awesome if we have all these in vscode 👍 |
@kabirbaidhya you can install the Sublime Keymap extension that @waderyan built right now. If you find any issues you can file them to the repo https://github.com/Microsoft/vscode-sublime-keybindings/issues |
My #1 most used sublime shortcut is: Ctrl + ⇧ + ↑ Move line/selection up Any chance of adding these to the extension? |
I wrote an implementation of Join Lines and Transpose (and some other Sublime commands) which are more faithful to how Sublime implements them: https://marketplace.visualstudio.com/items?itemName=Zarel.sublime-commands I generally don't think it's a big deal to copy another editor's behavior exactly, but in this case, the main difference is that Sublime's behavior is less buggy. Specifically:
If you agree that these are better, could you update the readme in https://github.com/Microsoft/vscode-sublime-keybindings and this issue to refer to those? |
Also: Would you be opposed to pull requests adding these features directly into VS Code itself? These features are presumably broadly useful enough to be built-in to Sublime, and then we wouldn't need to install extensions to get access to them. |
@nnur I have been itching for the same thing. Transpose sort of does it, but not the way we're used to. |
👍 to @Zarel's sublime-commands. The behavior for joining lines and adding cursors to selected lines are closer to Sublime Text's. |
Please also add the crtl + click to add a new cursor. BTW great work with the extension! |
@claudio4 added! To all - any thoughts on prioritizing the above table? I think join lines is high, followed by ctrl+click to add new cursor. From my experience, I really miss paste and indent. More feedback is appreciated. We have working through a couple of these on our iteration plan for this month. |
FWIW, the two main Sublime features I would terribly miss are:
(But, of course, it is are more about missing functionality than just missing shortcuts.) |
shift key down + righ mouse down + dragging, this is very useful for editing multi-lines at the same time. |
i really like sublime's ⌘+T that shows a Go To File... dialog... you then start typing characters in then dialog and files that contain those characters get listed... like a very fuzzy autocomplete super useful for heavily-foldered projects (rails, react) edit: never mind! this shortcut is available in Sublime Text Pack! |
ctrl+shift+d : duplicate selection (not the whole line) |
The "duplicate selection" exists in vscode. It's called BTW, it copies the entire line, not only the selected text. |
This is exactly what I'm talking about : duplicate |
sublime uses |
Is there a good way to replicate ST's layouts and their keyboard shortcuts in VSCode, even if it means using another plugin? (screenshot below of the options) I can sorta use the split editor keyboard shortcut to constant split editors and go from 1 column to many, and I can use another keyboard shortcut to swap orientation, but there doesn't appear to be any way to create a shortcut like ST's cmd+alt+1 which would merge them all into a single column, which I use quite often. |
One of my all time favorite sublime shortcuts which I greatly miss in VS Code... Select all inside tags / Expand selection outwards |
What about to ctrl+up and ctrl+down (arrows) to increment / decrement selected numbers? How to achieve it? |
Just got it: https://marketplace.visualstudio.com/items?itemName=nmsmith89.incrementor (it's necessary to set the keybindings provided in the page and reload). |
@giovannipds that is an emmet function, and it's already on vscode. No need for additional plugins. |
@elboletaire right, thank you! I must haven't noticed. But the plugin does some additional stuff like swapping |
I'm missing these!
|
Is there a way to quickly switch between Workspaces just like SublimeText does with Projects? That's pretty needed... =( Update: it kinda exists. The most similar way I've found is using |
super key, on VSCode is win (I'm using win10).
I hope this help someone. |
I would like to add "cut from current position to the end of the line". The ctrl + k from Emacs or bash is very handy and I miss a lot this feature. |
You mean Cmd-Shift-Right Del? |
I mean the possibility to assign that action to a simple shortcut like ctrl + k |
See #25075 |
*FIXED File-Scroll down to Editor:Multi Cursor Modifier-select ctrlCmd BOOM..you're done. multi cursor select is NOT working. Before I wiped the drives and installed OS in both my machines, the Sublime extension, the ONE thing I want and use the most is no longer working. A month ago, it worked. Now, not on either. I went over the posts above. I am obviously missing something. I'm running Mint 19 Tessa on both machines. Any thoughts here? I LOVE VSC but without the multi cursor I'm back to Sublime. It's just not the same :( |
Closing this aggregate issue as it is out of date If you have any commands that you would find useful and that are still not supported by VS Code (or added by an existing marketplace extension) please open a new issue |
I created an extension to port Sublime keybindings to VS Code keybindings. I made a list of all the key bindings that were missing analogous commands in VS Code.
Here is the list roughly ordered by importance. Please let me know about more I missed in the comments. If an extension exists with the functionality I added it in the far right column.
Additionally, here are other actions that are not bound to a keyboard shortcut:
The text was updated successfully, but these errors were encountered: