Code Monkey home page Code Monkey logo

Comments (7)

jel-massih avatar jel-massih commented on July 24, 2024

Is this different than the current add cursor above/below with ctrl+alt+up and ctrl+alt+down?

from vscode.

pali88 avatar pali88 commented on July 24, 2024

Try

from vscode.

Tyriar avatar Tyriar commented on July 24, 2024

alt+shift+up actually conflicts as well, which conflicts on atom's defaults.

from vscode.

alexdima avatar alexdima commented on July 24, 2024

@Tyriar I only use Linux in a VM. I think for me some keybindings are lost due to the VM runner.

If you run Linux natively, I would love some help to figure out what would be better default keybindings for editor.action.insertCursorAbove and editor.action.insertCursorBelow:

{ "key": "ctrl+meta+up",          "command": "editor.action.insertCursorAbove",
                                     "when": "editorTextFocus" },
{ "key": "ctrl+meta+down",        "command": "editor.action.insertCursorBelow",
                                     "when": "editorTextFocus" },

from vscode.

Tyriar avatar Tyriar commented on July 24, 2024

@alexandrudima I'm used to alt+shift+down as the default for down (as on atom) and I guess I don't use the insert up because alt+shift+up conflicts as well. This is specific to Ubuntu, not sure about other distros. It would seem that we're running out of modifier key combinations. I'll see what Sublime uses by default tomorrow.

from vscode.

Tyriar avatar Tyriar commented on July 24, 2024

@alexandrudima alt+shift+down/up is the default on Atom and Sublime, makes sense to follow suite.

from vscode.

alexdima avatar alexdima commented on July 24, 2024

I've pushed the following change to the defaults in c96af39 (tried on ubuntu and lubuntu):

  • move lines: from ctrl+down/up to alt+down/up (aligns with default on windows)
  • add cursor: from ctrl+win+down/up to shift+alt+down/up and also ctrl+shift+down/up

This frees up ctrl+up/down also on linux (it is already free on windows) for a future scroll viewport commands.

from vscode.

Related Issues (20)

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.