From 75b685e8facf9424b9d84cd9b290b165d31c6f53 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Sun, 16 Dec 2018 22:43:06 +0500 Subject: Config updates. --- files/.mpv/mpv.conf | 2 ++ files/.vimrc | 11 +++++++++-- files/.zsh/rc/S50_aliases | 9 +++++++-- 3 files changed, 18 insertions(+), 4 deletions(-) (limited to 'files') diff --git a/files/.mpv/mpv.conf b/files/.mpv/mpv.conf index a14f89d..7510b8d 100644 --- a/files/.mpv/mpv.conf +++ b/files/.mpv/mpv.conf @@ -2,3 +2,5 @@ speed=1.33 force-window=immediate save-position-on-quit no-terminal +screenshot-template=mpv-shot-%F-%{media-title}-%p-%n +screenshot-directory=mpv-screenshots diff --git a/files/.vimrc b/files/.vimrc index db31112..f7cf7d1 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -168,8 +168,6 @@ set timeoutlen=1000 set ttimeout set ttimeoutlen=10 - - " List chars {{{ set list @@ -228,6 +226,15 @@ colorscheme solarized8 digraphs ru 8381 digraphs e= 8364 +" }}} +" Syntax {{{ + +" http://www.panozzaj.com/blog/2016/03/21/ignore-urls-and-acroynms-while-spell-checking-vim/ +" Disable spell check for URL +syn match UrlNoSpell '\w\+:\/\/\S\+' contains=@NoSpell +" Disable spell check for acronyms +syn match AcronymNoSpell '\<\(\u\|\d\)\{3,}s\?\>' contains=@NoSpell + " }}} " Backup {{{ diff --git a/files/.zsh/rc/S50_aliases b/files/.zsh/rc/S50_aliases index 656fe32..b415263 100644 --- a/files/.zsh/rc/S50_aliases +++ b/files/.zsh/rc/S50_aliases @@ -98,11 +98,16 @@ alias -g LA='2>&1|less' alias -g X='|xclip' alias -g XC='|xclip -selection clipboard' -# Run bush in last docker container +# +# Docker and docker-compose +# alias dbash='docker exec -it `docker ps -ql` bash' alias dps='docker ps' +alias drun='docker run -it --rm' alias dlog='docker logs --tail 100 --follow' -alias dclean='docker images --quiet --filter dangling=true | xargs --no-run-if-empty docker rmi' +alias dc='docker-compose' +alias dc-down='dc down --volumes --rmi local --remove-orphans' +alias dc-logs='dc logs --tail 100 --follow' alias portcheck='nc -z -v -w 5' alias jq='jq --color-output' -- cgit v1.2.3