summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2025-01-25 10:58:59 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2025-01-25 10:58:59 +0100
commiteaa75011a4efdd01bca0a22681a852024f5691f1 (patch)
tree58a1026a27d8793a7e7a8229403c46a5f51f16b3
parentdecd051e314cc14bc8942980e28139c318fa6fd1 (diff)
Update dadbod keymaps
-rw-r--r--fnl/plugins/dadbod.fnl4
-rw-r--r--fnl/plugins/which-key.fnl4
2 files changed, 4 insertions, 4 deletions
diff --git a/fnl/plugins/dadbod.fnl b/fnl/plugins/dadbod.fnl
index 733a4a0..d973ff2 100644
--- a/fnl/plugins/dadbod.fnl
+++ b/fnl/plugins/dadbod.fnl
@@ -6,11 +6,11 @@
:ft [:sql :plsql]
:lazy true}])
-(local keys [{1 :<leader>dn
+(local keys [{1 :<leader>in
2 :<cmd>DBUIToggle<cr>
:mode :n
:desc "Toggle Dadbod UI"}
- {1 :<leader>de
+ {1 :<leader>ie
2 :<cmd>DBUIAddConnection<cr>
:mode :n
:desc "Add DB connection"}])
diff --git a/fnl/plugins/which-key.fnl b/fnl/plugins/which-key.fnl
index c37d47b..c32613c 100644
--- a/fnl/plugins/which-key.fnl
+++ b/fnl/plugins/which-key.fnl
@@ -38,10 +38,10 @@
:disable {:filetypes [:netrw]}})
(local groups [{:mode [:n :v]
- 1 {1 :<leader>d :group :+db}
+ 1 {1 :<leader>d :group :+diff}
2 {1 :<leader>f :group :+find}
3 {1 :<leader>g :group :+git}
- 4 {1 :<leader>i :group :+diffview}
+ 4 {1 :<leader>i :group :+db}
5 {1 :<leader>j :group :+diagnostics}
6 {1 :<leader>l :group :+lsp}
7 {1 :<leader>o :group :+orgmode}