Add vim and config files

master
Taco Diabolo 1 year ago
commit 8d4ec6433a
  1. 2801
      .vim/autoload/plug.vim
  2. 185
      .vim/colors/DarkModeReloaded.vim
  3. 39
      .vim/colors/hacker.vim
  4. 1234
      .vim/gnupg.vim
  5. 1
      .vim/pack/Dockerfile.vim
  6. 1
      .vim/pack/coc.nvim
  7. 1
      .vim/pack/ctrlp.vim
  8. 1
      .vim/pack/jedi-vim
  9. 1
      .vim/pack/nerdtree
  10. 1
      .vim/pack/nerdtree-git-plugin
  11. 1
      .vim/pack/syntastic
  12. 1
      .vim/pack/vim-ExtractMatches
  13. 1
      .vim/pack/vim-airline
  14. 1
      .vim/pack/vim-airline-themes
  15. 1
      .vim/pack/vim-devicons
  16. 1
      .vim/pack/vim-fugitive
  17. 1
      .vim/pack/vim-gitgutter
  18. 1
      .vim/pack/vim-gnupg
  19. 1
      .vim/pack/vim-ingo-library
  20. 1
      .vim/pack/vim-plug
  21. 1
      .vim/pack/vim-ps1
  22. 1
      .vim/pack/vim-surround
  23. 1
      .vim/pack/vim-unimpaired
  24. 82
      .vim/plugin/zoom.vim
  25. 337
      .vimrc

File diff suppressed because it is too large Load Diff

@ -0,0 +1,185 @@
set background=dark
highlight clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "DarkModeReloaded"
"--------------------------------------------------------------------------------------------------------------------------------------------------
" Color Palette " Syntax-group
"--------------------------------------------------------------------------------------------------------------------------------------------------
let s:SpanishRoast = { "gui": "#222d33" } " Comment
let s:Dark = { "gui": "#141c1f" } " Visual
let s:PurplHeart = { "gui": "#6628A4" } " Directory
let s:MiddleYellow = { "gui": "#FFEA00" } " Warning
""let s:BlackKnightDark = { "gui": "#0c1012" } " Background, TabLineSel
let s:BlackKnightDark = { "gui": "#000000" } " Background, TabLineSel
let s:SpanishRoastDark = { "gui": "#141b1f" } " TabLineFill
let s:NewPortBlue = { "gui": "#208FC5" } " Search, LineNr, Identifier
let s:FirebrickLight = { "gui": "#E0463E" } " ErrorMsg, DiffDelete
let s:Firebrick = { "gui": "#D32B22" } " Error
let s:VibrantGreenLight = { "gui": "#00FF11" } " SpecialKey, Diffadd
let s:GlacialIce = { "gui": "#EAE9E8" } " CursorLineNr
let s:ApprovalGreen = { "gui": "#00877A" } " Brackets
let s:IllustratiousIndigo = { "gui": "#F44336" } " Operator
let s:Flirtatious = { "gui": "#FDD835" } " Function
let s:SeaFantasy = { "gui": "#19A194" } " MatchParen
""let s:White = { "gui": "#FFFFFF" } " Forground
let s:White = { "gui": "#12ff00" } " Forground
let s:AbyssalDepths = { "gui": "#253137" } " TabLine, TabLineFill
let s:BlackWash = { "gui": "#0A0C0F" } " Pmenu
let s:BlackWashLight = { "gui": "#16181B" } " PmenuSel
let s:IslandGreen = { "gui": "#27AE60" } " Constant
let s:OrangeGluttony = { "gui": "#E67E22" } " String, Character
let s:TannedLeather = { "gui": "#F1C40F" } " Number, Float
let s:Aloha = { "gui": "#1ABC9C" } " Boolean
let s:IllustriousIndigo = { "gui": "#512BA8" } " Statement, Conditional, Repeat, Label, Keyword, Exception
let s:MellowMelon = { "gui": "#E91E63" } " PreProc, Define, Include, Macro, PreCondit
let s:LexaloffleGreen = { "gui": "#00E031" } " Type
let s:ImpressionOfObscurity = { "gui": "#1A237E" } " StorageClass
let s:FrightNight = { "gui": "#0D47A1" } " Structure
let s:Carnelian = { "gui": "#B71C1C" } " Typedef
let s:Dayflower = { "gui": "#3599DB" } " SpecialChar
let s:AzureTide = { "gui": "#28978C" } " Delimiter
"--------------------------------------------------------------------------------------------------------------------------------------------------
function! s:h(group, fg, bg, attr)
if type(a:fg) == type({})
exec "hi " . a:group . " guifg=" . a:fg.gui
else
exec "hi " . a:group . " guifg=NONE"
endif
if type(a:bg) == type({})
exec "hi " . a:group . " guibg=" . a:bg.gui
else"
exec "hi " . a:group . " guibg=NONE"
endif
if a:attr != ""
exec "hi " . a:group . " gui=" . a:attr
else
exec "hi " . a:group . " gui=NONE"
endif
endfunction
"----------------------------------------------------------------------------------------------------------------------------------
" Improved highlight function
function s:HI(group, guifg, guibg, attr, guisp)
if type(a:guifg) == type({})
exec "hi " . a:group . " guifg=" . a:guifg.gui
else
exec "hi " . a:group . " guifg=NONE"
endif
if type(a:guibg) == type({})
exec "hi " . a:group . " guibg=" . a:guibg.gui
else"
exec "hi " . a:group . " guibg=NONE"
endif
if type(a:attr) == type([])
if len(a:attr) == 2
exec "hi " . a:group . " gui=" . a:attr[0] . "," . a:attr[1]
endif
if len(a:attr) == 1
exec "hi " . a:group . " gui=" . a:attr[0]
endif
else
exec "hi " . a:group . " gui=NONE"
endif
if type(a:guisp) == type({})
exec "hi " . a:group . " guisp=" . a:guisp.gui
else
exec "hi " . a:group . " guisp=NONE"
endif
endfunction
"--------------------------------------------------------------------------------------------------------------------------------------------------
call s:h("Normal", s:White, s:BlackKnightDark, "")
call s:h("Visual", "", s:Dark, "")
call s:h("LineNr", s:NewPortBlue, s:BlackKnightDark, "")
call s:h("CursorLineNr", s:GlacialIce, "", "bold")
call s:h("MatchParen", s:SeaFantasy, "", "")
call s:h("Search", s:BlackKnightDark, s:NewPortBlue, "underline")
call s:h("ErrorMsg", s:Firebrick, "", "")
call s:h("WarningMsg", s:MiddleYellow, "", "")
call s:h("WildMenu", s:GlacialIce, "", "")
call s:h("Pmenu", s:GlacialIce, s:BlackWash, "")
call s:h("PmenuSel", s:GlacialIce, s:BlackWashLight, "")
call s:h("PmenuSbar", s:GlacialIce, "", "")
call s:h("PmenuThumb", s:GlacialIce, "", "")
call s:h("Comment", s:SpanishRoast, "", "Italic,bold")
call s:h("SpecialComment", s:AbyssalDepths, "", "")
call s:h("TabLine", s:GlacialIce, s:AbyssalDepths, "underline")
call s:h("TabLineSel", s:GlacialIce, s:BlackKnightDark, "")
call s:h("TabLineFill", s:GlacialIce, s:SpanishRoastDark, "underline")
call s:h("VertSplit", s:SpanishRoast, s:BlackKnightDark, "")
call s:h("Diffadd", s:VibrantGreenLight, s:BlackKnightDark, "bold")
call s:h("DiffDelete", s:FirebrickLight, s:BlackKnightDark, "bold")
call s:h("DiffChange", s:SpanishRoast, s:BlackKnightDark, "bold")
call s:h("SignColumn", "", s:BlackKnightDark, "bold")
call s:h("Bold", "", "", "bold")
call s:h("Underlined", "", "", "undercurl")
call s:h("Italic", "", "", "italic")
call s:h("Ignore", "", "", "")
call s:HI("Error", "", "", ["undercurl"], s:Firebrick)
call s:h("SpecialKey", s:VibrantGreenLight, "", "")
call s:h("Directory", s:PurplHeart, "", "")
call s:h("Constant", s:IslandGreen, "", "")
call s:h("String", s:OrangeGluttony, "", "")
call s:h("Chatacter", s:OrangeGluttony, "", "")
call s:h("Number", s:TannedLeather, "", "")
call s:h("Boolean", s:IslandGreen, "", "")
call s:h("Float", s:Aloha, "", "")
call s:h("Identifier", s:NewPortBlue, "", "")
call s:h("Function", s:Flirtatious, "", "bold")
call s:h("Operator", s:IllustratiousIndigo, "", "")
call s:h("Statement", s:IllustratiousIndigo, "", "")
call s:h("Conditional", s:IllustratiousIndigo, "", "")
call s:h("Repeat", s:IllustratiousIndigo, "", "")
call s:h("Label", s:IllustratiousIndigo, "", "")
call s:h("Keyword", s:IllustratiousIndigo, "", "")
call s:h("Exception", s:IllustratiousIndigo, "", "")
call s:h("PreProc", s:MellowMelon, "", "")
call s:h("Include", s:MellowMelon, "", "")
call s:h("Define", s:MellowMelon, "", "")
call s:h("Macro", s:MellowMelon, "", "")
call s:h("PreCondit", s:MellowMelon, "", "")
call s:h("Type", s:LexaloffleGreen, "", "")
call s:h("StorageClass", s:ImpressionOfObscurity, "", "")
call s:h("Structure", s:FrightNight, "", "")
call s:h("Typedef", s:Carnelian, "", "")
call s:h("SpecialChar", s:Dayflower, "", "")
call s:h("Delimiter", s:AzureTide, "", "")
" Coc
"--------------------------------------------------------------------------------------------------------------------------------------------------
hi def link CocErrorFloat WildMenu
hi def link CocWarningFloat WildMenu
hi def link CocInfoFloat WildMenu
hi def link CocHintFloat WildMenu
hi def link CocErrorHighlight Error
hi def link CocWarningHighlight Error
hi def link CocInfoHighlight Error

@ -0,0 +1,39 @@
" A hacker colorscheme
" Maintainer: Taco Diabolo
" Last Change: 02.10.2020
highlight clear
if exists("syntax_on")
syntax reset
endif
set t_Co=256
let g:colors_name = "green"
hi ColorColumn ctermbg=22 guibg=red
hi Comment ctermfg=22 guifg=magenta
hi Comment ctermfg=22 guifg=magenta
hi Constant ctermfg=22 guifg=red
hi CursorLine term=none cterm=none
hi Directory ctermfg=22 guifg=magenta
hi Folded ctermbg=2 ctermfg=0 guibg=magenta guifg=Black
hi Identifier ctermfg=22 guifg=magenta
hi LineNr ctermfg=22 guifg=green1
hi MoreMsg ctermfg=22 guifg=red
hi NonText ctermfg=22 guifg=red
hi Normal ctermbg=0 ctermfg=22 guibg=Black guifg=green1
hi Operator ctermfg=22 guifg=blue1
hi PreProc ctermfg=22 guifg=red
hi Search ctermbg=120 guifg=green1
hi Special ctermfg=22 guifg=magenta
hi Statement cterm=bold ctermfg=22 gui=bold guifg=yellow
hi StatusLineTerm ctermbg=15 guibg=White
hi StatusLineTerm term=none ctermbg=22 ctermfg=0 gui=none guibg=green1 guifg=Black
hi StatusLineTermNC ctermbg=15 guibg=White
hi StatusLineTermNC term=none ctermbg=22 ctermfg=0 gui=none guibg=green1 guifg=Black
hi String ctermfg=22 guifg=red
hi Todo cterm=NONE ctermfg=22 gui=NONE guifg=White guibg=green1
hi Type ctermfg=22 guifg=green1
hi Visual term=reverse ctermbg=120 ctermfg=0 guibg=green1 guifg=Black

File diff suppressed because it is too large Load Diff

@ -0,0 +1 @@
Subproject commit 86d744c6e4731d0014ef469f019a305e2d7baac0

@ -0,0 +1 @@
Subproject commit 9c3c84735c9bcfd62507d6e2a137f90b1ddaa98a

@ -0,0 +1 @@
Subproject commit f68f4d00b9c99d0d711bfde3b071f0dafd249901

@ -0,0 +1 @@
Subproject commit 7ac81cb88059d3daaf2d654cbb5cd03d23a60d33

@ -0,0 +1 @@
Subproject commit 2c14ed0e153cdcd0a1c7d1eabec6820bb6b3f8a2

@ -0,0 +1 @@
Subproject commit bca0ed63883d028e6afc7f11a78c56fcaf34d363

@ -0,0 +1 @@
Subproject commit c89741ef310fd0a380ffb80b80e10f197afd6224

@ -0,0 +1 @@
Subproject commit 6a7938d90ea6d70322383bd792ce13fd207efca5

@ -0,0 +1 @@
Subproject commit 4807a211cdfab3a5b5640111978ba301461c5ac1

@ -0,0 +1 @@
Subproject commit 97cf3e6e638f936187d5f6e9b5eb1bdf0a4df256

@ -0,0 +1 @@
Subproject commit 0a11dae811e6c8b939fe80aeb750469f8ca44d67

@ -0,0 +1 @@
Subproject commit de6495ae846b2c5913fa85d5464c036c0acdfa34

@ -0,0 +1 @@
Subproject commit 7d9b7125ff2533f6c520573f54e91db2f13a44b0

@ -0,0 +1 @@
Subproject commit 96be0be1240a848da56d665b38e1b0fe7ee3f1af

@ -0,0 +1 @@
Subproject commit 608f56819cdb29046b5507392aa2b689456dd01a

@ -0,0 +1 @@
Subproject commit fc2813ef4484c7a5c080021ceaa6d1f70390d920

@ -0,0 +1 @@
Subproject commit 26a75886caef937bfad4201d5478571a992984c2

@ -0,0 +1 @@
Subproject commit f51a26d3710629d031806305b6c8727189cd1935

@ -0,0 +1 @@
Subproject commit 4afbe5ebf32ad85341b4c02b0e1d8ca96a64c561

@ -0,0 +1,82 @@
if &cp || exists("g:loaded_zoom")
finish
endif
let g:loaded_zoom = 1
let s:save_cpo = &cpo
set cpo&vim
" keep default value
let s:current_font = &guifont
" command
command! -narg=0 ZoomIn :call s:ZoomIn()
command! -narg=0 ZoomOut :call s:ZoomOut()
command! -narg=0 ZoomReset :call s:ZoomReset()
" map
nmap + :ZoomIn<CR>
nmap - :ZoomOut<CR>
" guifont size + 1
function! s:ZoomIn()
let l:fsize = substitute(&guifont, '^.*:h\([^:]*\).*$', '\1', '')
let l:fsize += 1
let l:guifont = substitute(&guifont, ':h\([^:]*\)', ':h' . l:fsize, '')
let &guifont = l:guifont
endfunction
" guifont size - 1
function! s:ZoomOut()
let l:fsize = substitute(&guifont, '^.*:h\([^:]*\).*$', '\1', '')
let l:fsize -= 1
let l:guifont = substitute(&guifont, ':h\([^:]*\)', ':h' . l:fsize, '')
let &guifont = l:guifont
endfunction
" reset guifont size
function! s:ZoomReset()
let &guifont = s:current_font
endfunction
let &cpo = s:save_cpo
finish
==============================================================================
zoom.vim : control gui font size with "+" or "-" keys.
------------------------------------------------------------------------------
$VIMRUNTIMEPATH/plugin/zoom.vim
==============================================================================
author : OMI TAKU
url : http://nanasi.jp/
email : mail@nanasi.jp
version : 2008/07/18 10:00:00
==============================================================================
Control Vim editor font size with key "+", or key "-".
Press "+" key, Vim editor gui font size will change bigger.
And, press "-" key, Vim editor gui font size will change smaller.
This plugin is for GUI only.
Normal Mode:
+ ... change font size bigger
- ... change font size smaller
Command-line Mode:
:ZoomIn ... change font size bigger
:ZoomOut ... change font size smaller
:ZoomReset ... reset font size changes.
==============================================================================
1. Copy the zoom.vim script to
$HOME/vimfiles/plugin or $HOME/.vim/plugin directory.
Refer to ':help add-plugin', ':help add-global-plugin' and
':help runtimepath' for more details about Vim plugins.
2. Restart Vim.
==============================================================================
" vim: set ff=unix et ft=vim nowrap :

337
.vimrc

@ -0,0 +1,337 @@
" Vim with all enhancements
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin
" Use the internal diff if available.
" Otherwise use the special 'diffexpr' for Windows.
if &diffopt !~# 'internal'
set diffexpr=MyDiff()
endif
function MyDiff()
let opt = '-a --binary '
if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif
if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif
let arg1 = v:fname_in
if arg1 =~ ' ' | let arg1 = '"' . arg1 . '"' | endif
let arg1 = substitute(arg1, '!', '\!', 'g')
let arg2 = v:fname_new
if arg2 =~ ' ' | let arg2 = '"' . arg2 . '"' | endif
let arg2 = substitute(arg2, '!', '\!', 'g')
let arg3 = v:fname_out
if arg3 =~ ' ' | let arg3 = '"' . arg3 . '"' | endif
let arg3 = substitute(arg3, '!', '\!', 'g')
if $VIMRUNTIME =~ ' '
if &sh =~ '\<cmd'
if empty(&shellxquote)
let l:shxq_sav = ''
set shellxquote&
endif
let cmd = '"' . $VIMRUNTIME . '\diff"'
else
let cmd = substitute($VIMRUNTIME, ' ', '" ', '') . '\diff"'
endif
else
let cmd = $VIMRUNTIME . '\diff'
endif
let cmd = substitute(cmd, '!', '\!', 'g')
silent execute '!' . cmd . ' ' . opt . arg1 . ' ' . arg2 . ' > ' . arg3
if exists('l:shxq_sav')
let &shellxquote=l:shxq_sav
endif
endfunction
" An example for a gvimrc file.
" The commands in this are executed when the GUI is started, after the vimrc
" has been executed.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last change: 2016 Apr 05
"
" To use it, copy it to
" for Unix and OS/2: ~/.gvimrc
" for Amiga: s:.gvimrc
" for MS-DOS and Win32: $VIM\_gvimrc
" for OpenVMS: sys$login:.gvimrc
" Make external commands work through a pipe instead of a pseudo-tty
"set noguipty
" set the X11 font to use
" set guifont=-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
set ch=2 " Make command line two lines high
set mousehide " Hide the mouse when typing text
" Make shift-insert work like in Xterm
" map <S-Insert> <MiddleMouse>
" map! <S-Insert> <MiddleMouse>
" Only do this for Vim version 5.0 and later.
if version >= 500
" Switch on syntax highlighting if it wasn't on yet.
if !exists("syntax_on")
syntax on
endif
" For Win32 version, have "K" lookup the keyword in a help file
"if has("win32")
" let winhelpfile='windows.hlp'
" map K :execute "!start winhlp32 -k <cword> " . winhelpfile <CR>
"endif
" Set nice colors
" background for normal text is light grey
" Text below the last line is darker grey
" Cursor is green, Cyan when ":lmap" mappings are active
" Constants are not underlined but have a slightly lighter background
" highlight Normal guibg=Black
" highlight Cursor guibg=Black guifg=Black
" highlight lCursor guibg=Cyan guifg=Black
" highlight NonText guibg=Black guifg=Black
" highlight Constant gui=NONE guibg=Black
" highlight Special gui=NONE guibg=Black
endif
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"=> Trailing spaces
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"function! CleanExtraSpaces() "Function to clean unwanted spaces
" let save_cursor = getpos(".")
" let old_query = getreg('/')
" silent! %s/\s\+$//e
" call setpos('.', save_cursor)
" call setreg('/', old_query)
"endfun
"autocmd BufWritePre * :call CleanExtraSpaces()
" Exit Vim if NERDTree is the only window left.
autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() |
\ quit | endif
"if (&diff==0)
" :autocmd BufReadPost * tab ball
"endif
set history=50
if has('gui_running')
""set guifont=Lucida_Console:h10
set lines=30 columns=100
set guifont=DroidSansMono_Nerd_Font:h11
endif
""set guifont=Lucida_Console:h10
filetype plugin on
set omnifunc=syntaxcomplete#Complete
set nobackup
set nowritebackup
set noswapfile
set noundofile
set path+=**
set encoding=utf8
set number relativenumber
map <C-o> :NERDTreeToggle<CR>
let g:NERDTreeDirArrowExpandable = '►'
let g:NERDTreeDirArrowCollapsible = '▼'
let NERDTreeShowLineNumbers=1
let NERDTreeShowHidden=1
let g:NERDTreeWinSize=38
let NERDTreeQuitOnOpen = 1
let g:GPGUseAgent = 1
let g:GPGPreferSymmetric = 1
let g:GPGPreferArmor = 1
"autocmd BufReadPre *.asc :set textwidth=72
"autocmd BufReadPre *.gpg :set textwidth=72
"autocmd BufReadPre *.pgp :set textwidth=72
"autocmd BufWritePre *.asc :set textwidth=72
"autocmd BufWritePre *.gpg :set textwidth=72
"autocmd BufWritePre *.pgp :set textwidth=72
"autocmd User GnuPG setlocal textwidth=72
set autoread
set viminfo=""
set wrap
set linebreak
set textwidth=0
set wrapmargin=0
set formatoptions-=t
set wildmenu
set wildmode=longest,list,full
set noendofline
set clipboard=unnamedplus
au BufWritePre * :set binary | set noeol
au BufWritePost * :set nobinary | set eol
autocmd! bufwritepost /home/vmware/.vimrc source %
" Automatically deletes all trailing whitespace and newlines at end of file on save.
" autocmd BufWritePre * %s/\s\+$//e
" autocmd BufWritePre * %s/\n\+\%$//e
" View all whitespaces
"
"set syntax=whitespace
"set listchars=eol:¬,tab:>·,trail:~,extends:>,precedes:<,space:␣
"set list
nnoremap k gk
nnoremap j gj
nnoremap <Down> gj
nnoremap <Up> gk
vmap k gk
vmap j gj
vmap <Down> gj
vmap <Up> gk
vmap <Right> l
vmap <Left> h
inoremap <Up> <C-o>gk
inoremap <Down> <C-o>gj
nnoremap / /\c
nnoremap ? ?\c
nnoremap o o<ESC>i
let g:airline_powerline_fonts = 1
set rop=type:directx,gamma:1.0,contrast:0.5,level:1,geom:1,renmode:4,taamode:1
let g:airline_theme='murmur'
""source $HOME/.vim/colors/hacker.vim
source $HOME/.vim/colors/DarkModeReloaded.vim
set guiheadroom=0
autocmd BufReadPre *.nfo :setlocal fileencodings=cp437,utf-8
autocmd BufReadPre *.nfo_original :setlocal fileencodings=cp437,utf-8
vnoremap <C-C> "+y
vnoremap <C-d> d
vnoremap <C-C> "+y
vnoremap <C-Insert> "+y
noremap <C-A> <C-C>ggvG$
inoremap <C-A> <C-C>ggvG$
cnoremap <C-A> <C-C>ggvG$
onoremap <C-A> <C-C>ggvG$
snoremap <C-A> <C-C>ggvG$
xnoremap <C-A> <C-C>ggvG$
nnoremap d "_d
vnoremap d "_d
nnoremap <BS> "_d<Esc>
vnoremap <BS> "_d<Esc>
nnoremap <Del> "_d<Esc>
vnoremap <Del> "_d<Esc>
" Git Gutter
highlight GitGutterAdd guifg=#009900 ctermfg=Green
highlight GitGutterChange guifg=#bbbb00 ctermfg=Yellow
highlight GitGutterDelete guifg=#ff2222 ctermfg=Red
let g:gitgutter_enabled = 1
let g:gitgutter_map_keys = 0
let g:gitgutter_highlight_lines = 1
let g:gitgutter_highlight_linenrs = 1
"let g:gitgutter_log=1
set updatetime=100
"let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
" Check pylint for python
"let g:syntastic_python_flake8_exe = '~/.local/bin/flake8.exe'
"let g:syntastic_python_checkers = ['flake8']
"let g:syntastic_python_bandit_exe = '~/.local/bin/bandit.exe'
let g:airline#extensions#syntastic#stl_format_err = 1
let g:airline#extensions#syntastic#stl_format_warn = 1
let g:python3_host_prog = '/usr/bin/python3.exe'
" deoplete tab-complete
inoremap <expr><tab> pumvisible() ? "\<c-n>" : "\<tab>"
" tern
autocmd FileType javascript nnoremap <silent> <buffer> gb :TernDef<CR>
"let data_dir = has('nvim') ? stdpath('data') . '/site' : '/Program Files/Vim/vim82'
"if empty(glob(data_dir . '/autoload/plug.vim'))
" silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
" autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
"endif
" Specify a directory for plugins
" - For Neovim: stdpath('data') . '/plugged'
" - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.vim/pack')
"
Plug 'junegunn/vim-plug'
"
Plug 'preservim/nerdtree'
"
Plug 'tpope/vim-surround'
"
Plug 'tpope/vim-unimpaired'
"
Plug 'inkarkat/vim-ExtractMatches'
"
Plug 'inkarkat/vim-ingo-library'
"
Plug 'PProvost/vim-ps1'
"
Plug 'ekalinin/Dockerfile.vim'
"
Plug 'vim-airline/vim-airline-themes'
"
Plug 'vim-airline/vim-airline'
"
Plug 'ryanoasis/vim-devicons'
"
Plug 'jamessan/vim-gnupg'
"
Plug 'airblade/vim-gitgutter'
"
Plug 'tpope/vim-fugitive'
"
Plug 'xuyuanp/nerdtree-git-plugin'
"
Plug 'scrooloose/syntastic'
"
Plug 'davidhalter/jedi-vim'
"
Plug 'ctrlpvim/ctrlp.vim'
"
Plug 'neoclide/coc.nvim'
"
" Initialize plugin system
call plug#end()
Loading…
Cancel
Save