Created
June 19, 2019 17:53
-
-
Save mattbontrager/5da913ab34815b3f78f8db420f46df8c to your computer and use it in GitHub Desktop.
My current vimrc
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
set t_Co=256 | |
set termguicolors | |
set nocompatible" be iMproved, required | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'mattn/emmet-vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'Xuyuanp/nerdtree-git-plugin' | |
Plugin 'kien/ctrlp.vim' | |
Bundle 'christoomey/vim-tmux-navigator' | |
Plugin 'vim-airline/vim-airline' | |
Plugin 'vim-airline/vim-airlilne-themes' | |
Plugin 'othree/yajs.vim' | |
Plugin 'othree/html5.vim' | |
Plugin 'kaicataldo/material.vim' | |
call vundle#end() | |
filetype plugin indent on | |
syntax on | |
set autoindent | |
set ts=4 | |
set showmatch | |
set ignorecase | |
set hlsearch | |
set incsearch | |
set ruler | |
set laststatus=2 | |
filetype on | |
" Color scheme | |
set background=dark | |
colorscheme material | |
let g:material_theme_style='default' | |
let g:material_termainal_italics=1 | |
set number | |
set bs=2 | |
set smartindent | |
set shiftwidth=4 | |
set noexpandtab | |
set tabstop=4 | |
let g:ctrlp_custom_ignore = 'node_modules\|DS_Store\|git\|NERD_*' | |
let NERDTreeAutoDeleteBuffer=1 | |
let g:NERDTreeWinSize=30 | |
let NERDTreeIgnore=['\NERD_*', '\node_modules', '\.nyc_output'] | |
autocmd StdinReadPre * let s:std_in=1 | |
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif | |
let g:airline_theme='material' | |
" emmet key remap | |
imap <expr> <tab> emmet#expandAbbrIntelligent("/<tab>") | |
" easier navigation | |
nnoremap <C-J> <C-W><C-J> | |
nnoremap <C-K> <C-W><C-K> | |
nnoremap <C-L> <C-W><C-L> | |
nnoremap <C-H> <C-W><C-H> | |
" better splitting | |
set splitbelow | |
set splitright |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment