'How can I get the path of the file type plugin when editing a file of the same type?

In 'Learn Vimscript the Hard Way', I can use nnoremap <Leader>ev :vsplit $MYVIMRC<CR> to edit my init.vim file (I am on Neovim).

Is there a similar way for file type plugins, so that I could write a map like:

nnoremap <Leader>ef :vsplit $FTPLUGIN<CR>

from within a Python file, for example?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source