From a706cf103a044cef448113dfa48c88d386a61ecf Mon Sep 17 00:00:00 2001 From: ViktorBarzin Date: Tue, 3 Apr 2018 08:31:22 +0300 Subject: [PATCH] Add new stuff --- .bash_aliases | 4 ++-- .vimrc | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.bash_aliases b/.bash_aliases index 67966ef..534bff4 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -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) diff --git a/.vimrc b/.vimrc index 610e171..5b43418 100644 --- a/.vimrc +++ b/.vimrc @@ -101,8 +101,9 @@ nnoremap :b# nnoremap h vnoremap d -" Save with s +" Save with s noremap s :update +" Sudo save with S noremap S :w !sudo tee % > /dev/null @@ -481,3 +482,7 @@ set sidescrolloff=3 if v:version > 703 || v:version == 703 && has('patch541') set formatoptions+=j endif + +set relativenumber + +nnoremap Q :qa