Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow case-insensitive match for goto selection

See original GitHub issue

Issue Description

In kakoune, the goto commands allow case-insensitive selection. For e.g. command for jumping to start of the buffer is gk or gK. It’s especially useful when extending selection with Gk or GK. So there is no need to release the Shift key when typing the command.

One hacky way to fix this would be to duplicate the commands in the jumps array in goto.ts here.

I believe there should be a much cleaner way to fix this by tweaking promptInList with an extra flag.

Other commands still need the current case-sensitive match behavior. For e.g. <a-i>.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

vbncommented, Jun 23, 2020

@yuchenshi thanks for the idea. That works for me.

I was just going to comment to ask for when 0.3.0 would be out. And it was just released. Thanks @71.

yuchenshicommented, Jun 22, 2020

FYI, a better workaround is possible now via the dance.menus setting on master. It still requires duplicating all items, but at least should not require modifying the source code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Case-insensitive pattern matching in PostgreSQL - CYBERTEC
A solution for case-insensitive pattern matching​​ WHERE col COLLATE "C" ~* '^search. *pattern' ; Note that for this to work as expected, we...
Read more >
MongoDB: Is it possible to make a case-insensitive query?
Just to clarify this: case-insensitive searches are allowed on indexed fields, they just won't use the index and will be as slow as...
Read more >
Case Insensitive Filtering Using Power Query - MyExcelOnline
Ensure the Country column is selected. Go to Add Column > From Text > Format > Uppercase. Case Insensitive Filtering. Now this should...
Read more >
Case Insensitive Queries - Ask TOM
Is there a way to SELECT from a table in a case insensitive manner? For example, I want to execute: SELECT * FROM...
Read more >
Solved: How to apply a case insensitive condition to an em...
This worked. Now I can match the object of an email in a case insensitive manner and the condition is true if it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found