blakesweeney / unite-taskwarrior

A unite.vim interface to taskwarrior
6 stars 2 forks source link

open tasknote file in a split window #12

Closed linuxcaffe closed 9 years ago

linuxcaffe commented 9 years ago

rather than opening the tasknote file in a separate buffer, it might be better to open in a window-split, with the task list still in sight.

blakesweeney commented 9 years ago

Opening in a split window is already possible using, standard unite actions. I have:

nnoremap <silent><buffer><expr> <C-v> unite#do_action('vsplit')
inoremap <silent><buffer><expr> <C-v> unite#do_action('vsplit')

in my ftplugin/unite.vim. If you don't want to use mappings, you can also hit a in normal mode and then get a listing of all possible actions, one of them is vsplit. I'm not sure about keeping the window open, I'll play around with it a bit.

linuxcaffe commented 9 years ago

this vsplit config option should make it's way into the docs