0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

vscode vim で素早く shift + v → j と押したときに、 shift + j で行結合されてしまうのを防ぐ

Posted at

keybindings.jsonに以下を追加。

{
    "key": "shift+j",
    "command": "type",
    "args": {"text": "j"},
    "when": "textInputFocus && !editorReadonly && vim.active && vim.mode != 'Normal' && vim.mode != 'Insert'"
}
  • NormalモードとInsertモード以外でshift+jを押してしまってもjだけを押したことにしている。
  • commandだけでjを押すってできないのかな?
  • vim.mode == 'Visual'はなぜか効かなかった。
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?