diff --git a/.config/Stretchly/config.json b/.config/Stretchly/config.json index 433656c..7842b86 100644 --- a/.config/Stretchly/config.json +++ b/.config/Stretchly/config.json @@ -10,15 +10,15 @@ "microbreak": true, "break": true, "microbreakStrictMode": true, - "breakStrictMode": false, + "breakStrictMode": true, "morningHour": 6, - "microbreakPostpone": false, + "microbreakPostpone": true, "breakPostpone": true, "microbreakPostponeTime": 120000, "breakPostponeTime": 300000, "microbreakPostponesLimit": 1, - "microbreakPostponableDurationPercent": 20, - "breakPostponesLimit": 3, + "microbreakPostponableDurationPercent": 10, + "breakPostponesLimit": 10, "breakPostponableDurationPercent": 20, "mainColor": "#633738", "miniBreakColor": "#478484", @@ -471,4 +471,4 @@ "version": "1.14.1" } } -} \ No newline at end of file +} diff --git a/.config/ideavim/ideavimrc b/.config/ideavim/ideavimrc index 971df90..28cf09c 100644 --- a/.config/ideavim/ideavimrc +++ b/.config/ideavim/ideavimrc @@ -13,4 +13,4 @@ set multiple-cursors set ideajoin " use IDEA jump history https://youtrack.jetbrains.com/issue/VIM-44 -nnoremap :action Back +" nnoremap :action Back diff --git a/.config/shell/functions b/.config/shell/functions index 4cab6c4..04e8c4e 100644 --- a/.config/shell/functions +++ b/.config/shell/functions @@ -483,9 +483,9 @@ updateKarma() { rpl "karma-runner.github.io/[^/]\+/" "karma-runner.github.io/$1/ # Kill all shell background processes alias killbg='kill -9 ${${(v)jobstates##*:*:}%=*}' -# Kill all processes that match +# Kill all processes that match given term killm() { - ps ax | grep "$1" | grep -v grep | sed 's/\([^ ]\) .*/\1/' | + ps ax | grep "\b$1 " | grep '?' | grep -v grep | sed 's/\([^ ]\) .*/\1/' | xargs --no-run-if-empty kill --verbose "${@:2}" }