vitalk / vim-simple-todo Goto Github PK
View Code? Open in Web Editor NEWMappings to manage GitHub-like task lists
Home Page: http://www.vim.org/scripts/script.php?script_id=4323
Mappings to manage GitHub-like task lists
Home Page: http://www.vim.org/scripts/script.php?script_id=4323
It will be useful if your script can mark all selected lines as TODO items or if it is, mark as DONE
Is there a way to keep my leader key as the spacebar and use this plugin?
I had a TODO list as a raw list of lines before I found this nice plugin. :3
I wanted to add a TODO mark at the beginning of each line.
Suppose I have a line that says
Test line
but once I press 0 and \i
It turns into
T[ ] est line
Not into
[ ] Test line as expected
Obviously, workarounds exist, such as adding a dummy space on the beginning of each line.
When marking a todo item as done, I end up with a highlight on all the remaining unmarked items.
It might be useful to add an option to make the resolved issues fall to the bottom so they don't mix with the resolved ones as well as to delete the resolved ones.
I think the built-in :sort command of Vim with its range set by some clever regular expressions could do the trick. I'll look into it!
Vimwiki has an interesting behaviour, they somehow (I didn't check the code yet) override the normal mode o and O commands, and insert new todo-lines below and above respectively. I thing we can borrow that idea and simplify how we add tasks here.
I'm trying to add this to your plugin, this is where I'm at:
nnore <silent> <Plug>(simple-todo-new-list-item-start-of-line) mzI<c-r>=<SID>get_list_marker(line('.')-1)<cr><Esc>"=g:simple_todo_list_symbol.' [ ] '<cr>pa<space><Esc>`z4l
However, it adds the list item at the second position of the line instead of the first.
What is missing to get this to work?
I can make a pull request with the addition after it works if you're busy :)
Thanks!
I am not sure if it is possible to open the todo in a small vertical split (by default or everytime) like we see in plugins like ultisnips or vim-plug
Also i wish there was a global todolist which i can access from any directory.
Please tell how i can make this work.
Some ๐จ forgot to cleanup repository before merging pull request #11 ๐
If I type :nohlsearch afterwards, it gets fixed. I could probably do the necessary changes regarding this and the other issues I will post and send you a pull request?
Unable to mark item done/undone if line starts from non-whitespace character.
After using the ,x mapping the text keeps selected.
I think it should be removing the selected pattern after use.
Does not works properly with some plugins, which modify inserted symbols, such
as AUTO-PAIRS (https://github.com/vim-scripts/Auto-Pairs).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.