Skip to content

Instantly share code, notes, and snippets.

@skylerspaeth
Created February 5, 2022 03:46
Show Gist options
  • Save skylerspaeth/96db4532fa8894b51d9f055263baca30 to your computer and use it in GitHub Desktop.
Save skylerspaeth/96db4532fa8894b51d9f055263baca30 to your computer and use it in GitHub Desktop.
.vimrc 2/4/2022
filetype plugin indent on
syntax on
set nu
set nowrap
set relativenumber
"Language-specific customizations:
"For *.hbs:
au BufNewFile,BufRead *.handlebars,*.hbs set filetype=html
"For *.js:
autocmd FileType javascript setlocal ts=2 sts=2 sw=2
"For *.jsx:
autocmd FileType javascriptreact setlocal sts=2 sts=2 sw=2
"VimPlug is required for below to work:
call plug#begin()
Plug 'chemzqm/vim-jsx-improve'
call plug#end()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment