-
Hi, When searching for your keymaps - 'fzflua keymaps' is great. But the detail column easily gets cut off. Is is feasible to add an option 'show_description = true/false' - or wrap the line? Or an even better solution? |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 5 replies
-
Regarding wrap and screen real estate, this just came up: #1565
I’ll think of something. |
Beta Was this translation helpful? Give feedback.
-
I realize it might be the opposite of what you're asking, just FYI, since #1452 it's already possible to turn off the details column with
EDIT:
:FzfLua keymaps show_desc=false |
Beta Was this translation helpful? Give feedback.
-
And is it possible to have a command - to go to the file/line where the keymapping is set/defined? I'm thinking of your (own) custom key mappings, like eg: |
Beta Was this translation helpful? Give feedback.
-
Aha. Got it, thanks. |
Beta Was this translation helpful? Give feedback.
-
@1ngemar, with 95f1d1d you can now use: :FzfLua keymaps show_desc=false Can also be conigured via setup under |
Beta Was this translation helpful? Give feedback.
-
Yes, thanks.
Already tried it. Works great.
Den sön 15 dec. 2024 kl 05:49 skrev ibhagwan ***@***.***>:
… @1ngemar <https://github.com/1ngemar>, with 95f1d1d
<95f1d1d>
you can now use:
:FzfLua keymaps show_desc=false
Can also be conigured via setup under keymaps.show_desc.
—
Reply to this email directly, view it on GitHub
<#1566 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJ3VYX6ISUG6CLJEWFRKE7T2FUC6FAVCNFSM6AAAAABTTJSK2OVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNJWHE4TGNY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Then,
regarding our earlier conversation around matching words in grep; fzf, rg.
Maybe this is an idea:
Make all chars lowercase, eg in hello or Hello or hEllo makes 'hello'
Then fabricate a string like so (for all chars a..z) :
'[Hh][Ee][Ll][Ll][Oo]'
Then, the fzf window will sort (out) the possible multiple regex matches,
say if you only search for 'hello'; it will still only show that matched
line for 'hello'. But if you use --smart-case and there are multiple
matches in the preview window; they will all be highlighted.
Maybe that would be a way forward? But I see that the regex line would look
messy :)
/i
Den sön 15 dec. 2024 kl 08:44 skrev Ingemar Åström ***@***.***
…:
Yes, thanks.
Already tried it. Works great.
Den sön 15 dec. 2024 kl 05:49 skrev ibhagwan ***@***.***>:
> @1ngemar <https://github.com/1ngemar>, with 95f1d1d
> <95f1d1d>
> you can now use:
>
> :FzfLua keymaps show_desc=false
>
> Can also be conigured via setup under keymaps.show_desc.
>
> —
> Reply to this email directly, view it on GitHub
> <#1566 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BJ3VYX6ISUG6CLJEWFRKE7T2FUC6FAVCNFSM6AAAAABTTJSK2OVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNJWHE4TGNY>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
Yes.
All good.
/i
Den sön 15 dec. 2024 10:25ibhagwan ***@***.***> skrev:
… Maybe that would be a way forward? But I see that the regex line would look
messy :)
Messy, prone to error and perhaps also not the prefernace of some users,
say you're not using smart case? then you'd also get matches that don't
wish to see, that means we also have to adapt the regex to the rg options,
IMHO this feels like overly complex for a minor inconvinience so I don't
plan on embarking in this anytime soon.
—
Reply to this email directly, view it on GitHub
<#1566 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJ3VYX4BQUN7UN5QKDHGMYD2FVDIXAVCNFSM6AAAAABTTJSK2OVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNJXGA4DQOI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
I realize it might be the opposite of what you're asking, just FYI, since #1452 it's already possible to turn off the details column with
:FzfLua keymaps show_details=false
.I can addshow_desc
if that's what you're after.EDIT:
show_desc
option added with 95f1d1d: