Giter Club home page Giter Club logo

Comments (8)

linuxcaffe avatar linuxcaffe commented on May 16, 2024

imagined commands
(caveat; I'm not a programmer of any sort)

:VimwikiTask [args]
When issued with no arguments, with valid ToDo(s) selected, this command will create new, 
corresponding taskwarrior tasks, and will insert the new ID(s) in the checkbox.
When issued with _only_ an ID as argument, when the cursor is on a single valid ToDo, 
this command will associate the todo with the existing task. 
keybind = \tw
:VimwikiTaskAdd [args]
keybind = \twa
:VimwikiTaskMod [args]
keybind = \twm

..in progress..

from vimwiki.

EinfachToll avatar EinfachToll commented on May 16, 2024

Considering the example commands you gave, I don't think there is need to integrate the functionality into Vimwiki. It could easily be put into a Vim plugin of its own. The plugin would create the taskwarrior task, change the line it was invoked in, maybe creates a directory ~/.taks/projects/foo and makes sure this wiki is add to the global variable g:vimwiki_list when starting vim.

from vimwiki.

linuxcaffe avatar linuxcaffe commented on May 16, 2024

I think you're right Einfach, it's a candidate for separate plugin, not vimwiki-core.
I've renamed this issue as such.

Is there a chance that clever vimwiki/ taskwarrior users might be reading this and we willing to help? and/or has anyone got an example of a well-written plugin I could start with as a model?
I'm just the "Designer" of taskwarrior, not a programmer, but more of an "idea-guy" ;-)

from vimwiki.

EinfachToll avatar EinfachToll commented on May 16, 2024

There is a Google Group where there might read a few more people than here: https://groups.google.com/forum/#!forum/vimwiki
There are some tutorials for Vimscript, like http://learnvimscriptthehardway.stevelosh.com/ or :h usr_41.txt and there is a huge amount of plugins available which are mostly well written (at least I hope ;)

from vimwiki.

linuxcaffe avatar linuxcaffe commented on May 16, 2024

Well as lot can happen in 12 days Einfach, vim-taskwarrior is a real-thing!

https://github.com/farseer90718/vim-taskwarrior

you might need to compile the latest (>2.3.x) taskwarrior, but such a thing now exists and works very well!

from vimwiki.

EinfachToll avatar EinfachToll commented on May 16, 2024

You see, programming is easy ;)
Does this plugin depend on Vimwiki in some way? If so, I can put a reference to vim-taskwarrior in Vimwiki's doc.

from vimwiki.

linuxcaffe avatar linuxcaffe commented on May 16, 2024

Nothing vimwiki-specific yet, but there are like 8 different ways taskwarrior and wimwiki could interact, in varying stages of development, so please stand by! :)

from vimwiki.

linuxcaffe avatar linuxcaffe commented on May 16, 2024

If you're curious about this, progress is underway at https://github.com/teranex/vimwiki-tasks

from vimwiki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.