You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
" Consider trimming out current working directory from filename
87
87
letl:cwd=getcwd()
88
88
callmap(l:names, { _, val -> strcharpart(val, 0, strlen(l:cwd)) ==# l:cwd ? strcharpart(val, strlen(l:cwd) +1) : val })" + 1 is to also remove the trailing slash
89
+
callreverse(l:names)
89
90
" Edit the first item.
90
91
execute'silent'l:Cmdfnameescape(l:names[0])
91
92
" Add any remaining items to the arg list/buffer list.
0 commit comments