diff --git a/doc/asciidoc.txt b/doc/asciidoc.txt index 8089397..b51970e 100644 --- a/doc/asciidoc.txt +++ b/doc/asciidoc.txt @@ -88,7 +88,10 @@ render AsciiDoc on the fly, the normal mode {of} map can be used to open the current file in the external application. " Preview asciidoc file with `g:asciidoc_preview_app` application - nnoremap of :execute "!open file://" . shellescape(expand('%:p')) . " -a " . g:asciidoc_preview_app + nnoremap of :execute "!" . g:asciidoc_preview_app . " file://" . shellescape(expand('%:p')) + + " Set firefox as the default preview app + let g:asciidoc_preview_app = 'firefox' *3.2* Follow link @@ -326,6 +329,7 @@ command! -buffer -nargs=1 AdocInsertTable call asciidoc#base#insert_table( of :execute "!open file://" . shellescape(expand('%:p')) . " -a " . g:asciidoc_preview_app + nnoremap of :execute "!" . g:asciidoc_preview_app . " file://" . shellescape(expand('%:p')) " Follow link under cursor nnoremap ,gf :AdocFollowLinkUnderCursor edit