Created
April 20, 2021 14:56
-
-
Save dodicandra/dced7705984d733ed1f1240d5addc984 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set number | |
syntax enable | |
set background=light | |
set encoding=UTF-8 | |
set cursorline | |
set termguicolors | |
set expandtab | |
set smarttab | |
set shiftwidth=4 | |
set softtabstop=4 | |
colorscheme onedark | |
let g:NERDTreeDirArrowExpandable = '▸' | |
let g:NERDTreeDirArrowCollapsible = '▾' | |
let g:lightline = { | |
\ 'colorscheme': 'onedark', | |
\ } | |
let g:airline_theme='onedark' | |
let g:airline#extensions#tabline#enabled = 1 | |
call plug#begin('~/.vim/plugged') | |
Plug 'junegunn/vim-easy-align' | |
Plug 'https://github.com/junegunn/vim-github-dashboard.git' | |
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } | |
Plug 'junegunn/fzf' | |
Plug 'junegunn/fzf.vim' | |
Plug 'neoclide/coc.nvim', { 'branch' : 'master', 'do': 'yarn install --frozen-lockfile' } | |
Plug 'preservim/nerdtree' | |
Plug 'itchyny/lightline.vim' | |
Plug 'tpope/vim-fireplace', { 'for': 'clojure' } | |
Plug 'ryanoasis/vim-devicons' | |
Plug 'vim-airline/vim-airline' | |
Plug 'vim-airline/vim-airline-themes' | |
Plug 'mg979/vim-visual-multi',{'branch':'master'} | |
Plug 'rdnetto/YCM-Generator', { 'branch': 'stable' } | |
Plug 'fatih/vim-go', { 'tag': '*' } | |
Plug 'nsf/gocode', { 'tag': 'v.20150303', 'rtp': 'vim' } | |
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } | |
Plug '~/my-prototype-plugin' | |
call plug#end() | |
inoremap <silent><expr> <TAB> | |
\ pumvisible() ? "\<C-n>" : | |
\ <SID>check_back_space() ? "\<TAB>" : | |
\ coc#refresh() | |
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>" | |
function! s:check_back_space() abort | |
let col = col('.') - 1 | |
return !col || getline('.')[col - 1] =~# '\s' | |
endfunction | |
" Use <c-space> to trigger completion. | |
if has('nvim') | |
inoremap <silent><expr> <c-space> coc#refresh() | |
else | |
inoremap <silent><expr> <c-@> coc#refresh() | |
endif | |
nmap <space>e :NERDTree<CR> | |
nmap <space>f :NERDTreeFocus<CR> | |
nmap <space>ff :NERDTreeFind<CR> | |
nmap <C-s> :w<CR> | |
nmap <C-q> :q<CR> | |
command! Reload :so ~/.vimrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment