vim updates
This commit is contained in:
parent
a6c5ed7951
commit
255cd54f11
3 changed files with 19 additions and 2518 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
||||||
.AppleDouble
|
.AppleDouble
|
||||||
.netrwhist
|
.netrwhist
|
||||||
vim/.vim/plugged
|
vim/.vim/plugged
|
||||||
|
vim/.vim/autoload
|
||||||
zsh/.zsh/cache
|
zsh/.zsh/cache
|
||||||
|
|
File diff suppressed because it is too large
Load diff
32
vim/.vimrc
32
vim/.vimrc
|
@ -1,18 +1,17 @@
|
||||||
" ==================== Plugins ====================
|
" ==================== Plugins ====================
|
||||||
call plug#begin()
|
call plug#begin()
|
||||||
|
|
||||||
" Airline
|
|
||||||
Plug 'bling/vim-airline'
|
|
||||||
|
|
||||||
" Git integration
|
" Git integration
|
||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
|
|
||||||
" Gruvbox theme
|
|
||||||
"Plug 'morhetz/gruvbox'
|
|
||||||
|
|
||||||
" Nord Theme
|
" Nord Theme
|
||||||
Plug 'shaunsingh/nord.nvim'
|
Plug 'nordtheme/vim'
|
||||||
|
|
||||||
|
" Airline
|
||||||
|
Plug 'bling/vim-airline'
|
||||||
|
let g:airline_powerline_fonts = 1
|
||||||
|
|
||||||
" Commenter
|
" Commenter
|
||||||
" Plug 'scrooloose/nerdcommenter'
|
" Plug 'scrooloose/nerdcommenter'
|
||||||
|
@ -23,8 +22,6 @@ Plug 'mhinz/vim-sayonara', { 'on': 'Sayonara' }
|
||||||
" Go support for Vim
|
" Go support for Vim
|
||||||
"Plug 'fatih/vim-go', { 'do': ':GoInstallBinaries' }
|
"Plug 'fatih/vim-go', { 'do': ':GoInstallBinaries' }
|
||||||
|
|
||||||
" Python Stuff
|
|
||||||
" Plug 'davidhalter/jedi-vim'
|
|
||||||
if has('nvim')
|
if has('nvim')
|
||||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||||
else
|
else
|
||||||
|
@ -33,28 +30,35 @@ else
|
||||||
Plug 'roxma/vim-hug-neovim-rpc'
|
Plug 'roxma/vim-hug-neovim-rpc'
|
||||||
endif
|
endif
|
||||||
let g:deoplete#enable_at_startup = 1
|
let g:deoplete#enable_at_startup = 1
|
||||||
|
|
||||||
" Python source for deoplete
|
" Python source for deoplete
|
||||||
Plug 'zchee/deoplete-jedi', { 'for': 'python' }
|
Plug 'zchee/deoplete-jedi', { 'for': 'python' }
|
||||||
|
|
||||||
" Vim source for deoplete
|
" Vim source for deoplete
|
||||||
Plug 'Shougo/neco-vim', { 'for': 'vim' }
|
Plug 'Shougo/neco-vim', { 'for': 'vim' }
|
||||||
|
|
||||||
"{{ Python-related plugins
|
" Python-related plugins
|
||||||
" Python completion, goto definition etc.
|
" Python completion, goto definition etc.
|
||||||
Plug 'davidhalter/jedi-vim', { 'for': 'python' }
|
" Plug 'davidhalter/jedi-vim', { 'for': 'python' }
|
||||||
|
|
||||||
" Python syntax highlighting and more
|
" Python syntax highlighting and more
|
||||||
Plug 'numirias/semshi', { 'do': ':UpdateRemotePlugins' }
|
" Plug 'numirias/semshi', { 'do': ':UpdateRemotePlugins' }
|
||||||
|
|
||||||
" Python auto formatting
|
" Python auto formatting
|
||||||
Plug 'psf/black', { 'branch': 'stable' }
|
" Plug 'psf/black', { 'branch': 'stable' }
|
||||||
autocmd BufWritePre *.py execute ':Black'
|
" autocmd BufWritePre *.py execute ':Black'
|
||||||
|
|
||||||
" Smart Line Numbers
|
" Smart Line Numbers
|
||||||
Plug 'myusuf3/numbers.vim'
|
Plug 'myusuf3/numbers.vim'
|
||||||
|
|
||||||
Plug 'tpope/vim-commentary'
|
Plug 'tpope/vim-commentary'
|
||||||
|
|
||||||
|
" Ale
|
||||||
|
Plug 'dense-analysis/ale'
|
||||||
|
|
||||||
|
" OpenSCAD Support
|
||||||
|
Plug 'salkin-mada/openscad.nvim'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
" ==================== Vim Settings ====================
|
" ==================== Vim Settings ====================
|
||||||
|
@ -142,7 +146,7 @@ endif " has("autocmd")
|
||||||
"let g:dracula_colorterm = 0
|
"let g:dracula_colorterm = 0
|
||||||
"silent! colorscheme dracula
|
"silent! colorscheme dracula
|
||||||
set background=dark
|
set background=dark
|
||||||
silent! colorscheme gruvbox
|
silent! colorscheme nord
|
||||||
|
|
||||||
|
|
||||||
" ==================== Code Folding ====================
|
" ==================== Code Folding ====================
|
||||||
|
|
Loading…
Reference in a new issue