converts to rainfrog for sql
This commit is contained in:
parent
d5f37cbb86
commit
268d20f94d
3 changed files with 5 additions and 36 deletions
|
|
@ -106,20 +106,6 @@
|
|||
# Open file in neovim
|
||||
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 */ ''
|
||||
switch $fish_bind_mode
|
||||
case default
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
}
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
name: 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:
|
||||
- code:
|
||||
layout: main-horizontal
|
||||
|
|
@ -9,11 +10,11 @@ windows:
|
|||
layout: even-vertical
|
||||
panes:
|
||||
- clear
|
||||
- db-stg:
|
||||
- db:
|
||||
layout: main-horizontal
|
||||
panes:
|
||||
- dbui_stg
|
||||
- db-prod:
|
||||
- rainfrog
|
||||
- redis:
|
||||
layout: main-horizontal
|
||||
panes:
|
||||
- dbui_prod
|
||||
- tredis
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue