Last active
October 25, 2019 06:39
-
-
Save kmARC/d1c5a49b3a062721d077ee5db30fe216 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
autocmd FileType dockerfile setlocal keywordprg=:DockerHelp | |
function! DockerHelp(keyword) | |
exec "silent !xdg-open https://docs.docker.com/engine/reference/builder/\\#" | |
\ . tolower(a:keyword) | |
exec 'redraw!' | |
endfunction | |
command! -nargs=1 DockerHelp :call DockerHelp(<f-args>) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment