Add new stuff
This commit is contained in:
parent
1e1749751d
commit
a706cf103a
2 changed files with 8 additions and 3 deletions
|
|
@ -235,8 +235,8 @@ alias hosts="sudo vim /etc/hosts"
|
||||||
# OUTRES="1920x1080" # output resolution
|
# OUTRES="1920x1080" # output resolution
|
||||||
INRES="$(xdpyinfo | awk '/dimensions/{print $2}')"
|
INRES="$(xdpyinfo | awk '/dimensions/{print $2}')"
|
||||||
OUTRES="$(xdpyinfo | awk '/dimensions/{print $2}')"
|
OUTRES="$(xdpyinfo | awk '/dimensions/{print $2}')"
|
||||||
FPS="15" # target FPS
|
FPS="24" # target FPS
|
||||||
GOP="30" # i-frame interval, should be double of FPS,
|
GOP="48" # i-frame interval, should be double of FPS,
|
||||||
GOPMIN="15" # min i-frame interval, should be equal to fps,
|
GOPMIN="15" # min i-frame interval, should be equal to fps,
|
||||||
THREADS="2" # max 6
|
THREADS="2" # max 6
|
||||||
CBR="1000k" # constant bitrate (should be between 1000k - 3000k)
|
CBR="1000k" # constant bitrate (should be between 1000k - 3000k)
|
||||||
|
|
|
||||||
7
.vimrc
7
.vimrc
|
|
@ -101,8 +101,9 @@ nnoremap <Leader><Tab> :b#<CR>
|
||||||
nnoremap <BS> h<DEL>
|
nnoremap <BS> h<DEL>
|
||||||
vnoremap <BS> d
|
vnoremap <BS> d
|
||||||
|
|
||||||
" Save with <Leader> s
|
" Save with <Leader>s
|
||||||
noremap <silent> <Leader>s :update<CR>
|
noremap <silent> <Leader>s :update<CR>
|
||||||
|
" Sudo save with <Leader>S
|
||||||
noremap <silent> <Leader>S :w !sudo tee % > /dev/null<CR>
|
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')
|
if v:version > 703 || v:version == 703 && has('patch541')
|
||||||
set formatoptions+=j
|
set formatoptions+=j
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
set relativenumber
|
||||||
|
|
||||||
|
nnoremap <leader>Q :qa<CR>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue