config: various adjustments
This commit is contained in:
parent
eac3e98e9d
commit
81e6c78d60
|
@ -36,7 +36,7 @@ let g:firenvim_config = {
|
||||||
\ 'cmdline': 'firenvim',
|
\ 'cmdline': 'firenvim',
|
||||||
\ 'priority': 0,
|
\ 'priority': 0,
|
||||||
\ 'selector': 'textarea:not([readonly]):not([class="handsontableInput"]):not([wrap="off"]):not([rows="1"]):not([title="Replace"]):not([title="Search"]):not([name="message"]),
|
\ 'selector': 'textarea:not([readonly]):not([class="handsontableInput"]):not([wrap="off"]):not([rows="1"]):not([title="Replace"]):not([title="Search"]):not([name="message"]),
|
||||||
\ div[role="textbox"]:not([aria-label="Search"])',
|
\ div[role="textbox"]:not([aria-label="Search"]), div[class="CodeMirror"]',
|
||||||
\ 'takeover': 'always',
|
\ 'takeover': 'always',
|
||||||
\ },
|
\ },
|
||||||
\ '.*com.*': {
|
\ '.*com.*': {
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
"sudoloop": true,
|
"sudoloop": true,
|
||||||
"timeupdate": false,
|
"timeupdate": false,
|
||||||
"devel": false,
|
"devel": false,
|
||||||
"cleanAfter": false,
|
"cleanAfter": true,
|
||||||
"provides": true,
|
"provides": true,
|
||||||
"pgpfetch": true,
|
"pgpfetch": true,
|
||||||
"upgrademenu": false,
|
"upgrademenu": false,
|
||||||
|
|
|
@ -17,6 +17,7 @@ showinfo() {
|
||||||
|
|
||||||
cmd="$1"
|
cmd="$1"
|
||||||
case "$cmd" in
|
case "$cmd" in
|
||||||
|
# TODO extract help in standard format from scripts
|
||||||
(gh|chordpro|bat|pdfjam|reflector|topgrade|r128gain|7z|kubectl|diffr|docker|jrnl|difft|wiked-diff) unbuffer "$@" --help | $paginate;;
|
(gh|chordpro|bat|pdfjam|reflector|topgrade|r128gain|7z|kubectl|diffr|docker|jrnl|difft|wiked-diff) unbuffer "$@" --help | $paginate;;
|
||||||
(caddy|stretchly|go|fossil) test "$cmd" = "fossil" -a $# -eq 1 && repo="$(locate -b -l 1 "fossil*.fossil")" && fossil ui "$repo" && exit
|
(caddy|stretchly|go|fossil) test "$cmd" = "fossil" -a $# -eq 1 && repo="$(locate -b -l 1 "fossil*.fossil")" && fossil ui "$repo" && exit
|
||||||
# TODO view fossil ui in terminal
|
# TODO view fossil ui in terminal
|
||||||
|
|
Loading…
Reference in New Issue