Skip to content

Commit

Permalink
Update: improve general path completion
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroki Konishi committed Jun 21, 2019
1 parent de135b5 commit 4e9e03a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions rules/pmy_rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,21 @@
"after": "awk '{print $0}'"
}
],
"fuzzyFinderCmd": "fzf -0 -1 -q \"<query>\"",
"fuzzyFinderCmd": "fzf -0 -1 -q \"^<query> \"",
"bufferLeft": "<body><path>",
"bufferRight": "[]"
},
{
"regexpLeft": "^(?P<body>.*?) $",
"regexpLeft": "^(?P<body>.*?) (?P<query>[A-Za-z_\\-.]*)$",
"cmdGroups": [
{
"tag": "",
"stmt": "bfind .",
"stmt": "command ls -aF -1",
"after": "awk '{print $0}'"
}
],
"bufferLeft": "[]",
"fuzzyFinderCmd": "fzf -0 -1 -q \"^<query> \"",
"bufferLeft": "<body> ",
"bufferRight": "[]"
}
]

0 comments on commit 4e9e03a

Please sign in to comment.