Skip to content

Instantly share code, notes, and snippets.

@A9u
Last active March 11, 2021 11:09
Show Gist options
  • Save A9u/d798fb1ef992ff051f305f2f5bc5ed7f to your computer and use it in GitHub Desktop.
Save A9u/d798fb1ef992ff051f305f2f5bc5ed7f to your computer and use it in GitHub Desktop.
set ts=2
set sw=2
set expandtab
set hls
set autoindent
set smartindent
filetype plugin indent on
set autoread
set ruler
syntax enable
set number
set wildmenu
set incsearch
set cursorline
set showcmd
set tw=120
set nobackup
set omnifunc=syntaxcomplete#Complete
set scrolloff=3
hi CursorLine term=none ctermbg=white ctermfg=black
autocmd BufWritePre * %s/\s\+$//e
call plug#begin('~/.vim/plugged')
Plug 'pangloss/vim-javascript'
Plug 'vim-ruby/vim-ruby'
Plug 'mxw/vim-jsx'
Plug 'airblade/vim-gitgutter'
Plug 'tpope/vim-fugitive'
Plug 'fatih/vim-go', {'do': ':GoUpdateBinaries'}
Plug 'scrooloose/nerdtree'
call plug#end()
let g:go_fmt_command = "goimports"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment