updated vimrc
* turned on omnicompletion on start-up * added tex configuration * removed ternjs and instant_markdown_previewer related configuration
This commit is contained in:
parent
e2cd5710e9
commit
36b7212ed5
23
vimrc
23
vimrc
@ -28,7 +28,6 @@ endif
|
||||
call plug#begin()
|
||||
Plug 'drewtempelmeyer/palenight.vim'
|
||||
Plug 'jacoborus/tender.vim'
|
||||
Plug 'suan/vim-instant-markdown', { 'for': 'markdown' }
|
||||
Plug 'lervag/vimtex', { 'for': 'tex' }
|
||||
Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' }
|
||||
Plug 'vim-airline/vim-airline'
|
||||
@ -46,7 +45,6 @@ Plug 'mfukar/robotframework-vim'
|
||||
Plug 'roxma/nvim-yarp'
|
||||
Plug 'roxma/vim-hug-neovim-rpc'
|
||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
Plug 'carlitux/deoplete-ternjs', { 'do': 'npm install tern' }
|
||||
Plug 'vim-syntastic/syntastic'
|
||||
call plug#end()
|
||||
|
||||
@ -65,16 +63,13 @@ let g:gitgutter_terminal_reports_focus=0
|
||||
"let g:gitgutter_async = 0
|
||||
let g:gitgutter_sign_allow_clobber=0
|
||||
|
||||
let g:deoplete#enable_at_startup = 0
|
||||
let g:deoplete#enable_at_startup = 1
|
||||
|
||||
let g:livepreview_cursorhold_recompile = 0
|
||||
|
||||
" vim-instant-markdown options
|
||||
"let g:instant_markdown_allow_unsafe_content = 1
|
||||
let g:instant_markdown_mathjax = 1
|
||||
let g:instant_markdown_browser = 'chromium-browser --incognito'
|
||||
let g:instant_markdown_autoscroll = 1
|
||||
let g:instant_markdown_autostart = 1
|
||||
let g:livepreview_previewer = 'evince'
|
||||
let g:livepreview_engine = 'pdflatex'
|
||||
let g:vimtex_compiler_progname = 'pdflatex'
|
||||
let g:tex_flavor = 'latex'
|
||||
|
||||
" Add spaces after comment delimiters by default
|
||||
let g:NERDSpaceDelims = 1
|
||||
@ -113,14 +108,6 @@ let g:syntastic_cpp_check_header = 1
|
||||
let g:syntastic_cpp_auto_refresh_includes = 1
|
||||
let g:syntastic_c_cpplint_exec = 'cppcheck'
|
||||
|
||||
" Use tern_for_vim.
|
||||
" let g:tern#command = ["tern"]
|
||||
" let g:tern#arguments = ["--persistent"]
|
||||
" let g:deoplete#sources#ternjs#timeout = 1
|
||||
" Whether to include the types of the completions in the result data. Default: 0
|
||||
" let g:deoplete#sources#ternjs#types = 1
|
||||
|
||||
|
||||
" change cursor shape for different editing modes, neovim does this by default
|
||||
if !has('nvim')
|
||||
if exists('$TMUX')
|
||||
|
Loading…
Reference in New Issue
Block a user