-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(telescope): magic command #11
Conversation
2f87af2
to
135ad19
Compare
4a6b354
to
66ced54
Compare
Looks good if it didn't break |
Actually it breaks all pickers |
4b3242b
to
11708a4
Compare
@@ -191,7 +191,7 @@ | |||
|
|||
(var magic | |||
(fn [_opts] | |||
(var opts (or _opts {})) | |||
(var opts (deep-copy (or _opts {}))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good if it didn't break
Live Grep
it might be something with the picker previewer, to investigate
Actually it breaks all pickers
This was causing _opts
passed as input, which was causing ivy_config
to be modified (lua uses references for all vars). This was adding additional fields breaking the preview
Debugged by logging opts
passed to live_grep/find_files
before and after using the magic
command
b514510
to
2c3e239
Compare
387cd7d
to
18f4687
Compare
1caea80
to
35c26e0
Compare
7e3e03c
to
dae2928
Compare
dae2928
to
80fb7a2
Compare
ensure path doesnt contain ./ that could cause issues
80fb7a2
to
276ba67
Compare
Does this work still for telescope? |
@phortonssf it does, I'm still using it heavily nvim/fnl/mods/tools/telescope.fnl Line 221 in 90d80fa
|
This adds a new telescope command that
<S-tab>
moves one directory up<tab>
moves inside the directory of the file entry selected<C-e>
to move inside only one dir wrt the file entry selected<C-h>
toggle hidden filesS
to decrease the depth of the finder command (only in normal mode)D
to increase the depth of the finder command (only in normal mode)So
1s83r17b05ra1.mp4