1
0

Update plugins

This commit is contained in:
Patrick Auernig 2018-04-20 17:30:54 +02:00
parent 8e0c7b5b3c
commit 1427b99a3f
2 changed files with 40 additions and 59 deletions

View File

@ -4,7 +4,6 @@
" Mirror: https://github.com/valeth/vim-config " Mirror: https://github.com/valeth/vim-config
let g:vim_config_home = split(&rtp, ',')[0] let g:vim_config_home = split(&rtp, ',')[0]
let g:vim_data_home = &undodir[0:-6]
" SETTINGS {{{ " SETTINGS {{{
set autowriteall set autowriteall
@ -57,7 +56,11 @@ set wildmode=list:longest,full
let $NVIM_TUI_ENABLE_CURSOR_SHAPE=1 let $NVIM_TUI_ENABLE_CURSOR_SHAPE=1
call plug#begin(expand("$XDG_DATA_HOME/nvim/plugins"))
runtime! plugins.vim runtime! plugins.vim
call plug#end()
runtime! keymaps.vim runtime! keymaps.vim
augroup ToggleLineNumbers augroup ToggleLineNumbers

View File

@ -1,44 +1,51 @@
call plug#begin(g:vim_data_home . '/plugins') Plug 'airblade/vim-gitgutter'
Plug 'aurieh/discord.nvim', { 'do': ':UpdateRemotePlugins' }
" [Misc] {{{ Plug 'bling/vim-airline'
Plug 'editorconfig/editorconfig-vim'
Plug 'tpope/vim-commentary'
Plug 'sheerun/vim-polyglot'
Plug 'cohama/lexima.vim' Plug 'cohama/lexima.vim'
Plug 'ctrlpvim/ctrlp.vim' Plug 'ctrlpvim/ctrlp.vim'
Plug 'christoomey/vim-tmux-navigator'
Plug 'dag/vim-fish', { 'for': 'fish' }
Plug 'editorconfig/editorconfig-vim'
Plug 'hallison/vim-rdoc', { 'for': 'ruby' }
Plug 'Konfekt/FastFold' Plug 'Konfekt/FastFold'
Plug 'Matt-Deacalion/vim-systemd-syntax', { 'for': 'systemd' }
Plug 'majutsushi/tagbar' Plug 'majutsushi/tagbar'
Plug 'equalsraf/neovim-gui-shim' Plug 'ngmy/vim-rubocop', { 'for': 'ruby' }
Plug 'rust-lang/rust.vim', { 'for': 'rust' }
Plug 'sheerun/vim-polyglot'
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'tpope/vim-commentary'
Plug 'valeth/breezy', { 'branch': 'swap-bg-color' }
Plug 'vim-ruby/vim-ruby', { 'for': 'ruby' }
Plug 'vim-pandoc/vim-pandoc', { 'for': ['markdown'] }
Plug 'vim-pandoc/vim-pandoc-syntax', { 'for': ['markdown'] }
Plug 'w0rp/ale'
Plug 'wakatime/vim-wakatime' Plug 'wakatime/vim-wakatime'
Plug 'Xuyuanp/nerdtree-git-plugin', { 'on': 'NERDTreeToggle' }
Plug 'Yggdroot/indentLine', { 'for': 'python' }
Plug 'aurieh/discord.nvim', { 'do': ':UpdateRemotePlugins' } Plug 'aurieh/discord.nvim', { 'do': ':UpdateRemotePlugins' }
"Plug 'Shougo/denite.nvim'
" }}}
" [UI] {{{ " # Configuration
Plug 'bling/vim-airline'
" ## vim-airline {{{
let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#enabled = 1
let g:airline_theme = 'dark' let g:airline_theme = 'dark'
let g:airline_powerline_fonts = 1 let g:airline_powerline_fonts = 1
" }}}
Plug 'Yggdroot/indentLine', { 'for': 'python' } " ## indentLine {{{
let g:indentLine_char = '┆' let g:indentLine_char = '┆'
""" }}}
Plug 'christoomey/vim-tmux-navigator' " ## vim-tmux-navigator {{{
let g:tmux_navigator_no_mappings = 1 let g:tmux_navigator_no_mappings = 1
" }}}
" Plug 'ryanoasis/vim-devicons' " ## nerdtree {{{
" let g:webdevicone_enable = 0
" [NERDTree] {{{
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'Xuyuanp/nerdtree-git-plugin', { 'on': 'NERDTreeToggle' }
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
autocmd bufenter * if exists("b:NERDTree") | setlocal nonumber norelativenumber | endif autocmd bufenter * if exists("b:NERDTree") | setlocal nonumber norelativenumber | endif
let g:NERDTreeDirArrowExpandable = '▸' let g:NERDTreeDirArrowExpandable = '▸'
let g:NERDTreeDirArrowCollapsible = '▾' let g:NERDTreeDirArrowCollapsible = '▾'
let g:NERDTreeIndicatorMapCustom = { let g:NERDTreeIndicatorMapCustom = {
\ "Modified" : "✹", \ "Modified" : "✹",
\ "Staged" : "✚", \ "Staged" : "✚",
@ -51,45 +58,16 @@ let g:NERDTreeIndicatorMapCustom = {
\ "Ignored" : "☒", \ "Ignored" : "☒",
\ "Unknown" : "?" \ "Unknown" : "?"
\ } \ }
" [NERDTree] }}}
" [UI] }}}
" [Assistants] {{{
"Plug 'scrooloose/syntastic'
"let g:syntastic_check_on_open = 1
"let g:syntastic_check_on_wq = 0
"let g:syntastic_auto_loc_list = 1
"let g:syntastic_loc_list_height = 5
"let g:syntastic_c_check_header = 1
"let g:syntastic_cpp_remove_include_errors = 1
"let g:syntastic_cpp_check_header = 1
"let g:syntastic_cpp_auto_refresh_includes = 1
"let g:syntastic_tex_checkers = ["false"]
"let g:syntastic_error_symbol = '☓'
"let g:syntastic_warning_symbol = '⚠'
Plug 'w0rp/ale'
Plug 'airblade/vim-gitgutter'
" }}} " }}}
" [Language Specific] {{{ " ## vim-pandoc {{{
Plug 'vim-pandoc/vim-pandoc'
Plug 'vim-pandoc/vim-pandoc-syntax'
let g:pandoc#syntax#conceal#use = 0 let g:pandoc#syntax#conceal#use = 0
let g:pandoc#folding#fdc = &fdc let g:pandoc#folding#fdc = &fdc
" let g:pandoc#filetypes#handles = ['markdown', 'pandoc'] let g:pandoc#spell#enabled = 0
" let g:pandoc#filetypes#pandoc_markdown = 1
" let g:pandoc#spell#enabled = 0
Plug 'dag/vim-fish', { 'for': 'fish' }
Plug 'Matt-Deacalion/vim-systemd-syntax', { 'for': 'systemd' }
Plug 'rust-lang/rust.vim', { 'for': 'rust' }
Plug 'vim-ruby/vim-ruby', { 'for': 'ruby' }
Plug 'ngmy/vim-rubocop', { 'for': 'ruby' }
Plug 'hallison/vim-rdoc', { 'for': 'ruby' }
Plug 'valeth/breezy', { 'branch': 'swap-bg-color' }
" }}} " }}}
call plug#end() " ## deoplete + LanguageClient {{{
Plug 'autozimu/LanguageClient-neovim', { 'do': 'bash install.sh' }
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
let g:deoplete#enable_at_startup = 1
" }}}