Skip to content

Instantly share code, notes, and snippets.

@osdrv
Created November 15, 2018 16:10
Show Gist options
  • Save osdrv/9cbaf05a1f7d673ac8db553904a66def to your computer and use it in GitHub Desktop.
Save osdrv/9cbaf05a1f7d673ac8db553904a66def to your computer and use it in GitHub Desktop.
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'rakr/vim-one'
Plugin 'scrooloose/nerdtree'
Plugin 'jistr/vim-nerdtree-tabs'
Plugin 'tpope/vim-fugitive'
Plugin 'bling/vim-airline'
Plugin 'fatih/vim-go'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'vim-syntastic/syntastic'
Plugin 'nightsense/forgotten'
Plugin 'nightsense/snow'
call vundle#end()
filetype plugin indent on
set laststatus=2
"set expandtab " Make a tab to spaces, num of spaces set in tabstop
"set shiftwidth=4 " Number of spaces to use for autoindenting
"set tabstop=4 " A tab is four spaces
set smarttab " insert tabs at the start of a line according to
set smartindent
"set list " show invisible characters
set listchars=tab:>·,trail:· " but only show tabs and trailing whitespace
set number " Enable line numbers
set numberwidth=3
nmap tn :tabnext<CR>
nmap tp :tabprevious<CR>
nmap tt :tabnew<CR>
syntax enable
set t_Co=256
set t_ut=
set background=light
set termguicolors
let g:lightline = { 'colorscheme': 'snow_light' }
colorscheme snow
set tabpagemax=512
set so=999
set incsearch
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 1
let g:airline_theme='papercolor'
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment