Change vimrc and update amino
This commit is contained in:
parent
deb521d762
commit
56a470e86f
|
@ -1 +1 @@
|
|||
Subproject commit e662f56e98b20e0c9b9500380cf136d9044e76b4
|
||||
Subproject commit 762bf2850585474aab531810a9bc306607bb5272
|
155
home/vimrc
155
home/vimrc
|
@ -1,56 +1,7 @@
|
|||
set nocompatible " Do not use the old vi
|
||||
set encoding=utf-8
|
||||
|
||||
if isdirectory(expand('~/.vim/bundle/Vundle.vim'))
|
||||
|
||||
"
|
||||
" Vundle must be loaded with the following
|
||||
" git clone https://github.com/VundleVim/Vundle.vim.git
|
||||
" ~/.vim/bundle/Vundle.vim
|
||||
" Then use :PluginInstall to load the plugins.
|
||||
" In addition, YouCompleteMe needs to be compiled with
|
||||
" python ~/.vim/bundle/YouCompleteMe/install.py --clang-completer
|
||||
" Other plugins needs to be compiled to.
|
||||
"
|
||||
"
|
||||
" Loads Vundle. See Vundle documentation for details
|
||||
"
|
||||
filetype off " Turned back on later
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
call vundle#begin()
|
||||
|
||||
" Plugin loading area
|
||||
Plugin 'VundleVim/Vundle.vim'
|
||||
|
||||
Plugin 'scrooloose/nerdtree'
|
||||
Plugin 'vim-airline/vim-airline'
|
||||
Plugin 'vim-airline/vim-airline-themes'
|
||||
Plugin 'tpope/vim-fugitive'
|
||||
Plugin 'dag/vim-fish'
|
||||
Plugin 'lervag/vimtex'
|
||||
Plugin 'davidhalter/jedi-vim'
|
||||
|
||||
" Web
|
||||
Plugin 'yuezk/vim-js'
|
||||
Plugin 'othree/javascript-libraries-syntax.vim'
|
||||
Plugin 'maxmellon/vim-jsx-pretty'
|
||||
Plugin 'leafgarland/typescript-vim'
|
||||
Plugin 'Quramy/tsuquyomi'
|
||||
Plugin 'scrooloose/syntastic.git'
|
||||
Plugin 'burnettk/vim-angular'
|
||||
|
||||
" C-like
|
||||
Plugin 'Valloric/YouCompleteMe'
|
||||
Plugin 'jeaye/color_coded'
|
||||
Plugin 'rdnetto/YCM-Generator'
|
||||
Plugin 'Stochastica/formatGen'
|
||||
|
||||
call vundle#end()
|
||||
filetype plugin indent on
|
||||
|
||||
endif
|
||||
|
||||
" Requires Liberation Mono Powerline. See github.com/powerline/fonts
|
||||
" Requires powerline fonts to be installed from github.com/powerline/fonts
|
||||
if has('gui_running')
|
||||
if has("gui_macvim")
|
||||
set guifont=MesloLGSDZForPowerline-Regular:h14
|
||||
|
@ -126,35 +77,85 @@ set conceallevel=1
|
|||
vnoremap . :norm.<CR>
|
||||
|
||||
syntax enable
|
||||
let g:ycm_autoclose_preview_window_after_completion = 1
|
||||
let g:ycm_autoclose_preview_window_after_insertion = 1
|
||||
"let g:ycm_server_python_interpreter="/usr/bin/python3"
|
||||
"let g:ycm_python_binary_path="/usr/bin/python3"
|
||||
let g:ycm_filetype_blacklist = {
|
||||
colorscheme amino
|
||||
|
||||
if isdirectory(expand('~/.vim/bundle/Vundle.vim'))
|
||||
|
||||
"
|
||||
" Vundle must be loaded with the following
|
||||
" git clone https://github.com/VundleVim/Vundle.vim.git
|
||||
" ~/.vim/bundle/Vundle.vim
|
||||
" Then use :PluginInstall to load the plugins.
|
||||
" In addition, YouCompleteMe needs to be compiled with
|
||||
" python ~/.vim/bundle/YouCompleteMe/install.py --clang-completer
|
||||
" Other plugins needs to be compiled to.
|
||||
"
|
||||
"
|
||||
" Loads Vundle. See Vundle documentation for details
|
||||
"
|
||||
filetype off " Turned back on later
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
call vundle#begin()
|
||||
|
||||
" Plugin loading area
|
||||
Plugin 'VundleVim/Vundle.vim'
|
||||
|
||||
Plugin 'scrooloose/nerdtree'
|
||||
Plugin 'vim-airline/vim-airline'
|
||||
Plugin 'vim-airline/vim-airline-themes'
|
||||
Plugin 'tpope/vim-fugitive'
|
||||
Plugin 'dag/vim-fish'
|
||||
Plugin 'lervag/vimtex'
|
||||
Plugin 'davidhalter/jedi-vim'
|
||||
|
||||
" Web
|
||||
Plugin 'yuezk/vim-js'
|
||||
Plugin 'othree/javascript-libraries-syntax.vim'
|
||||
Plugin 'maxmellon/vim-jsx-pretty'
|
||||
Plugin 'leafgarland/typescript-vim'
|
||||
Plugin 'Quramy/tsuquyomi'
|
||||
Plugin 'scrooloose/syntastic.git'
|
||||
Plugin 'burnettk/vim-angular'
|
||||
|
||||
" C-like
|
||||
Plugin 'Valloric/YouCompleteMe'
|
||||
Plugin 'jeaye/color_coded'
|
||||
Plugin 'rdnetto/YCM-Generator'
|
||||
Plugin 'Stochastica/formatGen'
|
||||
|
||||
call vundle#end()
|
||||
filetype plugin indent on
|
||||
|
||||
let g:ycm_autoclose_preview_window_after_completion = 1
|
||||
let g:ycm_autoclose_preview_window_after_insertion = 1
|
||||
"let g:ycm_server_python_interpreter="/usr/bin/python3"
|
||||
"let g:ycm_python_binary_path="/usr/bin/python3"
|
||||
let g:ycm_filetype_blacklist = {
|
||||
\ 'text': 1
|
||||
\}
|
||||
let g:color_coded_enabled = 1
|
||||
let g:color_coded_filetypes = ['h', 'hh', 'h++', 'hpp',
|
||||
let g:color_coded_enabled = 1
|
||||
let g:color_coded_filetypes = ['h', 'hh', 'h++', 'hpp',
|
||||
\'c', 'cc', 'c++', 'cpp', 'objc']
|
||||
let NERDTreeIgnore = ['\.pyc', '\.aux', '\.toc', '\.o', '\.fdb_latexmk', '\.fls']
|
||||
" Tex YouCompleteMe interface
|
||||
if !exists('g:ycm_semantic_triggers')
|
||||
let NERDTreeIgnore = ['\.pyc', '\.aux', '\.toc', '\.o', '\.fdb_latexmk', '\.fls']
|
||||
" Tex YouCompleteMe interface
|
||||
if !exists('g:ycm_semantic_triggers')
|
||||
let g:ycm_semantic_triggers = {}
|
||||
endif
|
||||
au VimEnter * let g:ycm_semantic_triggers.tex=g:vimtex#re#youcompleteme
|
||||
|
||||
" Syntastic
|
||||
let g:syntastic_mode_map = { 'passive_filetypes': ['tex'] }
|
||||
|
||||
|
||||
" Conque
|
||||
let g:ConqueTerm_Color = 2 " Always with colour
|
||||
let g:ConqueTerm_CloseOnEnd = 1 " Close conque when program stops
|
||||
let g:ConqueTerm_StartMessages = 0 " Display warning messages if Conque is configured incorrectly
|
||||
|
||||
" Airline
|
||||
let g:airline_powerline_fonts = 1
|
||||
let g:airline#extensions#whitespace#enabled = 0
|
||||
|
||||
let g:airline_theme='bubblegum'
|
||||
|
||||
endif
|
||||
au VimEnter * let g:ycm_semantic_triggers.tex=g:vimtex#re#youcompleteme
|
||||
|
||||
" Syntastic
|
||||
let g:syntastic_mode_map = { 'passive_filetypes': ['tex'] }
|
||||
|
||||
|
||||
" Conque
|
||||
let g:ConqueTerm_Color = 2 " Always with colour
|
||||
let g:ConqueTerm_CloseOnEnd = 1 " Close conque when program stops
|
||||
let g:ConqueTerm_StartMessages = 0 " Display warning messages if Conque is configured incorrectly
|
||||
|
||||
" Airline
|
||||
let g:airline_powerline_fonts = 1
|
||||
let g:airline#extensions#whitespace#enabled = 0
|
||||
|
||||
colorscheme amino
|
||||
let g:airline_theme='bubblegum'
|
||||
|
|
Loading…
Reference in New Issue