Add yaml formatting

This commit is contained in:
Sonny 2018-07-15 14:57:31 +02:00
parent 7be04bfc63
commit 8b85b30cd1
2 changed files with 1 additions and 7 deletions

View file

@ -1,12 +1,6 @@
# use vim copy/paste keybindings
setw -g mode-keys vi
# Copy vim-style to clipboard
bind -t vi-copy y copy-pipe "xclip -sel clip -i"
# Paste clipboard into window
bind C-v run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer"
# split panes using | and -
bind | split-window -h
bind - split-window -v

View file

@ -19,7 +19,7 @@ set hidden
" file specific formatting
autocmd Filetype python,bash,sh,java,php setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent fileformat=unix
autocmd Filetype css,html,htmldjango,javascript setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent
autocmd Filetype css,html,htmldjango,javascript,yaml setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent
" search down into subfolders
" provides tab-completion for all file-related tasks