Compare commits

...

2 Commits

Author SHA1 Message Date
Johannes Rothe
f8169bfcb0 fish: start cam alias
All checks were successful
dotfiles/pipeline/head This commit looks good
2022-02-02 09:55:06 +01:00
Johannes Rothe
33295806e9 vimrc: add sh augroup 2022-02-02 09:55:06 +01:00
2 changed files with 9 additions and 2 deletions

View File

@ -0,0 +1,4 @@
# Defined in - @ line 1
function cam --wraps='gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0' --description 'alias cam=gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0'
gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0 $argv;
end

View File

@ -21,6 +21,9 @@ augroup terraform
autocmd FileType terraform :set tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent fileformat=unix
autocmd FileType terraform nnoremap <F9> :! terraform fmt<CR>
augroup end
augroup sh
autocmd FileType sh :set tabstop=2 softtabstop=2 shiftwidth=2 expandtab autoindent fileformat=unix
augroup end
" vim-plug
" :PlugInstall to install new one