config: stretchly and killm tweaks
This commit is contained in:
parent
912116b9be
commit
a2a2943a1d
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue