dhruv's wiki

Files

File utilities


" expand current file path in command line
cnoremap <expr> %%  getcmdtype() == ':' ? expand('%:h').'/' : '%%'