Commit graph

96 commits

Author SHA1 Message Date
Patrick Winter
11c8e91432 Cleanup code 2019-04-14 20:53:05 +02:00
Patrick Winter
687dd4a6ef Refactor taskwarrior--change-attribute 2019-04-14 20:51:27 +02:00
Patrick Winter
15d055aaf3 Add taskwarrior info function 2019-04-09 14:42:11 +02:00
Patrick Winter
777434aef5 Refactor buffer update logic into wrapper function
After most task shell commands the taskwarrior buffer needs to be rewritten. Instead of handling
this in every interactive command use a wrapper function to do this.
2019-04-09 14:40:01 +02:00
Patrick Winter
3de77fb049 Replace read-from-minibuffer with yes-or-no-p
No reason to reinvent the wheel.
2019-04-09 13:42:53 +02:00
Patrick Winter
e92708ae9a Don't print shell command results to minibuffer
The message function interprets it's input as a format string. So if the output
of the shell command contains a % will result into an error...
2019-04-09 13:38:15 +02:00
Patrick Winter
60810eb2b7 Remap taskwarrior-update-buffer 2019-01-22 21:09:09 +01:00
Patrick Winter
8378018c8e Implement mark and unmark 2019-01-22 21:07:46 +01:00
Patrick Winter
888dd38a40 Fix deletion of tasks 2019-01-16 19:46:37 +01:00
Patrick Winter
ce8bae17cd Align description relative to max project width 2019-01-15 20:45:30 +01:00
Patrick Winter
e91c0e4970 Align code 2019-01-15 20:45:08 +01:00
Patrick Winter
d19449a0c0 Fix taskwarrior--change-attribute 2019-01-14 11:01:37 +01:00
Patrick Winter
02d96875ab Log taskwarrior shell commands to messages buffer 2019-01-14 11:01:11 +01:00
Patrick Winter
2351ed042d Add taskwarrior-reset-filter function 2019-01-14 11:00:15 +01:00
Patrick Winter
6a47f6a67b Reset filter after erase-buffer 2019-01-11 21:06:46 +01:00
Patrick Winter
bfa2c2c465 Pack parenthesis 2019-01-11 21:05:24 +01:00
Patrick Winter
bf2ad803e6 Align formatting 2019-01-11 20:42:20 +01:00
Patrick Winter
4e13f8a7f1 Rename taskwarrior buffer 2018-12-20 21:04:56 +01:00
Patrick Winter
f1fad58220 Handle if task does bot have due date set in eldoc message 2018-12-04 20:44:36 +01:00
Patrick Winter
032f4036ad Turn taskwarrior-active-filters into buffer local variable 2018-12-04 20:08:17 +01:00
Patrick Winter
ad3cfba6e2 Add keybinding for taskwarrior (for development purposes) 2018-12-04 18:42:44 +01:00
Patrick Winter
e15f66a06d Add functionality to filter task output 2018-12-04 18:42:26 +01:00
Patrick Winter
5d64ae379c Update buffer when content is modified through add, delete or done 2018-11-13 21:28:26 +01:00
Patrick Winter
715cc8df1a Add done and delete functions 2018-11-13 21:17:43 +01:00
Patrick Winter
34a5a07d96 Fix extraction of old-value 2018-11-13 20:31:06 +01:00
Patrick Winter
b24d019882 Make taskwarrior buffer read-only 2018-11-13 16:57:20 +01:00
Patrick Winter
1ffe30ca10 Refactor setting of an attribute into internal helper function 2018-11-04 21:13:32 +01:00
Patrick Winter
fe518663c2 Add function to turn taskwarrior timestamp into readable format 2018-10-31 21:08:46 +01:00
Patrick Winter
1d2d76d972 Display due date in echo area 2018-10-31 20:38:57 +01:00
Patrick Winter
523c81b8cc Fix function name 2018-10-31 20:18:19 +01:00
Patrick Winter
da690024d8 Add function to edit task description 2018-10-31 20:13:24 +01:00
Patrick Winter
f337de88cf Strip question mark from format string 2018-10-27 21:41:07 +02:00
Patrick Winter
e93bc7c805 Add keybinding to update taskwarrior buffer 2018-10-24 21:43:09 +02:00
Patrick Winter
d1bf77d3b8 Store tasks in buffer local variable 2018-10-24 21:11:46 +02:00
Patrick Winter
52d17476ed Add function to sort entries by urgency 2018-10-23 22:13:43 +02:00
Patrick Winter
24bf81685d Add helper function to convert vector to list 2018-10-23 22:13:21 +02:00
Patrick Winter
df20f9d1c1 Fix format of taskwarrior entries
Handle that certain entries don't have a project.
2018-10-23 21:32:01 +02:00
Patrick Winter
8f24fd3dd3 Fix indentation 2018-10-04 18:38:12 +02:00
Patrick Winter
965775c805 Highlight current line thorugh hl-line-mode 2018-10-04 18:37:30 +02:00
Patrick Winter
4be6f64915 Improve documentation 2018-10-04 18:37:14 +02:00
Patrick Winter
453183cad5 Fix typo s/comand/command 2018-10-02 18:11:38 +02:00
Patrick Winter
9f50620214 Refactor buffer update logic into separate function 2018-10-02 18:10:03 +02:00
Patrick Winter
5164517e09 Fix id filter taskwarrior-export with temporary workaround 2018-10-02 18:09:34 +02:00
Patrick Winter
77240a8751 Fallback to empty string in taskwarrior--shell-command 2018-10-02 18:07:57 +02:00
Patrick Winter
a762a31aea Add minimal viable code 2018-10-02 17:12:10 +02:00
Patrick Winter
5716e77e78 Initial commit 2018-10-02 17:10:45 +02:00