Commit graph

125 commits

Author SHA1 Message Date
Tomas Babej
ca895deea5 util: Add maxwidth and maxheight settings to splits that make them use whole window 2015-03-21 17:09:30 +01:00
Tomas Babej
b3b9705a4c util: Do not show numbers in splits 2015-03-21 17:08:54 +01:00
Tomas Babej
f22484f8d7 util: Add optional color support with AnsiEsc 2015-03-21 16:51:06 +01:00
Tomas Babej
2e2d19eaed util: Add configurable name for splits 2015-03-21 14:42:42 +01:00
Tomas Babej
a8884a6dea taskwiki: Add TaskWikiProjects command 2015-03-21 14:38:40 +01:00
Tomas Babej
7cbc7d1f0a util: Compute the size of the split properly for vertical splits 2015-03-21 14:38:22 +01:00
Tomas Babej
97698b2162 util: Allow vertical splits 2015-03-21 14:26:06 +01:00
Tomas Babej
5d32666cce taskwiki: Move methods that affect whole buffer into common namespace 2015-03-21 14:11:41 +01:00
Tomas Babej
0b02d85049 taskwiki: Prompt for modifications if not passed 2015-03-21 14:11:15 +01:00
Tomas Babej
4d6918458b taskwiki: Add TaskWikiMod command 2015-03-21 13:43:14 +01:00
Tomas Babej
6e2ed5df10 util: Split tw modstring parsing into two functions 2015-03-21 13:22:53 +01:00
Tomas Babej
02804772cb util: Do not put empty key into the defaults 2015-03-21 12:19:53 +01:00
Tomas Babej
97691df5bb taskwiki: Add TaskWikiDelete command 2015-03-21 09:38:52 +01:00
Tomas Babej
82223ed2df taskwiki: Make taskwiki commands work on ranges 2015-03-21 09:22:47 +01:00
Tomas Babej
cfde8cc5b8 pylint: Supress complaints about vim module 2015-03-21 07:59:44 +01:00
Tomas Babej
e71587ee26 vwtask: Supress protected member warnings 2015-03-21 07:53:38 +01:00
Tomas Babej
9ee55f1395 cache: Use module-level imports 2015-03-21 07:53:21 +01:00
Tomas Babej
8862963521 cache: Stress loading the line is the important part in load_buffer 2015-03-21 07:47:43 +01:00
Tomas Babej
cf61e9c001 Add missing re imports 2015-03-21 07:47:11 +01:00
Tomas Babej
18d0ebc40b vwtask: Rename module from task due to name conflicts 2015-03-21 07:45:16 +01:00
Tomas Babej
61af9c823b regexp: Do not use star imports 2015-03-21 07:42:42 +01:00
Tomas Babej
6e4c1051e4 Remove unused imports 2015-03-21 07:37:55 +01:00
Tomas Babej
cf87349c1a Viewport: Handle empty defaults properly 2015-03-20 16:29:14 +01:00
Tomas Babej
5e9f187bab commands: Implement the TaskWikiLink command 2015-03-20 13:57:08 +01:00
Tomas Babej
e263d24aaa Util: Make split easily closable 2015-03-20 13:18:39 +01:00
Tomas Babej
898ec47418 commands: Add TaskWikiInfo command 2015-03-20 13:12:32 +01:00
Tomas Babej
d5cac0a785 Taskwiki: Add CurrentTask object 2015-03-20 13:12:28 +01:00
Tomas Babej
35d91e87fa Taskwiki: Use module-level imports 2015-03-20 13:12:20 +01:00
Tomas Babej
4229a6a8de VimwikiTask: SerializingObject needs TW instance now 2015-03-20 13:09:46 +01:00
Tomas Babej
c0c2b91f3f VimwikiTask: Add method to create from current line 2015-03-20 13:08:24 +01:00
Tomas Babej
74dd281338 Util: Create utilit functions for creating a split window 2015-03-20 13:06:45 +01:00
Tomas Babej
5bc63cc542 VimwikiTask: Fix circular imports 2015-03-19 18:22:08 +01:00
Tomas Babej
2aadd840b2 VimwikiTask: Convert None priority to None 2015-03-19 18:21:41 +01:00
Tomas Babej
2b4d582e58 VimwikiTask: Update in buffer only if data has changed 2015-03-19 18:21:41 +01:00
Tomas Babej
677806fdcf VimwikiTask: Find defaults in viewport located above 2015-03-19 18:21:40 +01:00
Tomas Babej
ee21d33655 ViewPort: Add ability to store defaults 2015-03-19 14:11:49 +01:00
Tomas Babej
90d079928e Taskwiki: Update tasks and evaluate viewports on saving 2015-03-17 22:52:54 +01:00
Tomas Babej
11bd73d976 ViewPort: Do not deal with deleted tasks by default 2015-03-17 22:41:20 +01:00
Tomas Babej
513c16ddbc ViewPort: Add missing tasks matching the filter properly and remove tasks that no longer match the filter 2015-03-17 14:24:41 +01:00
Tomas Babej
aae1577e9c Cache: Provide capability to insert and remove lines into the buffer correctly 2015-03-17 14:24:26 +01:00
Tomas Babej
7645ba6879 Cache: Make sure we evaluate all lines when loading ViewPorts 2015-03-17 14:24:24 +01:00
Tomas Babej
56f4cbdb64 VimwikiTask: Update vimwiki task in buffer only if it was updated 2015-03-17 14:24:23 +01:00
Tomas Babej
6a7a68fb71 Cache: Add __delitem__ method 2015-03-17 14:24:22 +01:00
Tomas Babej
2d7607a743 Cache: Remove unnecessarily variables from __setitem__ 2015-03-17 14:24:19 +01:00
Tomas Babej
d43fdbba06 VimwikiTask: Leverage cache when looking up parent task 2015-03-16 22:28:10 +01:00
Tomas Babej
67981bc9c3 ViewPort: Use direct filter specification instead of uuid hack 2015-03-16 20:53:32 +01:00
Tomas Babej
3e5564f596 ViewPort: Add initial implementation 2015-03-16 17:39:44 +01:00
Tomas Babej
4c78eed983 VimwikiTask: Update UUID too when updating from task 2015-03-16 17:39:42 +01:00
Tomas Babej
e0ab56ee0b VimwikiTask: Have sensible defaults for indent and completed_mark 2015-03-16 17:39:42 +01:00
Tomas Babej
c53443b78f TaskCache: Support setting Tasks/VimwikiTasks to cache directly using setitem 2015-03-16 17:39:40 +01:00