commit dcf124dc68cf07a013bdb27e6798df55f34baf50 parent 2d6c01b2703ceac86dae38d8ab84cf004f544e00 Author: Alex Balgavy <a.balgavy@gmail.com> Date: Sat, 23 Feb 2019 20:23:51 +0100 Fix time range to duration macro Former-commit-id: ba7e541e663cd782ffd827befbe0bfdd5a890f60 Diffstat:
M | vim/map.vimrc | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vim/map.vimrc b/vim/map.vimrc @@ -111,4 +111,4 @@ nnoremap <C-E><C-L> :vsplit $CONF_DIR/vim/pluginconf.vimrc<CR> " This should be a plugin but for now... " time (hh:mm-hh:mm) to duration in hours -nnoremap <leader>>td 0f-l"aywf:l"byw0w"cywf:l"dywA (=((a*60+b)-(c*60+d))/60.0 )F.r:wyw"aywcw=0.a*60 F.xxih0:s/:0h/h +nnoremap <leader>td 0f-l"aywf:l"byw0"cywf:l"dywA (=((a*60+b)-(c*60+d))/60.0 )F.r:wyw"aywcw=0.a*60 F.2xih0:s/:0h/h