Commits

ZyX_I  committed f32f46d

@%aurum/edit: Previous change does not work well with non-Buf*Cmd events

  • Participants
  • Parent commits 8b7eb97

Comments (0)

Files changed (1)

File autoload/aurum/edit.vim

     " XXX On windows all forward slashes are transformed to backward in @%,
     "     all backward are transformed to forward in <amatch>
     let buf=expand('<abuf>')
-    " XXX expand("<amatch>") truncates long filenames, but replaces \ with / on 
-    "     windows
-    " let amatch=expand('<amatch>')
-    let amatch=tr(bufname(+buf), s:_r.os.sep, '/')
+    " FIXME expand("<amatch>") truncates long filenames
+    let amatch=expand('<amatch>')
     let tail=amatch[len('aurum://'):]
     let command=tolower(matchstr(tail, '\v^\w+'))
     let tail=tail[len(command)+1:]