From 6249474c491db49ff27a66accff5e233febec073 Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Sat, 18 Apr 2020 21:29:44 -0700 Subject: [PATCH] neovim: HTML tweaks --- neovim/init.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neovim/init.vim b/neovim/init.vim index 1480526..e1b63d0 100644 --- a/neovim/init.vim +++ b/neovim/init.vim @@ -264,6 +264,7 @@ command NoCrosshair :set virtualedit= nocursorcolumn let g:AutoPairsShortcutToggle = '' autocmd FileType css setlocal ts=2 sts=2 sw=2 expandtab +autocmd FileType html setlocal ts=2 sts=2 sw=2 expandtab autocmd FileType javascript.jsx setlocal ts=2 sts=2 sw=2 expandtab autocmd FileType javascript setlocal ts=2 sts=2 sw=2 expandtab autocmd FileType json setlocal ts=2 sts=2 sw=2 expandtab @@ -287,3 +288,6 @@ autocmd FileType ledger nmap ' :call ledger#transaction_state_t nmap ;cc :let @+=expand("%") nmap ;cp :let @+=expand("%:p") + +" For some reason, (neo)vim sees as , so bind that instead. +autocmd FileType html inoremap