Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " 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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement