NvChad / NvChad

Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.

Home Page:https://nvchad.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`<C-i>` raises an error when tabufline is disabled

gmartsenkov opened this issue · comments

Describe the bug
Pressing <C-i> fails when tabufline is disabled

To Reproduce
Steps to reproduce the behavior:

-- This file  needs to have same structure as nvconfig.lua
-- https://github.com/NvChad/NvChad/blob/v2.5/lua/nvconfig.lua

---@type ChadrcConfig
local M = {}

M.ui = {
  theme = "onedark",
  tabufline = {
    enabled = false
  }
}

return M
  • press <C-i>

Expected behavior

  • Goes to newer tab

Screenshots
Screenshot 2024-04-17 at 09 43 08

Desktop (please complete the following information):

  • MacOs
  • Kitty
  • NVIM v0.9.5

Additional context
Add any other context about the problem here.

idk why C-i is mapped to in vim or terminal , delete tabufline mappings

vim.keymap.del("n", "<Tab>")
vim.keymap.del("n", "<S-Tab>")