Skip to content

Commit

Permalink
surround query with single quote
Browse files Browse the repository at this point in the history
That way query with sapces is handled correctly.
  • Loading branch information
vbauerster committed Oct 24, 2024
1 parent e3a81bd commit e5f192f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ alias global popup tmux-terminal-popup
map global normal -docstring 'files' <c-f> ':connect popup kamp-files<ret>'
map global normal -docstring 'git ls-files' <c-l> ':connect popup kamp-files backend=git<ret>'
map global normal -docstring 'buffers' <c-b> ':connect popup kamp-buffers<ret>'
map global normal -docstring 'grep selection' <c-g> ':connect popup kamp-grep "query=%val{selection}"<ret>'
map global normal -docstring 'grep selection' <c-g> ':connect popup kamp-grep ''query=%val{selection}<a-!>''<ret>'
map global normal -docstring 'grep limit by filetype' <c-y> ':connect popup kamp-grep -t %opt{filetype}<ret>'
```

Expand Down

0 comments on commit e5f192f

Please sign in to comment.