Created
July 9, 2019 15:57
-
-
Save christianscott/ab7f8b6f23953adea8b5a6987803e264 to your computer and use it in GitHub Desktop.
Minimal .vimrc
This file contains hidden or 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
" plugins | |
call plug#begin('~/.vim/plugged') | |
Plug 'pangloss/vim-javascript' | |
Plug 'mxw/vim-jsx' | |
Plug 'leafgarland/typescript-vim' | |
Plug '/usr/local/opt/fzf' | |
Plug 'junegunn/fzf.vim' | |
call plug#end() | |
" basic | |
filetype plugin on | |
filetype indent on | |
set autoread | |
set backspace=eol,start,indent | |
set noerrorbells | |
set novisualbell | |
set t_vb= | |
set tm=500 | |
" colors | |
syntax enable | |
set background=light | |
colorscheme delek | |
" text | |
set encoding=utf8 | |
set ffs=unix,dos,mac | |
" swapfiles | |
set nobackup | |
set nowb | |
set noswapfile | |
" indentation | |
set expandtab | |
set smarttab | |
set shiftwidth=2 | |
set tabstop=2 | |
set lbr | |
set tw=500 | |
set ai " Auto indent | |
set si " Smart indent | |
set wrap " Wrap lines | |
" status line | |
set laststatus=2 | |
set statusline=\ %F%m%r%h\ %w\ \ CWD:\ %r%{getcwd()}%h\ \ \ Line:\ %l\ \ Column:\ %c | |
" bindings | |
" | |
nnoremap <C-p> :FZF<CR> | |
nnoremap ; :Buffers<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment