Skip to content

Instantly share code, notes, and snippets.

@dominickm

dominickm/.vimrc

Last active Oct 9, 2020
Embed
What would you like to do?
.vimrc
call plug#begin()
Plug 'preservim/NERDTree'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'jiangmiao/auto-pairs'
Plug 'tpope/vim-rails'
Plug 'tpope/vim-endwise'
Plug 'dense-analysis/ale'
Plug 'Shougo/deoplete.nvim'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
Plug 'wincent/command-t'
Plug 'vim-ruby/vim-ruby'
call plug#end()
packadd! dracula_pro
syntax enable
let g:dracula_colorterm = 0
let g:deoplete#enable_at_startup = 1
let g:ale_linters = {
\ 'ruby': ['rubocop'],
\ 'python': ['pylint'],
\ 'javascript': ['eslint'],
\ 'typescript': ['tslint'],
\}
let g:LanguageClient_serverCommands = {
\ 'ruby': ['~/.rbenv/shims/solargraph', 'stdio'],
\ }
colorscheme dracula_pro
inoremap <silent><expr> <TAB>
\ pumvisible() ? "\<C-n>" :
\ <SID>check_back_space() ? "\<TAB>" :
\ deoplete#mappings#manual_complete()
function! s:check_back_space() abort "{{{
let col = col('.') - 1
return !col || getline('.')[col - 1] =~ '\s'
endfunction"}}}
set linespace=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment