Created
March 3, 2016 20:57
-
-
Save lambdatastic/c9c9e252efb8b77f6c06 to your computer and use it in GitHub Desktop.
My nvimrc
This file contains 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
" Must be first, will change a lot of options as a side effect | |
set nocompatible | |
" Intialize Vundle | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" let Vundle manage Vundle, required | |
Plugin 'gmarik/Vundle.vim' | |
" other plugins | |
Plugin 'floobits/floobits-neovim' | |
Plugin 'bling/vim-airline' | |
Plugin 'bling/vim-bufferline' | |
Plugin 'altercation/vim-colors-solarized' | |
Plugin 'airblade/vim-gitgutter' | |
Plugin 'jelera/vim-javascript-syntax' | |
Plugin 'pangloss/vim-javascript' | |
Plugin 'scrooloose/syntastic' | |
Plugin 'mattn/emmet-vim' | |
Plugin 'tomasr/molokai' | |
Plugin 'tpope/vim-markdown' | |
Plugin 'vim-scripts/SyntaxRange' | |
Plugin 'edkolev/promptline.vim' | |
Plugin 'NLKNguyen/papercolor-theme' | |
Plugin 'vimwiki/vimwiki' | |
Plugin 'raichoo/purescript-vim' | |
Plugin 'mikewest/vimroom' | |
Plugin 'mxw/vim-jsx' | |
" All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
" Change mapleader from \ to , (not sure how I feel about it, we'll try it | |
let mapleader="," | |
" Quickly edit / reload .vimrc | |
nmap <silent> <leader>ev :e $MYVIMRC<CR> | |
nmap <silent> <leader>sv :so $MYVIMRC<CR> | |
" Hide buffers instead of closing them | |
set hidden | |
" Basic formatting setting | |
set nowrap " don't wrap lines | |
set tabstop=2 " tab is two spaces | |
set backspace=indent,eol,start " allow backspace to go over everything | |
set autoindent " what it says on the tin | |
set copyindent " copy previous indenting on autoindent | |
set number " dem sweet line numbers | |
set shiftwidth=2 " how many spaces autoindent should use | |
set shiftround " use shiftwidth when indenting via < and > | |
set showmatch " show matching parens | |
set ignorecase " ignore case when searching | |
set smartcase " ignore case if all lower, pay attention to otherwise | |
set smarttab " use shiftwidth instead of tabstop when inserting tabs at the start of a line | |
set hlsearch " highlight search terms | |
set incsearch " show search matches as you type | |
set expandtab " inserts spaces instead of tabs | |
set linebreak " makes vim wrap outside words | |
set nolist " needs to be active to allow linebreak | |
set history=1000 " large command history | |
set undolevels=1000 " large undo history | |
set wildignore=*.swp,*.bak,*.pyc,*.class " ignore random files we'll never open | |
set title " sets term title | |
set visualbell " don't beep | |
set noerrorbells " DON'T BEEP | |
" We have git, so no .bak or .swp files | |
set nobackup | |
set noswapfile | |
" make airline always appear | |
set laststatus=2 | |
" airline config | |
" let g:airline#extensions#tabline#enabled = 1 " shows buffers in one tab | |
if !exists('g:airline_symbols') | |
let g:airline_symbols = {} | |
endif | |
let g:airline_powerline_fonts = 1 | |
let g:airline_theme = 'PaperColor' | |
" bufferline config | |
let g:bufferline_echo = 0 " hide default location of bufferline | |
" turn on syntax highlights | |
syntax enable | |
" set syntastic to use eslint | |
let g:syntastic_javascript_checkers = ['eslint'] | |
" intialize solarized | |
" set background=dark | |
" let g:solarized_termcolors=256 | |
" colorscheme solarized | |
" initialize molokai | |
colorscheme molokai | |
let g:molokai_original = 1 | |
let g:rehash256 = 1 | |
" initialize papercolor | |
" set t_Co=256 | |
" set background=dark | |
" colorscheme PaperColor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment