Skip to content
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

Implement Ctrl+U, Ctrl+D keybindings #46

Closed
pomdtr opened this issue Jan 5, 2020 · 2 comments
Closed

Implement Ctrl+U, Ctrl+D keybindings #46

pomdtr opened this issue Jan 5, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request kakoune-like Implementing Kakoune behaviour.

Comments

@pomdtr
Copy link
Contributor

pomdtr commented Jan 5, 2020

Currently I use this in my keybindings.json

{
    "key": "ctrl+u",
    "command": "cursorMove",
    "args": {
      "to": "up",
      "by": "line",
      "value": 20
    },
    "when": "editorTextFocus && dance.mode == 'normal'"
  },
  {
    "key": "ctrl+d",
    "command": "cursorMove",
    "args": {
      "to": "down",
      "by": "line",
      "value": 20
    },
    "when": "editorTextFocus && dance.mode == 'normal'"
  },

Maybe it should be default ?

@pomdtr pomdtr changed the title Implement Ctrl+U, Ctrl+V keybindings Implement Ctrl+U, Ctrl+D keybindings Jan 7, 2020
@71 71 self-assigned this Jan 7, 2020
@71 71 added enhancement New feature or request kakoune-like Implementing Kakoune behaviour. labels Jan 7, 2020
@71
Copy link
Owner

71 commented Jan 7, 2020

Good catch. I'll add this when I have the time, except using dynamic values rather than hardcoding 20.

@J-Fields
Copy link

J-Fields commented Jan 7, 2020

VSCodeVim's implementation may be useful to reference

@71 71 closed this as completed in 3b70309 Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request kakoune-like Implementing Kakoune behaviour.
Projects
None yet
Development

No branches or pull requests

3 participants