mirror of
https://oauth2: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@github.com/m1ngsama/chopsticks.git
synced 2026-05-10 19:10:59 +08:00
Fix Previm browser opener
This commit is contained in:
parent
5604eddbdb
commit
624644b06a
1 changed files with 5 additions and 0 deletions
5
.vimrc
5
.vimrc
|
|
@ -587,6 +587,11 @@ endif
|
|||
" ============================================================================
|
||||
|
||||
" <leader>mp open live-reloading preview in browser
|
||||
if has('macunix')
|
||||
let g:previm_open_cmd = '/usr/bin/open'
|
||||
elseif executable('xdg-open')
|
||||
let g:previm_open_cmd = 'xdg-open'
|
||||
endif
|
||||
if exists('g:plugs["previm"]')
|
||||
nnoremap <leader>mp :PrevimOpen<CR>
|
||||
endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue