update vimrc
This commit is contained in:
parent
4bc6ed392b
commit
e6d481539a
2
.vimrc
2
.vimrc
@ -245,7 +245,7 @@ let uname = system('uname -s')
|
|||||||
if uname == "Darwin\n"
|
if uname == "Darwin\n"
|
||||||
let g:mkdp_path_to_chrome = "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome"
|
let g:mkdp_path_to_chrome = "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome"
|
||||||
else
|
else
|
||||||
|
let g:mkdp_path_to_chrome = '/usr/bin/google-chrome-stable %U'
|
||||||
endif
|
endif
|
||||||
nmap <silent> <F7> <Plug>MarkdownPreview
|
nmap <silent> <F7> <Plug>MarkdownPreview
|
||||||
imap <silent> <F7> <Plug>MarkdownPreview
|
imap <silent> <F7> <Plug>MarkdownPreview
|
||||||
|
|||||||
12
.vimrc.local
12
.vimrc.local
@ -1,12 +1,2 @@
|
|||||||
"## etc.
|
"set relativenumber " 开启相对行号
|
||||||
|
|
||||||
"## settings
|
|
||||||
|
|
||||||
"### 开启相对行号
|
|
||||||
"set relativenumber
|
|
||||||
|
|
||||||
"### open firefox for markdown-preview in macOS
|
|
||||||
"let g:mkdp_path_to_chrome = 'open -a /Applications/Firefox.app'
|
|
||||||
|
|
||||||
"## plugins
|
|
||||||
"Plugin 'kchmck/vim-coffee-script' " support CoffeeScript
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user