Skip to content

Commit

Permalink
update vimrc
Browse files Browse the repository at this point in the history
  • Loading branch information
chengxuan committed May 4, 2018
1 parent 4bc6ed3 commit e6d4815
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ let uname = system('uname -s')
if uname == "Darwin\n"
let g:mkdp_path_to_chrome = "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome"
else

let g:mkdp_path_to_chrome = '/usr/bin/google-chrome-stable %U'
endif
nmap <silent> <F7> <Plug>MarkdownPreview
imap <silent> <F7> <Plug>MarkdownPreview
Expand Down
12 changes: 1 addition & 11 deletions .vimrc.local
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e6d4815

Please sign in to comment.