Add new stuff

This commit is contained in:
ViktorBarzin 2018-04-03 08:31:22 +03:00
parent 1e1749751d
commit a706cf103a
2 changed files with 8 additions and 3 deletions

View file

@ -235,8 +235,8 @@ alias hosts="sudo vim /etc/hosts"
# OUTRES="1920x1080" # output resolution
INRES="$(xdpyinfo | awk '/dimensions/{print $2}')"
OUTRES="$(xdpyinfo | awk '/dimensions/{print $2}')"
FPS="15" # target FPS
GOP="30" # i-frame interval, should be double of FPS,
FPS="24" # target FPS
GOP="48" # i-frame interval, should be double of FPS,
GOPMIN="15" # min i-frame interval, should be equal to fps,
THREADS="2" # max 6
CBR="1000k" # constant bitrate (should be between 1000k - 3000k)

7
.vimrc
View file

@ -101,8 +101,9 @@ nnoremap <Leader><Tab> :b#<CR>
nnoremap <BS> h<DEL>
vnoremap <BS> d
" Save with <Leader> s
" Save with <Leader>s
noremap <silent> <Leader>s :update<CR>
" Sudo save with <Leader>S
noremap <silent> <Leader>S :w !sudo tee % > /dev/null<CR>
@ -481,3 +482,7 @@ set sidescrolloff=3
if v:version > 703 || v:version == 703 && has('patch541')
set formatoptions+=j
endif
set relativenumber
nnoremap <leader>Q :qa<CR>