Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/nyngwang/NeoWell.lua

Well... I will fix this line later
https://github.com/nyngwang/NeoWell.lua

Last synced: about 1 month ago
JSON representation

Well... I will fix this line later

Lists

README

        

NeoWell.lua
===

### Features

- Toggle the only NeoWell list
- Leave existing ones **intact**
- List shown in the very bottom (to put emphasis on that it's global)
- Goto the target brainlessly via ``(see the default settings below)
- Just type `\` twice to back to the list, no need to use command
- Prompt, _user-friendly-ly_
- for the comment at the current line
- to confirm **comment rewording** :)
- to confirm deletion of the hovered item
- to confirm deletion of **ALL** items
- Filtering is on the schedule

### Example Config

```lua
local NOREF_NOERR_TRUNC = { noremap = true, silent = true, nowait = true }
----
use {
'nyngwang/NeoWell.lua',
config = function ()
require('neo-well').setup {
height = 10
}
end
}
vim.keymap.set('n', '\\', function () vim.cmd('NeoWellToggle') end, NOREF_NOERR_TRUNC)
vim.keymap.set('n', '/', function () vim.cmd('NeoWellAppend') end, NOREF_NOERR_TRUNC)
vim.keymap.set('n', '', function ()
-- vim.cmd('NeoZoomToggle') -- remove this if you don't know what it is
vim.cmd('NeoWellJump')
end, NOREF_NOERR_TRUNC)
vim.keymap.set('n', 'r', function () vim.cmd('NeoWellEdit') end, NOREF_NOERR_TRUNC)
vim.keymap.set('n', 'd', function () vim.cmd('NeoWellOut') end, NOREF_NOERR_TRUNC)
vim.keymap.set('n', 'D', function () vim.cmd('NeoWellWipeOut') end, NOREF_NOERR_TRUNC)
```

### TODO list

- [x] toggle the list
- [x] move to the bottom window
- [x] prompt: to add the current line into items
- [x] buffer command:
- [x] goto item (TODO preview: postponed because need to select window, too hard)
- [x] prompt: edit item text (the change reflected immediately by default :) )
- [x] prompt: confirm delete current item (the change reflected immediately by default :) )
- [x] should reflect the change immediately
- [x] the cursor move to the next item
- [x] prompt: confirm delete all items

### Future & Ref.

#### Will do
- [ ] filter via text
- [jeetsukumaran/quickfix-rex.nvim](https://github.com/jeetsukumaran/quickfix-rex.nvim)
- [itchyny/vim-qfedit](https://github.com/itchyny/vim-qfedit)
- [ ] export todo to a file

#### ??????
- [ ] stablize when toggling
- [ ] prompt: edit list title (not important so far)
- [ ] wrap-around on the first/last item (not important so far)
- [ten3roberts/qf.nvim](https://github.com/ten3roberts/qf.nvim)