Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
youngyangyang04 committed Feb 28, 2020
1 parent 85d2399 commit 92e29b1
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ autocmd BufEnter * silent! lcd %:p:h
set tags+=/Users/sunxiuyang/Documents/workplace/brpc/tags

" complete with no first suggestion
:set completeopt+=noinsert
" :set completeopt+=noinsert

set completeopt=menu,menuone
let OmniCpp_MayCompleteDot=1 " 打开 . 操作符
Expand All @@ -342,10 +342,11 @@ nmap <leader>jg <Plug>(JavaComplete-Generate-AccessorGetter)
nmap <leader>ja <Plug>(JavaComplete-Generate-AccessorSetterGetter)
nmap <Leader>o o<Esc>

:set syntax=markdown
au BufNewFile,BufFilePre,BufRead *.md set filetype=markdown
" au BufNewFile,BufFilePre,BufRead *.md set filetype=markdown
" for me
" func MarkdownSet()

" let filePath=expand('%:p')
" exe ':!open ' . filePath '-a "MacDown"'
" endfunc
func MarkdownSet()
let filePath=expand('%:p')
exe ':!open ' . filePath '-a "MacDown"'
endfunc

0 comments on commit 92e29b1

Please sign in to comment.