sync work machine
This commit is contained in:
parent
782381402c
commit
d990c08976
9 changed files with 54 additions and 11 deletions
|
@ -1,5 +1,7 @@
|
|||
{
|
||||
"credHelpers": {
|
||||
"dhub.corp.metrans.cz": "gopass"
|
||||
"dhub.corp.metrans.cz": "gopass",
|
||||
"codenow-metrans-cz-docker.jfrog.io": "gopass",
|
||||
"registry-mirror.corp.metrans.cz": "gopass"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,6 +62,8 @@ function M.setup()
|
|||
|
||||
vim.keymap.set('x', '<leader>eB', "c<c-r>=system('base64 -w0', @\")<cr><esc>", { desc = 'Encode to base64' })
|
||||
vim.keymap.set('x', '<leader>eb', "c<c-r>=system('base64 -d -w0', @\")<cr><esc>", { desc = 'Decode from base64' })
|
||||
vim.keymap.set('x', '<leader>er', "c<c-r>=system([ 'drill', '-Q', @\"])<cr><esc>", { desc = 'Resolve DNS' })
|
||||
vim.keymap.set('x', '<leader>eR', "c<c-r>=system([ 'drill', '-Q', '-x', @\"])<cr><esc>", { desc = 'Resolve reverse DNS' })
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
@ -103,7 +103,8 @@ local server_configs = function()
|
|||
},
|
||||
},
|
||||
}, -- }}}
|
||||
jsonnet_ls = {}
|
||||
jsonnet_ls = {},
|
||||
regal = {},
|
||||
}
|
||||
end
|
||||
|
||||
|
@ -394,7 +395,7 @@ return {
|
|||
{ 'b0o/schemastore.nvim', lazy = true },
|
||||
{ 'Issafalcon/lsp-overloads.nvim', lazy = true },
|
||||
{
|
||||
'someone-stole-my-name/yaml-companion.nvim',
|
||||
'vlada-dudr/yaml-companion.nvim',
|
||||
lazy = true,
|
||||
dependencies = {
|
||||
{ 'neovim/nvim-lspconfig' },
|
||||
|
|
|
@ -275,4 +275,20 @@ return {
|
|||
},
|
||||
},
|
||||
|
||||
}
|
||||
{
|
||||
'kristijanhusak/vim-dadbod-ui',
|
||||
dependencies = {
|
||||
{ 'tpope/vim-dadbod', lazy = true },
|
||||
{ 'kristijanhusak/vim-dadbod-completion', ft = { 'sql', 'mysql', 'plsql' }, lazy = true },
|
||||
},
|
||||
cmd = {
|
||||
'DBUI',
|
||||
'DBUIToggle',
|
||||
'DBUIAddConnection',
|
||||
'DBUIFindBuffer',
|
||||
},
|
||||
init = function()
|
||||
-- Your DBUI configuration
|
||||
vim.g.db_ui_use_nerd_fonts = 1
|
||||
end,
|
||||
}}
|
||||
|
|
|
@ -56,6 +56,14 @@ function M.config()
|
|||
end,
|
||||
},
|
||||
})
|
||||
|
||||
cmp.setup.filetype({ 'sql', 'mysql', 'plsql' }, {
|
||||
sources = {
|
||||
{ name = 'vim-dadbod-completion' },
|
||||
{ name = 'buffer' },
|
||||
},
|
||||
})
|
||||
|
||||
--
|
||||
-- Use buffer source for `/` and `?` (if you enabled `native_menu`, this won't work anymore).
|
||||
-- cmp.setup.cmdline({ '/', '?' }, {
|
||||
|
|
|
@ -39,7 +39,7 @@ function M.config()
|
|||
auto_install = true,
|
||||
sync_install = false,
|
||||
refactor = {
|
||||
highlight_current_scope = { enable = true },
|
||||
highlight_current_scope = { enable = false },
|
||||
smart_rename = {
|
||||
enable = true,
|
||||
-- Assign keymaps to false to disable them, e.g. `smart_rename = false`.
|
||||
|
@ -66,6 +66,13 @@ function M.config()
|
|||
enable = true,
|
||||
disable = { 'help' },
|
||||
},
|
||||
incremental_selection = {
|
||||
enable = true,
|
||||
init_selection = "gnn",
|
||||
node_incremental = "grn",
|
||||
scope_incremental = "grc",
|
||||
node_decremental = "grm",
|
||||
},
|
||||
indent = {
|
||||
disable = { 'php' }, -- php indent SUCKS A LOT
|
||||
enable = true,
|
||||
|
|
|
@ -425,3 +425,7 @@ s Split by this cue
|
|||
shnsplit -o flac -t '%n - %%t' -f "$1" "${1//.cue}.flac"
|
||||
shift
|
||||
done
|
||||
|
||||
+t n
|
||||
D vimdiff
|
||||
nvim -d %f %D/%F
|
||||
|
|
|
@ -1956,6 +1956,7 @@ c.url.searchengines = {
|
|||
'DEFAULT': 'https://duckduckgo.com/?q={}',
|
||||
'ddg': 'https://duckduckgo.com/?q={}',
|
||||
'ti': 'https://tango.info?q={}',
|
||||
'sp': 'https://www.startpage.com/sp/search?query={}',
|
||||
'manphp': 'https://www.php.net/manual-lookup.php?pattern={}',
|
||||
'ap': 'https://packages.archlinux.org/?q={}',
|
||||
}
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
slack https://jopixel.slack.com/
|
||||
git https://git.jopixel.cz/dashboard
|
||||
jira https://jopixel-s-r-o.atlassian.net/jira/your-work
|
||||
support https://support.jopixel.cz/
|
||||
admin https://admin.jopixel.com/
|
||||
gitlab https://gitlab.corp.metrans.cz/mis3
|
||||
dasta https://www.dastacr.cz/dasta/hypertext/DSBFB.htm
|
||||
kib https://kibana.corp.metrans.cz/app/home#/
|
||||
bw https://bw.corp.metrans.cz/#/login
|
||||
cn https://metrans-cz.codenow.com/applications
|
||||
jira https://metrans.atlassian.net/jira/your-work
|
||||
subnets https://wiki.corp.metrans.cz/index.php?title=IP_Segment_and_vlans
|
||||
hd https://helpdesk.corp.metrans.cz/projects/devops/issues?set_filter=1&tracker_id=2
|
||||
gf https://grafana.corp.metrans.cz/d/b59e6c9f2fcbe2e16d77fc492374cc4f/kubernetes-compute-resources-multi-cluster?orgId=1&refresh=10s
|
||||
dkc https://dkeycloak.corp.metrans.cz/realms/master/protocol/openid-connect/auth?client_id=security-admin-console&redirect_uri=https%3A%2F%2Fdkeycloak.corp.metrans.cz%2Fadmin%2Fmaster%2Fconsole%2F&state=61dd29a8-db7b-442e-8bbd-21c26fd7a4e9&response_mode=fragment&response_type=code&scope=openid&nonce=3e6c3fc6-fbfe-41ff-9bcf-91731eafa002&code_challenge=UlLydrKo0i3AF6wxL5J_LKr85Xn3_ADl2LUWyZcFscQ&code_challenge_method=S256
|
||||
gl https://gitlab.corp.metrans.cz/mis3
|
||||
|
|
Loading…
Add table
Reference in a new issue