Taskwarrior使ってみた

## 参考

* [Taskwarrior 良い - Qiita](http://qiita.com/kitsuyui/items/e7c2723ae9fd1e7d0b3b)
* [tasktools.org](http://tasktools.org/)
* [Taskwarrior - What's next?](http://taskwarrior.org/tools/)
* [第185回　Taskwarriorでターミナルからタスクを管理する（2）：Ubuntu Weekly Recipe｜gihyo.jp … 技術評論社](http://gihyo.jp/admin/serial/01/ubuntu-recipe/0185)

## Webサービス

* [Inthe.AM](https://inthe.am/about)
    * スマホからも利用できる
    * [coddingtonbear/taskwarrior-inthe.am · GitHub](https://github.com/coddingtonbear/taskwarrior-inthe.am)

## taskwarrior

```bash:
apt-get install -y taskwarrior
```

```bash:
task
```

```bash:
task add りんご買う
```

![](https://taskwarrior.org/news/images/ref230.png)

## ptask

* GUIで編集できる

```bash:
apt-get install -y ptask
```

## vit

* 日本語が微妙にズレます

```bash:vitのインストール
apt-get install -y vit
```

```bash:起動
vit
```

* m : Description変更
* p : project変更
* u : undo
* e : edit
* d : done
* A : タスクに注釈をつける。複数つけることが可能

```text:help
 cmd   a STRING        add a new task
 cmd   A STRING        add an annotation to the current task
 cmd   m STRING        modify the current task
 cmd   :![rw] STRING   execute "STRING" in shell. 'r' rereads, 'w' waits
 cmd   t               prepend the command prompt with ":!rw task "
 cmd   :s/OLD/NEW/     change OLD to NEW in the current task's description
 cmd   :%s/OLD/NEW/    change OLD to NEW in the current task's description
 cmd   D               denotate if over annotation, delete task if on first line
 cmd   e               edit the current task
 cmd   =               view the current task's info
 cmd   <enter>         view the current task's info
 cmd   u               undo the last change
 rpt   :REPORT         display REPORT
 rpt   :REPORT FILTER  display REPORT with FILTER
 rpt   :STRING<tab>    display REPORT using tab completion
 rpt   :<tab>          display REPORT using tab completion of all defined reports
 cmd   q               exit after confirmation
 cmd   Q               exit
 cmd   ZZ              exit
 cmd   :q              exit
 cmd   f FILTER        filter the current report with FILTER
 cmd   d               mark the current task done
 nav   j               move down one line
 nav   DownArrow       move down one line
 nav   Spacebar        move down one line
 nav   :N              move to task number N
 nav   0               move to the first line
 nav   gg              move to the first line
 nav   H               move to the first line on screen
 nav   G               move to the last line
 nav   L               move to the last line on screen
 nav   M               move to the middle line on screen
 nav   k               move up one line
 nav   UpArrow         move up one line
 cmd   N               move to the previous match when searching
 cmd   n               move to the next match when searching
 nav   ^l              refresh (redraw) the display
 nav   ^f              scroll down (forward) one page
 nav   PgDn            scroll down (forward) one page
 nav   ^b              scroll up (back) one page
 nav   PgUp            scroll up (back) up one page
 cmd   /STRING         search forwards for STRING
 cmd   ?STRING         search backwards for STRING
 cmd   P [hmln]        set the current task's priority to H, M, L, or none
 cmd   p STRING        set the current task's project to STRING
 cmd   p STRING<tab>   set the current task's project to STRING using tab completion
 cmd   p <tab>         set the current task's project using tab completion
 help  :h              view the whole help file
 help  :h cmd          view help about commands
 help  :h help         view help about help
 help  :h nav          view help about navigation
 help  :h rpt          view help about reports
 help  :h PATTERN      view help file lines matching PATTERN
```


## taskの共有

```
mkdir ~/taskrepo
cd ~/taskrepo
git init --bare

cd ~/.task
git init
git add -A
git commit -m init

git remote add origin ~/taskrepo
git push origin master
```