8 years ago
Opens the command line with the directory of the current file already typed. The final <C-D> is optional, but it lists the content of the directory as well.
<C-D>
nnoremap <C-n> :edit <C-R>=expand("%:p:h")<CR>/<C-D>