Add yaml formatting
This commit is contained in:
parent
7be04bfc63
commit
8b85b30cd1
2 changed files with 1 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue