-
Hello, After a couple of months using Dance ❤️ every day, I built up enough muscle memory for selecting objects without having to check the popup menu. I'm wondering, is there a way to do object selections (e.g. I haven't found the dance commands I need to trigger (stopped at And thanks for this great plugin, it makes VScode so much more pleasurable to use! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I had some time today to explore the Dance API and digging into the test files I've managed to do: [
{
"key": "ctrl+alt+i b",
"command": "dance.seek.object",
"args": {
"input": "\\((?#inner)\\)",
"inner": true
},
"when": "editorTextFocus && dance.mode == 'normal'"
},
{
"key": "ctrl+alt+i shift+b",
"command": "dance.seek.object",
"args": {
"input": "\\((?#inner)\\)",
"inner": false
},
"when": "editorTextFocus && dance.mode == 'normal'"
},
{
"key": "ctrl+alt+i a",
"command": "dance.seek.object",
"args": {
"input": "<(?#inner)>",
"inner": true
},
"when": "editorTextFocus && dance.mode == 'normal'"
},
{
"key": "ctrl+alt+i shift+a",
"command": "dance.seek.object",
"args": {
"input": "<(?#inner)>",
"inner": false
},
"when": "editorTextFocus && dance.mode == 'normal'"
},
{
"key": "n a",
"command": "dance.seek.object",
"args": {
"input": "<(?#inner)>",
"inner": true
},
"when": "editorTextFocus && dance.mode == 'normal'"
},
{
"key": "ctrl+alt+i c",
"command": "dance.seek.object",
"args": {
"input": "\\{(?#inner)\\}",
"inner": true
},
"when": "editorTextFocus && dance.mode == 'normal'"
},
{
"key": "ctrl+alt+i shift+c",
"command": "dance.seek.object",
"args": {
"input": "\\{(?#inner)\\}",
"inner": false
},
"when": "editorTextFocus && dance.mode == 'normal'"
},
{
"key": "ctrl+alt+i r",
"command": "dance.seek.object",
"args": {
"input": "\\[(?#inner)\\]",
"inner": true
},
"when": "editorTextFocus && dance.mode == 'normal'"
},
{
"key": "ctrl+alt+i shift+r",
"command": "dance.seek.object",
"args": {
"input": "\\[(?#inner)\\]",
"inner": false
},
"when": "editorTextFocus && dance.mode == 'normal'"
},
{
"key": "ctrl+alt+i q",
"command": "dance.seek.object",
"args": {
"input": "(?#noescape)\"(?#inner)(?#noescape)\"",
"inner": true
},
"when": "editorTextFocus && dance.mode == 'normal'"
},
{
"key": "ctrl+alt+i shift+q",
"command": "dance.seek.object",
"args": {
"input": "(?#noescape)\"(?#inner)(?#noescape)\"",
"inner": false
},
"when": "editorTextFocus && dance.mode == 'normal'"
},
{
"key": "ctrl+alt+i s",
"command": "dance.seek.object",
"args": {
"input": "(?#noescape)'(?#inner)(?#noescape)'",
"inner": true
},
"when": "editorTextFocus && dance.mode == 'normal'"
},
{
"key": "ctrl+alt+i shift+s",
"command": "dance.seek.object",
"args": {
"input": "(?#noescape)'(?#inner)(?#noescape)'",
"inner": false
},
"when": "editorTextFocus && dance.mode == 'normal'"
},
{
"key": "ctrl+alt+i shift+w",
"command": "dance.seek.object",
"args": {
"input": "\\s(?#inner)\\s",
"inner": true
},
"when": "editorTextFocus && dance.mode == 'normal'"
},
{
"key": "ctrl+alt+i w",
"command": "dance.seek.object",
"args": {
"input": "[\\p{L}]+(?<after>[^\\S\\n]+)",
"inner": false
},
"when": "editorTextFocus && dance.mode == 'normal'"
},
] |
Beta Was this translation helpful? Give feedback.
I had some time today to explore the Dance API and digging into the test files I've managed to do: