config: software adjustments
This commit is contained in:
parent
c747cdf295
commit
9fe4c04ae4
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
matches:
|
matches:
|
||||||
# Simple replacements
|
# Simple replacements
|
||||||
- trigger: ":gr"
|
- trigger: ":grue"
|
||||||
replace: "Grüße,\nJanek"
|
replace: "Grüße,\nJanek"
|
||||||
|
|
||||||
- trigger: ":reg"
|
- trigger: ":gree"
|
||||||
replace: "Kind Regards,\nJanek"
|
replace: "Best,\nJanek"
|
||||||
|
|
||||||
- trigger: ":date"
|
- trigger: ":date"
|
||||||
replace: "{{mydate}}"
|
replace: "{{mydate}}"
|
||||||
|
@ -51,6 +51,14 @@ matches:
|
||||||
params:
|
params:
|
||||||
cmd: "pass information/email/uni"
|
cmd: "pass information/email/uni"
|
||||||
|
|
||||||
|
- trigger: ":eaur"
|
||||||
|
replace: "{{output}}"
|
||||||
|
vars:
|
||||||
|
- name: output
|
||||||
|
type: shell
|
||||||
|
params:
|
||||||
|
cmd: "pass information/email/aur"
|
||||||
|
|
||||||
- trigger: ":a0"
|
- trigger: ":a0"
|
||||||
replace: "{{output}}"
|
replace: "{{output}}"
|
||||||
vars:
|
vars:
|
||||||
|
@ -83,6 +91,14 @@ matches:
|
||||||
params:
|
params:
|
||||||
cmd: "pass information/address | tail -1"
|
cmd: "pass information/address | tail -1"
|
||||||
|
|
||||||
|
- trigger: ":tel"
|
||||||
|
replace: "{{output}}"
|
||||||
|
vars:
|
||||||
|
- name: output
|
||||||
|
type: shell
|
||||||
|
params:
|
||||||
|
cmd: "pass information/phone"
|
||||||
|
|
||||||
- trigger: ":add"
|
- trigger: ":add"
|
||||||
replace: "{{output}}"
|
replace: "{{output}}"
|
||||||
vars:
|
vars:
|
||||||
|
|
|
@ -46,7 +46,7 @@ autocmd Filetype * setlocal formatoptions-=o | setlocal formatoptions+=qjln12r "
|
||||||
autocmd Filetype json syntax match Comment +\/\/.\+$+ " Comment highlighting in JSON
|
autocmd Filetype json syntax match Comment +\/\/.\+$+ " Comment highlighting in JSON
|
||||||
autocmd Filetype markdown let &comments = "b:*,b:-,b:+," . &comments
|
autocmd Filetype markdown let &comments = "b:*,b:-,b:+," . &comments
|
||||||
" custom hardcoded types
|
" custom hardcoded types
|
||||||
autocmd BufRead,BufNewFile $CONFIG_SHELLS/*,$CONFIG_ZSH/* setlocal filetype=zsh
|
autocmd BufRead,BufNewFile $CONFIG_SHELLS/*,$CONFIG_ZSH/* setlocal filetype=bash
|
||||||
autocmd BufRead $XDG_CONFIG_HOME/yadm/bootstrap setlocal filetype=sh
|
autocmd BufRead $XDG_CONFIG_HOME/yadm/bootstrap setlocal filetype=sh
|
||||||
|
|
||||||
" shebang shortcut - https://www.reddit.com/r/vim/comments/4z7z7s/add_shebang_lines_to_your_vim_files_automatically/d6v7op8 and https://stackoverflow.com/a/52135425
|
" shebang shortcut - https://www.reddit.com/r/vim/comments/4z7z7s/add_shebang_lines_to_your_vim_files_automatically/d6v7op8 and https://stackoverflow.com/a/52135425
|
||||||
|
|
|
@ -49,6 +49,7 @@ Plug 'nathanaelkane/vim-indent-guides'
|
||||||
let g:indent_guides_enable_on_vim_startup = 1
|
let g:indent_guides_enable_on_vim_startup = 1
|
||||||
|
|
||||||
" Integrations
|
" Integrations
|
||||||
|
Plug 'weinshec/vim-dictcc'
|
||||||
Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } }
|
Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } }
|
||||||
Plug 'mipmip/vim-scimark' " Edit markdown tables with sc-im
|
Plug 'mipmip/vim-scimark' " Edit markdown tables with sc-im
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,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"]),
|
\ 'selector': 'textarea:not([readonly]):not([class="handsontableInput"]):not([wrap="off"]):not([rows="1"]):not([title="Replace"]):not([title="Search"]),
|
||||||
\ div[role="textbox"]:not([aria-label="Search"])',
|
\ div[role="textbox"]:not([aria-label="Search"])',
|
||||||
\ 'takeover': 'always',
|
\ 'takeover': 'always',
|
||||||
\ },
|
\ },
|
||||||
|
@ -38,6 +38,7 @@ let g:firenvim_config = {
|
||||||
\ '.*twitter\.com.*': { 'priority': 9, 'takeover': 'never', },
|
\ '.*twitter\.com.*': { 'priority': 9, 'takeover': 'never', },
|
||||||
\ '.*openstreetmap\.org.*': { 'priority': 9, 'takeover': 'never', },
|
\ '.*openstreetmap\.org.*': { 'priority': 9, 'takeover': 'never', },
|
||||||
\ '.*wikipedia\.org.*': { 'priority': 9, 'takeover': 'never', },
|
\ '.*wikipedia\.org.*': { 'priority': 9, 'takeover': 'never', },
|
||||||
|
\ '.*wikidata\.org.*': { 'priority': 9, 'takeover': 'never', },
|
||||||
\
|
\
|
||||||
\ '.*docs\.google\.com.*': { 'priority': 9, 'takeover': 'never', },
|
\ '.*docs\.google\.com.*': { 'priority': 9, 'takeover': 'never', },
|
||||||
\ '.*contacts\.google\.com.*': { 'priority': 9, 'takeover': 'never', },
|
\ '.*contacts\.google\.com.*': { 'priority': 9, 'takeover': 'never', },
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
"requestsplitn": 150,
|
"requestsplitn": 150,
|
||||||
"sortmode": 0,
|
"sortmode": 0,
|
||||||
"completionrefreshtime": 7,
|
"completionrefreshtime": 7,
|
||||||
"sudoloop": false,
|
"sudoloop": true,
|
||||||
"timeupdate": false,
|
"timeupdate": false,
|
||||||
"devel": false,
|
"devel": false,
|
||||||
"cleanAfter": false,
|
"cleanAfter": false,
|
||||||
|
|
Loading…
Reference in New Issue