file_finder: Add skip_focus_for_active_in_search
setting (#27624)
Closes #27073 Currently, when searching for a file with Ctrl+P, and the first file found is the active one, file_finder skips focus to the second file automatically. This PR adds a setting to disable this and make the first file always the focused one. Default setting is still skipping the active file. Release Notes: - Added the `skip_focus_for_active_in_search` setting for the file finder, which allows turning off the default behavior of skipping focus on the active file while searching in the file finder. --------- Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
This commit is contained in:
parent
d03d8ccec1
commit
84e4891d54
5 changed files with 107 additions and 9 deletions
|
@ -2037,12 +2037,24 @@ Or to set a `socks5` proxy:
|
|||
|
||||
## File Finder
|
||||
|
||||
### File Icons
|
||||
|
||||
- Description: Whether to show file icons in the file finder.
|
||||
- Setting: `file_icons`
|
||||
- Default: `true`
|
||||
|
||||
### Modal Max Width
|
||||
|
||||
- Description: Max-width of the file finder modal. It can take one of these values: `small`, `medium`, `large`, `xlarge`, and `full`.
|
||||
- Setting: `modal_max_width`
|
||||
- Default: `small`
|
||||
|
||||
### Skip Focus For Active In Search
|
||||
|
||||
- Description: Determines whether the file finder should skip focus for the active file in search results.
|
||||
- Setting: `skip_focus_for_active_in_search`
|
||||
- Default: `true`
|
||||
|
||||
## Preferred Line Length
|
||||
|
||||
- Description: The column at which to soft-wrap lines, for buffers where soft-wrap is enabled.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue