Update openbox config

This commit is contained in:
Smirnov Alexandr 2021-02-26 09:52:43 +02:00
parent 2a67211908
commit 8511aa4130
9 changed files with 57 additions and 12 deletions

View file

@ -66,18 +66,16 @@ set hidden
set nospell spelllang=en_us
" Space/tab indicator
set list listchars=tab:>·,trail:~,extends:>,precedes:<,space
set list listchars=tab:\|·,trail:~,extends:>,precedes:<,space
" Disable sound
set visualbell t_vb=
"== Settings for specific files
autocmd BufWritePre *.py normal m`:%s/\s\+$//e ``
autocmd FileType python,go,json setlocal expandtab shiftwidth=4 tabstop=4
autocmd FileType html,css,javascript,javascriptreact,yaml setlocal expandtab shiftwidth=2 tabstop=2
"== Aliases
command! W :w
command! Q :q