diff options
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | fish/.config/fish/functions/backupstatus.fish | 6 | ||||
m--------- | vim/.vim/bundle/vim-commentary | 0 | ||||
m--------- | vim/.vim/bundle/vim-fish | 0 | ||||
m--------- | vim/.vim/bundle/vim-fugitive | 0 | ||||
m--------- | vim/.vim/bundle/vim-gitgutter | 0 | ||||
-rw-r--r-- | vim/.vim/ftplugin/fish.vim | 9 | ||||
-rw-r--r-- | vim/.vimrc | 5 |
8 files changed, 23 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules index 1f5fd2a..e8e19d2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -23,3 +23,6 @@ [submodule "vim/.vim/bundle/vim-lastplace"] path = vim/.vim/bundle/vim-lastplace url = https://github.com/farmergreg/vim-lastplace +[submodule "vim/.vim/bundle/vim-fish"] + path = vim/.vim/bundle/vim-fish + url = https://github.com/dag/vim-fish diff --git a/fish/.config/fish/functions/backupstatus.fish b/fish/.config/fish/functions/backupstatus.fish new file mode 100644 index 0000000..ebb4c3f --- /dev/null +++ b/fish/.config/fish/functions/backupstatus.fish @@ -0,0 +1,6 @@ +function backupstatus + ssh rsync quota +for bkp in (ssh rsync ls) +ssh rsync du -sh $bkp +end +end diff --git a/vim/.vim/bundle/vim-commentary b/vim/.vim/bundle/vim-commentary -Subproject 141d9d32a9fb58fe474fcc89cd7221eb2dd57b3 +Subproject 62b68aecec2de531bc3978bfb9c07d3b6759ce0 diff --git a/vim/.vim/bundle/vim-fish b/vim/.vim/bundle/vim-fish new file mode 160000 +Subproject 50b95cbbcd09c046121367d49039710e9dc9c15 diff --git a/vim/.vim/bundle/vim-fugitive b/vim/.vim/bundle/vim-fugitive -Subproject b97a9abe29c39c4e1a45ae199dbb470df362f53 +Subproject b09c5d2523f9964add241a04862c2f8bbd7d428 diff --git a/vim/.vim/bundle/vim-gitgutter b/vim/.vim/bundle/vim-gitgutter -Subproject e929cb8b868aba97331231ece6f9f3e1204babe +Subproject 5c73edb3c2fd8794661d7c7ac72eed1fc9d3676 diff --git a/vim/.vim/ftplugin/fish.vim b/vim/.vim/ftplugin/fish.vim new file mode 100644 index 0000000..284d352 --- /dev/null +++ b/vim/.vim/ftplugin/fish.vim @@ -0,0 +1,9 @@ +" set up :make to use fish for syntax checking +compiler fish + +" set this to have long lines wrap inside comments +setlocal textwidth=79 + +" enable folding of block structures in fish +setlocal foldmethod=expr + diff --git a/vim/.vimrc b/vim/.vimrc index beef3d9..e4c25bf 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -1,3 +1,8 @@ +" posix compatibility +if &shell =~# 'fish$' + set shell=sh +endif + filetype plugin indent on syntax enable |