23

I like CMD + D to select the next identical selection, OPT + DOWN/UP to move the selections down or up a line, SHIFT + OPT + DOWN/UP to duplicate the selection, and CMD + / to turn the line into a comment. How bout you?

you are viewing a single comment's thread
view the rest of the comments
[-] spartanatreyu@programming.dev 1 points 1 year ago

Ah I misread your comment. I thought you were suggesting that vscode users turn on emacs shortcuts to gain shortcuts that were already in vscode.

I'm not familiar with any emacs macros, they seem like a more quick-and-dirty version of what vscode has going on with it's extensions.

Your indent example would be easier in vscode, since in vscode land you only need to make a selection then press Tab, and the LSP will automatically indent it to the correct level. And if you have a formatter installed, simply saving the file will format the file (indentation included).

But I'm guessing you included the indent example to show how to pass in an argument.

VSCode can do similar things, but it's not exactly the same. I use the following

  • Emmet
  • Find (with regex)
  • Fold Level "n"
  • Snippets with tab-stops
this post was submitted on 13 Jul 2023
23 points (96.0% liked)

Web Development

3430 readers
1 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS