https://github.com/leafoftree/vim-filemap
Jump to specific files by pressing one or two keys
https://github.com/leafoftree/vim-filemap
file jump vim
Last synced: 11 months ago
JSON representation
Jump to specific files by pressing one or two keys
- Host: GitHub
- URL: https://github.com/leafoftree/vim-filemap
- Owner: leafOfTree
- Created: 2018-06-27T06:57:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-29T09:53:36.000Z (over 7 years ago)
- Last Synced: 2025-03-22T05:32:51.849Z (11 months ago)
- Topics: file, jump, vim
- Language: Vim script
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vim-filemap
Jump to specific files by pressing one or two keys
## Install
- Use [VundleVim](https://github.com/VundleVim/Vundle.vim):
Plugin 'leafOfTree/vim-filemap'
- Or manual: download `vim-filemap` and drop it in `Vim/vimfiles/`.
## Usage
Add config (after loading vimrc)
```vim
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.
## Options
`g:filemap_leader`: set mapping leader. default is `'` .
```vim
let g:filemap_leader = "'"
```