Last active
August 29, 2015 13:56
-
-
Save kergoth/8920703 to your computer and use it in GitHub Desktop.
Vim integration for Dash.app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if has('macunix') | |
" Dash.app integration | |
let g:dash_map = { | |
\ 'python' : 'python2', | |
\ 'lua' : 'lua', | |
\ 'vim' : 'vim', | |
\ } | |
" Map K to look up the current word in dash for supported filetypes | |
augroup DashMap | |
au! | |
for key in keys(g:dash_map) | |
exe 'au FileType ' . key . ' nnoremap <buffer> K :Dash<cr>' | |
endfor | |
augroup END | |
Bundle 'rizzatti/funcoo.vim' | |
Bundle 'rizzatti/dash.vim' | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment