junegunn / junegunn/vim-oblique

Add flags ala fnr

Open
#53 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
82
Forks
7
PR merge metrics
No merged PRs in 30d

Description

It would be really cool if you could press `` will searching to get a “flags area” to the left of the `/` in the command line like in [FNR](https://github.com/junegunn/vim-fnr). I suggest the following flags:
- `z`: Toggle fuzzy search.
- `r`: Toggle regex search (on by default) (this includes implementing a “literal” mode).
- `w`: Toggle word-boundary matching (off by default) (wraps the search in `\<` and `\>`).
- `v`: Toggle “very magic” mode (off by default) (prepends `\v`).

Mockup: `(zrwv) /search_term`.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by reading the existing `/` search command implementation and the FNR reference linked in the issue; done means the command line shows the proposed flags area and each listed toggle, including literal, boundary, and very-magic behavior, works as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.