Auto reload tmux when config is saved
This commit is contained in:
parent
09b3b397dd
commit
5de8003f69
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,8 @@ autocmd BufNewFile,BufRead *.handlebars,*.hbs set filetype=html.han
|
|||
autocmd FileType javascript,dustjs,html.handlebars,css,scss setlocal tabstop=2 shiftwidth=2 softtabstop=2
|
||||
autocmd FileType go setlocal noexpandtab
|
||||
|
||||
autocmd BufWritePost ~/.tmux.conf silent !tmux source-file ~/.tmux.conf
|
||||
|
||||
" Automatically wraps markdown and text to 80 columns
|
||||
if &filetype == 'markdown' || &filetype == 'text'
|
||||
set textwidth=80
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue