Skip to content

Instantly share code, notes, and snippets.

@Demonstrandum
Last active August 22, 2017 19:08
Show Gist options
  • Save Demonstrandum/7c067b09c970c8a0c89e9120c4c6569e to your computer and use it in GitHub Desktop.
Save Demonstrandum/7c067b09c970c8a0c89e9120c4c6569e to your computer and use it in GitHub Desktop.
Vim rc w. vundle
set nocompatible
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" PLUGINS:
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'rhysd/vim-crystal'
Plugin 'chrisbra/Colorizer'
let g:airline_theme='solarized'
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 1
if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
let g:airline_symbols.space = "\ua0"
call vundle#end() " required
filetype plugin indent on " required
syntax on
set hidden
set showcmd
set hlsearch
set ignorecase
set smartcase
set backspace=indent,eol,start
set autoindent
set nostartofline
set ruler
set laststatus=2
set confirm
set visualbell
set t_vb=
" Enable use of the mouse for all modes
set mouse=a
" Set the command window height to 2 lines, to avoid many cases of having to
" "press <Enter> to continue"
set cmdheight=2
" Display line numbers on the left
set number
" Quickly time out on keycodes, but never time out on mappings
set notimeout ttimeout ttimeoutlen=200
" Use <F11> to toggle between 'paste' and 'nopaste'
set pastetoggle=<F11>
set shiftwidth=2
set softtabstop=2
set expandtab
set nocompatible
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" PLUGINS:
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'rhysd/vim-crystal'
Plugin 'lilydjwg/colorizer'
let g:airline_theme='solarized'
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 1
if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
let g:airline_symbols.space = "\ua0"
call vundle#end() " required
filetype plugin indent on " required
syntax on
set hidden
set showcmd
set hlsearch
set ignorecase
set smartcase
set backspace=indent,eol,start
set autoindent
set nostartofline
set ruler
set laststatus=2
set confirm
set visualbell
set t_vb=
" Enable use of the mouse for all modes
set mouse=a
" Set the command window height to 2 lines, to avoid many cases of having to
" "press <Enter> to continue"
set cmdheight=2
" Display line numbers on the left
set number
" Quickly time out on keycodes, but never time out on mappings
set notimeout ttimeout ttimeoutlen=200
" Use <F11> to toggle between 'paste' and 'nopaste'
set pastetoggle=<F11>
set cursorline
set list
set lcs=eol:¬
hi CursorLine cterm=NONE ctermbg=black
hi LineNr term=bold cterm=NONE ctermfg=Grey ctermbg=NONE gui=NONE guifg=Grey guibg=NONE
hi CursorLineNr term=bold cterm=NONE ctermfg=Grey ctermbg=black gui=NONE guifg=Grey guibg=NONE
let g:colorizer_auto_color = 1
autocmd VimEnter * ColorHighlight
set laststatus=2
set ttimeoutlen=50
set noshowmode
set shiftwidth=2
set softtabstop=2
set expandtab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment