""""""""""""""""""""""""""""""""""""" " Capella .vimrc """"""""""""""""""""""""""""""""""""" set nocompatible " be iMproved, required filetype off " required " set the runtime path to include Vundle and initialize set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " let Vundle manage Vundle, required Plugin 'VundleVim/Vundle.vim' " ------Plugins------- Plugin 'vim-airline/vim-airline' Plugin 'vim-airline/vim-airline-themes' Plugin 'scrooloose/nerdtree' Plugin 'tpope/vim-fugitive' Plugin 'kristijanhusak/vim-multiple-cursors' Plugin 'tpope/vim-surround' Plugin 'colors' Plugin 'jistr/vim-nerdtree-tabs' Plugin 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } Plugin 'iwonbigbro/vim-hybrid' Plugin 'dense-analysis/ale' call vundle#end() filetype plugin indent on if has('syntax') && !exists('g:syntax_on') syntax enable endif """"""""""""""""""""""""""""""""""""" " Configuration Section """"""""""""""""""""""""""""""""""""" set laststatus=2 set ruler set showcmd set wildmenu set autoread set backspace=indent,eol,start " Show linenumbers set number set noruler " Encoding set encoding=utf-8 " Set Proper Tabs set tabstop=4 set shiftwidth=4 set smarttab set expandtab set listchars=tab:▒░,trail:▓ set list " Theme and Styling set t_Co=256 set background=dark " Vim-Airline Configuration let g:airline#extensions#tabline#enabled = 1 let g:airline_theme='badwolf' let g:airline_powerline_fonts = 1 " NERDTree nnoremap :NERDTreeToggle " exit insert mode inoremap set guifont=Source\ Code\ Pro\ for\ Powerline set t_Co=256 let g:NERDTreeDirArrowExpandable = '▸' let g:NERDTreeDirArrowCollapsible = '▾' """"""""""""""""""""""""""""""""""""" " Colors """"""""""""""""""""""""""""""""""""" hi Normal ctermfg=252 ctermbg=none hi CursorLine ctermbg=236 cterm=none hi CursorLineNr ctermfg=208 cterm=none hi Boolean ctermfg=141 hi Character ctermfg=222 hi Number ctermfg=141 hi String ctermfg=222 hi Conditional ctermfg=197 cterm=bold hi Constant ctermfg=141 cterm=bold hi DiffDelete ctermfg=125 ctermbg=233 hi Directory ctermfg=154 cterm=bold hi Error ctermfg=222 ctermbg=233 hi Exception ctermfg=154 cterm=bold hi Float ctermfg=141 hi Function ctermfg=154 hi Identifier ctermfg=208 hi Keyword ctermfg=197 cterm=bold hi Operator ctermfg=197 hi PreCondit ctermfg=154 cterm=bold hi PreProc ctermfg=154 hi Repeat ctermfg=197 cterm=bold hi Statement ctermfg=197 cterm=bold hi Tag ctermfg=197 hi Title ctermfg=203 hi Visual ctermbg=238 hi Comment ctermfg=244 hi LineNr ctermfg=239 ctermbg=235 hi NonText ctermfg=239 hi SpecialKey ctermfg=239 colorscheme hybrid autocmd FileType nerdtree setlocal colorcolumn& highlight ColorColumn ctermbg=232 guibg=#2c2d27 let &colorcolumn="".join(range(81,999),",") set splitright autocmd vimenter * NERDTree autocmd vimenter * wincmd p let g:NERDTreeDirArrows=0 """"""""""""""""""""""""""""""""""""" " Golang """"""""""""""""""""""""""""""""""""" autocmd Filetype go command! -bang A call go#alternate#Switch(0, 'edit') autocmd Filetype go command! -bang AV call go#alternate#Switch(0, 'vsplit') autocmd Filetype go command! -bang AS call go#alternate#Switch(0, 'split') autocmd Filetype go command! -bang AT call go#alternate#Switch(0, 'tabe') map :cnext map :cprevious nnoremap a :cclose autocmd FileType go nmap b (go-build) autocmd FileType go nmap r (go-run)