Jump to specific files by pressing one or two keys
-
Use VundleVim:
Plugin 'leafOfTree/vim-filemap'
-
Or manual: download
vim-filemap
and drop it inVim/vimfiles/
.
Add config (after loading vimrc)
let fileMap = {
\'a': 'd:/a_file',
\}
call filemap#active(fileMap)
Jump to d:/a_file
by pressing 'a
Open in a new tab page by pressing 'ta
Current editing file will be saved.
g:filemap_leader
: set mapping leader. default is '
.
let g:filemap_leader = "'"