Persistent abbreviations
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reviewing the mini.abbrev module and the proposed mini.pick management flow. Define how selecting a word creates a persistent abbreviation and how abbreviations can be removed or changed. Verify the completed behavior in Neovim using the example typo correction.
Written by the indexing model from the issue text.
Description
Contributing guidelines
- I have read CONTRIBUTING.md
- I have read CODE_OF_CONDUCT.md
Module(s)
mini.abbrev
Description
Hello /
Often, while working in Vim, we make accidental typos. In such cases, we may create abbreviations to prevent future mistakes. This involves opening our configuration and creating said abbreviation by manually changing the text before and after, which can be really distracting:
vim.keymap.set([[!a]], [[flase]], [[false]])
The proposal would be the ability to create on-the-fly persistent abbreviations and (optionally) provide a way to manage them (remove, modify, and so on). The basic operation would be to select the word we wish to correct and then press <leader>... to prompt the user for corrections (by which an abbreviation is created and persisted on confirmation). Mini.pick can take over from there by listing our abbreviations while mapping some key to (delete, add, change).
e.g.
Let me know what you think!
- Dominant language
- Lua
- Stars
- 9.6k
- Forks
- 314
- Avg merge
- 21h 47m
- Merged PRs (30d)
- 6
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nvim-mini/mini.nvim
-
'mini.nvim' and multicursorMay be free again @justinmk claimed this 36 days ago, and no pull request is open. OpenALL neovim-upstream
Difficulty 5/5 Over a week Newbie friendliness 28/100
-
mini.statuscolumn
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
feature-request mini.surround
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
new-module
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
feature-request mini.extra
Difficulty 3/5 1-2 days Newbie friendliness 48/100
All issues in nvim-mini/mini.nvim
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug documentation lua
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
severity: low
Difficulty 1/5 Under an hour Newbie friendliness 82/100
luainkernel/lunatik#2148 ·
Maintainers usually reply within 1 day
-
Addon Conflict Bug Forever Module - Map / Minimap
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day