converts to rainfrog for sql

This commit is contained in:
Dennis 2026-01-22 12:30:53 +01:00
parent d5f37cbb86
commit 268d20f94d
3 changed files with 5 additions and 36 deletions

View file

@ -106,20 +106,6 @@
# Open file in neovim # Open file in neovim
nvim $fullpath nvim $fullpath
''; '';
dbui_stg = /* fish */ ''
if test "$hn" = "dnsc-work"
kill_tunnels && ssh -fNL 4321:192.168.0.168:3306 otc & nvim +DBUI
else
echo "Only on work machine."
end
'';
dbui_prod = /* fish */ ''
if test "$hn" = "dnsc-work"
kill_tunnels && ssh -fNL 4322:192.168.0.38:3306 otc-prod & nvim +DBUI
else
echo "Only on work machine."
end
'';
fish_mode_prompt = /* fish */ '' fish_mode_prompt = /* fish */ ''
switch $fish_bind_mode switch $fish_bind_mode
case default case default

View file

@ -1,18 +0,0 @@
return {
"kristijanhusak/vim-dadbod-ui",
dependencies = {
"pbogut/vim-dadbod-ssh",
{ "tpope/vim-dadbod", lazy = true },
{ "kristijanhusak/vim-dadbod-completion", ft = { "sql", "mysql", "plsql" }, lazy = true },
},
cmd = {
"DBUI",
"DBUIToggle",
"DBUIAddConnection",
"DBUIFindBuffer",
},
init = function()
vim.g.db_ui_use_nerd_fonts = 1
vim.g.dbs = {}
end,
}

View file

@ -1,5 +1,6 @@
name: ride name: ride
root: ~/dev/ride root: ~/dev/ride
on_project_start: kill_tunnels && ssh -fL 4321:192.168.0.168:3306 otc && ssh -fNL 4322:192.168.0.38:3306 otc-prod
windows: windows:
- code: - code:
layout: main-horizontal layout: main-horizontal
@ -9,11 +10,11 @@ windows:
layout: even-vertical layout: even-vertical
panes: panes:
- clear - clear
- db-stg: - db:
layout: main-horizontal layout: main-horizontal
panes: panes:
- dbui_stg - rainfrog
- db-prod: - redis:
layout: main-horizontal layout: main-horizontal
panes: panes:
- dbui_prod - tredis