gorbit99 / codewindow.nvim

MIT License
431 stars 16 forks source link

help keybind #73

Open Manix80 opened 7 months ago

Manix80 commented 7 months ago

Hello I can't seem to remmap the toggle minimap button. (F5)

after many tries via codewindow.toggle_minimap() i couldn't map. config:

local status_ok, codewindow = pcall(require, "codewindow")

if not status_ok then
    print("Module had an error")
end

vim.api.nvim_set_hl(0, 'CodewindowUnderline', {fg = '#2e3440'})

codewindow.setup({
  use_treesitter = false,
  show_cursor = false,
  window_border = "none",
  minimap_width = 10,
  exclude_filetypes = { 'NvimTree', 'dashboard' }
})

codewindow.apply_default_keybinds()

thank you for your insights