3 ms·
I've wanted to do something very much like this (vimflowy) in native vim for a while, but as a relative vim-noob I haven't found a way to do any of the followin
by Sodman 6y ago
I've wanted to do something very much like this (vimflowy) in native vim for a while, but as a relative vim-noob I haven't found a way to do any of the following without going down the vim-plugins route:
- Instantly collapsable/expandable lists (I guess maybe vim folds by indentation could be used?)
- Open sub-list in new window
- Mark a "task" as done
- Basic text formatting (italics/strikethrough/monospace)
- Easy way to "search everything, show a list of results, jump to the context of the chosen result".
In contrast, vimflowy makes all of these quite easy and intuitive.
- demosito666 6y ago> - Instantly collapsable/expandable lists (I guess maybe vim folds by indentation could be used?) Yes, `set foldmethod=indent` > - Open sub-list in new window This is something I'm not sure exists as a ready-made solution, you'll have to write a function for that. It's trivial for the majority of cases though. > - Mark a "task" as done > - Basic text formatting (italics/strikethrough/monospace) I use vimwiki that has this, there are a lot of other ways to achieve the same. > - Easy way to "search everything, show a list of results, jump to the context of the chosen result" fzf.vim. The above and also supports fuzzy search.
- WorldMaker 6y ago>> - Open sub-list in new window > This is something I'm not sure exists as a ready-made solution, you'll have to write a function for that. It's trivial for the majority of cases though. gf (or <Ctrl+W>f for the new window version) could be useful for this, if the sublists are separate files: https://vim.fandom.com/wiki/Open_file_under_cursor https://vim.fandom.com/wiki/Open_file_under_cursor
- antognini 6y agoI've tried `set foldmethod=indent`, but I've found it to be very slow and it introduces a noticeable lag when typing.