Comments (7)
This, of course, has the bonus effect of allowing a user to go
:Tas (TAB) M (TAB)
to invoke TaskWikiMod, instead of
:Tas (TAB) (TAB) (TAB) (TAB) (TAB) (TAB) (TAB) (TAB) (TAB) (TAB) (TAB) (TAB) (TAB) (TAB)
from taskwiki.
Well, user can just set:
set wildmode=longest,list
if he wants partial completion of the commands.
from taskwiki.
Not sure if we want to implement this. Seems too specific to @linuxcaffe workflow. Not closing yet, I'll let it go over my head.
from taskwiki.
Ok, completion is the smallest part (wildmode is an excellent solution) and while the example paths may be somewhat linuxcaffe-centric, the idea itself is quite generic, at least to the idea that a group of tasks is called a "project". It presumes that actual "projects" are a central organizational unit, a core tw attribute, and need much more description, for most users, than taskwarrior presently delivers.
To take this idea from generic to universal, so that other atribute could be handled, the concept could be extended to;
:TaskWiki FIELD VALUE
as in
:TaskWiki project foo
(creates or opens .../foo.project.wiki)
or
:TaskWiki area family
(creates or opens .../family.area.wiki)
or
:TaskWiki tag bar
(creates or opens .../bar.tag.wiki)
The caveat: for a field to be valid, it needs to be configured with
let g:taskwiki_area_dir = '~/.task/area' let g:taskwiki_area_ext = '.area.wiki' et g:taskwiki_tag_dir = '~/.task/tags' let g:taskwiki_tag_ext = '.tag.wiki' etc..
Very flexible, although considerably more complex than the project-only solution. imho, project-only is the way to go.
from taskwiki.
So what you're trying to solve here is the problem of filesystem navigation. Different users might have different ideas about how to store their wiki files - whether flat in one directory, whether use subdirectories and how exactly the heirarchy should look like.
Imho these problems are easier solved by a dedicated plugin, like NERDTree. For example, I have:
map <C-n> :NERDTree /home/tbabej/.wiki/ <CR>
in my .vimrc, which fires up the wiki tree immediately, which can be then navigated efficiently, i.e using bookmarks
from taskwiki.
Don't completely "hang up" on this one yet. Yes, it is a wiki navigation thing, but it is also a taskwarrior-specific thing, and it's totally user-configurable, so it will fit into whatever file-scheme. The desired outcome is a very fast and very consistent way to navigate from vim to a given project wiki. Yes, you could use a correctly invoked NERDtree, but nothings going to be as fast as
:TaskWiki foo
to get to ~/.task/project/foo.project.wiki (or whatever/wherever)
And it doesn't interfere with any other navigation options.
from taskwiki.
Taking it a step further (cause that's what I do) in my grand imaginings, with no other arguments,
TaskWiki
could/ should (using the example configs, at the top) open ~/.task/project/index.project.wiki.
from taskwiki.
Related Issues (20)
- duplicate because tasks are recreated after sync HOT 2
- Tasklib regrusion, doesn't work in neovim 0.8 HOT 3
- Missing python dependencies. HOT 1
- Cannot add multiple tags when using viewports HOT 1
- Do viewports *need* a project to work? HOT 9
- Custom Priorities not supported
- Add / modify task in external editor
- handling of tasks with multiple parents needs improving HOT 1
- Hex color added to end of task line HOT 2
- Performance enchancement HOT 2
- have to reinstall to make it work
- Show filter query on viewports in normal mode when the cursor is on them HOT 3
- TaskCalendar colors not displaying (neovim v0.9.0)
- Is this project looking for new maintainers? HOT 2
- Use TaskWiki Anywhere HOT 2
- Customize Task UUID Symbol HOT 1
- Taskwiki breaks links' functionality on VimWiki index page HOT 1
- Stop recreate missing tasks
- Error message at startup HOT 2
- Update repository topics
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taskwiki.