kndndrj / nvim-dbee

Interactive database client for neovim
GNU General Public License v3.0
618 stars 40 forks source link

feat: specify mapping options via setup() #46

Closed willruggiano closed 6 months ago

willruggiano commented 8 months ago

because I want to do (re: my dots):

require("dbee").setup {
    ...
    editor = {
      mappings = {
        run_selection = {
          key = "<C-M>",
          mode = "x",
          opts = {
            expr = true,
          },
        },
      },
    },
    ...
  }
kndndrj commented 8 months ago

thank you for the pr! However, I'm in the middle of a pretty decent refactor of dbee (currently it's on hold due to life stuff).

But I'll definately take this into consideration then.

willruggiano commented 8 months ago

Sounds good! Looking forward to it

kndndrj commented 6 months ago

this functionality is included in the refactor PR (#55).

Closing.