Permalink
Browse files

Add :Path command to inspect Vim's 'path' setting

  • Loading branch information...
1 parent 45c2073 commit c8cb5f2c71aba3c96074e5b18ffc38c2778ea65a @nelstrom committed Jul 4, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 vimrc
View
5 vimrc
@@ -84,3 +84,8 @@ endfunction
" Experimental mappings {{{2
nnoremap g" /\v<<C-r>"><CR>
+
+command! Path :call EchoPath()
+function! EchoPath()
+ echo join(split(&path, ","), "\n")
+endfunction

0 comments on commit c8cb5f2

Please sign in to comment.