config: stretchly and killm tweaks

This commit is contained in:
xeruf 2023-08-12 00:57:40 +02:00
parent 912116b9be
commit a2a2943a1d
3 changed files with 8 additions and 8 deletions

View File

@ -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"
}
}
}
}

View File

@ -13,4 +13,4 @@ set multiple-cursors
set ideajoin
" use IDEA jump history https://youtrack.jetbrains.com/issue/VIM-44
nnoremap <C-o> :action Back<CR>
" nnoremap <C-o> :action Back<CR>

View File

@ -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}"
}