Skip to content

Instantly share code, notes, and snippets.

@retpolanne
Created October 5, 2019 22:23
Show Gist options
  • Save retpolanne/e11e4802da19f0132205df96898b5ba7 to your computer and use it in GitHub Desktop.
Save retpolanne/e11e4802da19f0132205df96898b5ba7 to your computer and use it in GitHub Desktop.
" vim airline required configs
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
" add plugins bellow
Plugin 'stephpy/vim-yaml'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
" vim-go https://github.com/fatih/vim-go/wiki/Tutorial
Plugin 'fatih/vim-go'
Plugin 'scrooloose/nerdtree'
Plugin 'janko/vim-test'
Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-fireplace'
" add plugins above
call vundle#end()
filetype plugin indent on
" my custom settings
syntax on
set number
" list of buffers
let g:airline#extensions#tabline#enabled = 1
" use ctrl+n to open nerdtree
map <C-n> :NERDTreeToggle<CR>
" vim-test bindings
nmap <silent> t<C-q> :TestNearest<CR>
nmap <silent> t<C-f> :TestFile<CR>
nmap <silent> t<C-s> :TestSuite<CR>
nmap <silent> t<C-l> :TestLast<CR>
nmap <silent> t<C-g> :TestVisit<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment