-- IMPORTANT NOTE : This is user config local M = {} M.ui = { theme = "onedark", -- theme toggle theme_toggler = false, fav_themes = { "onedark", "gruvchad", }, italic_comments = false, -- Enable this only if your terminal has the colorscheme set which nvchad uses -- For Ex : if you have onedark set in nvchad , set onedark's bg color on your terminal transparency = false, -- statusline related options statusline = { -- these are filetypes, not pattern matched -- if a filetype is present in shown, it will always show the statusline, irrespective of filetypes in hidden hidden = {}, shown = { -- "terminal" }, style = "default", -- default, round , slant , block , arrow }, } M.options = { permanent_undo = true, ruler = false, hidden = true, ignorecase = true, mouse = "a", cmdheight = 1, updatetime = 250, timeoutlen = 400, clipboard = "unnamedplus", number = true, -- relative numbers in normal mode tool at the bottom of options.lua relativenumber = false, numberwidth = 2, expandtab = true, shiftwidth = 2, smartindent = true, mapleader = " ", autosave = false, enable_insertNav = true, -- navigation in insertmode -- used for updater update_url = "https://github.com/NvChad/NvChad", update_branch = "main", } -- enable and disable plugins (false for disable) M.plugin_status = { -- UI nvim_bufferline = true, galaxyline = true, nvim_colorizer = true, dashboard_nvim = true, blankline = true, truezen_nvim = true, better_esc = true, -- lsp stuff lspkind = true, lspsignature = true, -- git stuff gitsigns = true, vim_fugitive = true, -- misc neoformat = true, vim_matchup = true, autosave_nvim = true, nvim_comment = true, neoscroll_nvim = true, telescope_media = true, cheatsheet = true, } -- make sure you dont use same keys twice M.mappings = { -- plugin specific truezen = { ataraxisMode = "zz", minimalisticmode = "zm", focusmode = "zf", }, comment_nvim = { comment_toggle = "/", }, nvimtree = { treetoggle = "", -- file manager }, neoformat = { format = "fm", }, dashboard = { open = "db", newfile = "fn", bookmarks = "bm", sessionload = "l", sessionsave = "s", }, telescope = { live_grep = "fw", git_status = "gt", git_commits = "cm", find_files = "ff", buffers = "fb", help_tags = "fh", oldfiles = "fo", themes = "th", }, telescope_media = { media_files = "fp", }, chadsheet = { default_keys = "dk", user_keys = "uk", }, bufferline = { new_buffer = "", newtab = "b", close = "", -- close a buffer with custom func in utils.lua cycleNext = "", -- next buffer cyclePrev = "", -- previous buffer }, fugitive = { Git = "gs", diffget_2 = "gh", diffget_3 = "gl", git_blame = "gb", }, terms = { -- below are NvChad mappings, not plugin mappings esc_termmode = "jk", esc_hide_termmode = "JK", pick_term = "W", -- note: this is a telescope extension new_wind = "w", new_vert = "v", new_hori = "h", }, -- navigation in insert mode insert_nav = { forward = "", backward = "", top_of_line = "", end_of_line = "", prev_line = "", next_line = "", }, misc = { copywhole_file = "", toggle_linenr = "n", -- show or hide line number theme_toggle = "x", update_nvchad = "uu", }, } return M