Add :find binds to RC and bikeshed settings

This commit is contained in:
Oliver Blanthorn 2026-07-27 19:04:19 +02:00
parent b5ba02e695
commit 4af189ccd3
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3
3 changed files with 13 additions and 2 deletions

View file

@ -106,6 +106,17 @@
" bind gr reader
" bind gR reader --tab
"
" " Use experimental :find mode
" bind / fillcmdline find -r
" bind ? fillcmdline find -r --reverse
" bind n findnext --search-from-view
" bind <C-g> findnext --search-from-view
" bind N findnext --search-from-view --reverse
" bind <C-G> findnext --search-from-view --reverse
" bind gn findselect
" bind gN composite findnext --search-from-view --reverse; findselect
" bind ,<Space> nohlsearch
"
" " Suspend / "discard" all tabs - handy for stretching out battery life. Now a default command, aliased here for my muscle memory
" command discardall tabdiscard --all
"

View file

@ -1374,7 +1374,7 @@ export class default_config {
/**
* Number of characters to use as context for the matches shown in completions
*/
findcontextlen = 100
findcontextlen = 50
/**
* Whether find should be case-sensitive

View file

@ -171,7 +171,7 @@ a.url:hover {
}
.FindCompletionSource .position {
width: 6em;
width: 2em;
padding-right: 0.75em;
text-align: right;
}