vim open relative to current file code example Example: vim create file same directory :set autochdir