Skip to content

Instantly share code, notes, and snippets.

@YXL76
Created June 1, 2020 11:01
Show Gist options
  • Save YXL76/b13b82b011ebc1964988ce178d7fed12 to your computer and use it in GitHub Desktop.
Save YXL76/b13b82b011ebc1964988ce178d7fed12 to your computer and use it in GitHub Desktop.
Vim
call plug#begin('~/.vim/plugged')
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-surround'
Plug 'junegunn/vim-github-dashboard'
" Plug 'scrooloose/nerdtree'
" Plug 'Xuyuanp/nerdtree-git-plugin'
" Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'scrooloose/syntastic'
Plug 'tyrannicaltoucan/vim-quantum'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'airblade/vim-gitgutter'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'jiangmiao/auto-pairs'
Plug 'preservim/nerdcommenter'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'terryma/vim-multiple-cursors'
Plug 'editorconfig/editorconfig-vim'
" Plug 'myusuf3/numbers.vim'
Plug 'nathanaelkane/vim-indent-guides'
Plug 'luochen1990/rainbow'
Plug 'machakann/vim-highlightedyank'
Plug 'tmhedberg/SimpylFold'
Plug 'lilydjwg/colorizer'
Plug 'ryanoasis/vim-devicons'
Plug 'mhinz/vim-startify'
" Plug 'powerline/powerline'
Plug 'justinmk/vim-sneak'
Plug 'junegunn/gv.vim'
Plug 'majutsushi/tagbar'
Plug 'yuttie/comfortable-motion.vim'
Plug 'wakatime/vim-wakatime'
Plug 'majutsushi/tagbar'
Plug 'w0rp/ale'
" Plug ‘ycm-core/YouCompleteMe', { 'do': './install.py' }
Plug 'prettier/vim-prettier', {
\ 'do': 'yarn install',
\ 'for': ['javascript', 'typescript', 'css', 'less', 'scss', 'json', 'graphql', 'markdown', 'vue', 'yaml', 'html'] }
call plug#end()
set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab
set number
:nmap <space>e :CocCommand explorer<CR>
:nmap <space>t :TagbarToggle<CR>
set background=dark
set termguicolors
let g:quantum_italics=1
colorscheme quantum
" let g:numbers_exclude = ['tagbar', 'coc-explorer', 'vim-startify']
let g:airline_theme='quantum'
let g:airline#extensions#tabline#enabled = 1
let g:indent_guides_enable_on_vim_startup = 1
let g:indent_guides_guide_size = 2
let g:rainbow_active = 1
" let g:comfortable_motion_scroll_down_key = "j"
" let g:comfortable_motion_scroll_up_key = "k"
let g:ale_sign_column_always = 1
set cursorline
hi CursorLine term=bold cterm=bold guibg=Grey32
highlight Cursor guifg=white guibg=black
highlight iCursor guifg=white guibg=steelblue
set guicursor=n-v-c:block-Cursor
set guicursor+=i:ver100-iCursor
set guicursor+=n-v-c:blinkon0
set guicursor+=i:blinkwait10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment