Print current path that open file is located

1 Point

This will paste in command mode the path that your opened file is located.

"Print current path
cmap <C-e> <C-r>=expand('%:p:h')<CR>/

Brunno dos Santos

Brunno dos Santos 4 years ago

I copied this from your dotfiles :P