Guest User

Untitled

a guest
Jul 20th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. function! s:PeepInDir()
  2. " save old cwd
  3. execute ":cd! " . expand("%:p:h")
  4. execute ":PeepOpen"
  5. " reset to old cwd
  6. endfunction
  7.  
  8. nmap <leader>P :call <SID>PeepInDir()<CR>
Add Comment
Please, Sign In to add comment