summaryrefslogtreecommitdiff
path: root/fedora/.config/vim
diff options
context:
space:
mode:
Diffstat (limited to 'fedora/.config/vim')
-rw-r--r--fedora/.config/vim/init.vim2
-rw-r--r--fedora/.config/vim/vimrc4
2 files changed, 3 insertions, 3 deletions
diff --git a/fedora/.config/vim/init.vim b/fedora/.config/vim/init.vim
index d12ce78..4104ba3 100644
--- a/fedora/.config/vim/init.vim
+++ b/fedora/.config/vim/init.vim
@@ -22,7 +22,7 @@ autocmd BufWritePre *neomutt* %s/^--$/-- /e " dash-dash-space signature delimite
autocmd BufWritePre * cal cursor(currPos[1], currPos[2])
" When shortcut files are updated, renew bash and ranger configs with new material:
-autocmd BufWritePost bm-files,bm-dirs !shortcuts
+autocmd BufWritePost bm-files,bm-dirs !bmshortcuts
" }}}
diff --git a/fedora/.config/vim/vimrc b/fedora/.config/vim/vimrc
index 0a76953..a782a14 100644
--- a/fedora/.config/vim/vimrc
+++ b/fedora/.config/vim/vimrc
@@ -335,8 +335,8 @@ set nocursorcolumn
set shiftwidth=4
set tabstop=4
-" If the current file type is HTML, set indentation to 2 spaces.
-autocmd Filetype html setlocal tabstop=2 shiftwidth=2 expandtab
+" If the current file type is HTML, CSS, JS, JSX, TS, TSX set indentation to 2 spaces.
+autocmd Filetype html,css,js,jsx,ts,tsx setlocal tabstop=2 shiftwidth=2 expandtab
" Do not save backup files.
set nobackup