Skip to content

Commit 0fdb3c7

Browse files
author
Hiroki Konishi
committed
Update: improve general path completion
1 parent a47ddf6 commit 0fdb3c7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

rules/pmy_rules.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,21 @@
4444
"after": "awk '{print $0}'"
4545
}
4646
],
47-
"fuzzyFinderCmd": "fzf -0 -1 -q \"<query>\"",
47+
"fuzzyFinderCmd": "fzf -0 -1 -q \"^<query> \"",
4848
"bufferLeft": "<body><path>",
4949
"bufferRight": "[]"
5050
},
5151
{
52-
"regexpLeft": "^(?P<body>.*?) $",
52+
"regexpLeft": "^(?P<body>.*?) (?P<query>[A-Za-z_\\-.]*)$",
5353
"cmdGroups": [
5454
{
5555
"tag": "",
56-
"stmt": "bfind .",
56+
"stmt": "command ls -aF -1",
5757
"after": "awk '{print $0}'"
5858
}
5959
],
60-
"bufferLeft": "[]",
60+
"fuzzyFinderCmd": "fzf -0 -1 -q \"^<query> \"",
61+
"bufferLeft": "<body> ",
6162
"bufferRight": "[]"
6263
}
6364
]

0 commit comments

Comments
 (0)