aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2021-08-05 12:05:07 -0700
committerkatherine <ageha@airen-no-jikken.icu>2021-08-05 12:05:07 -0700
commit68851c45c0ca064e20031b1f32e49638d18f7826 (patch)
tree09c19de371cfbb6e08daa8b006fbc376e681454d
parentc9cc7537223f45f21a66528f7b9349cbcaea3f0f (diff)
downloaddotfiles-68851c45c0ca064e20031b1f32e49638d18f7826.tar.gz
vim js config
-rw-r--r--.vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 05d9726..48a3b48 100644
--- a/.vimrc
+++ b/.vimrc
@@ -16,6 +16,8 @@ call plug#begin('~/.vim/plugged')
Plug 'vim-crystal/vim-crystal'
Plug 'elixir-lang/vim-elixir'
Plug 'https://git.airen-no-jikken.icu/ageha/every.vim.git'
+Plug 'pangloss/vim-javascript'
+Plug 'MaxMEllon/vim-jsx-pretty'
Plug 'leanprover/lean.vim'
Plug 'plasticboy/vim-markdown'
Plug 'https://git.airen-no-jikken.icu/ageha/mips.vim.git'
@@ -401,6 +403,7 @@ fun! s:settings_c()
"note: weird reverse order to avoid opening folds
inoremap <buffer> {<CR> }<Esc>i{<CR><Esc>O
inoremap <buffer> (<CR> )<Esc>i(<CR><Esc>O
+ inoremap <buffer> [<CR> ]<Esc>i[<CR><Esc>O
endfun
fun! s:settings_coffee()