diff --git a/lua/custom/keymaps.lua b/lua/custom/keymaps.lua index 8b13789..6efddc8 100644 --- a/lua/custom/keymaps.lua +++ b/lua/custom/keymaps.lua @@ -1 +1,4 @@ +local opts = { noremap = true, silent = true } +local keymap = vim.api.nvim_set_keymap +keymap("n", "]h", 'lua print("Testing")', opts) diff --git a/lua/custom/plugins/bufferline.lua b/lua/custom/plugins/bufferline.lua index e107c8e..adc8b38 100644 --- a/lua/custom/plugins/bufferline.lua +++ b/lua/custom/plugins/bufferline.lua @@ -80,7 +80,7 @@ return { show_close_icon = true, show_tab_indicators = true, persist_buffer_sort = true, -- whether or not custom sorted buffers should persist - separator_style = { "", "" }, -- | "thick" | "thin" | { 'any', 'any' }, + separator_style = "thin", -- | "thick" | "thin" | { 'any', 'any' }, enforce_regular_tabs = true, always_show_bufferline = true, }, diff --git a/lua/custom/plugins/codeium.lua b/lua/custom/plugins/codeium.lua index 5328871..6f1fa39 100644 --- a/lua/custom/plugins/codeium.lua +++ b/lua/custom/plugins/codeium.lua @@ -8,15 +8,15 @@ return { -- Change '' here to any keycode you like. vim.keymap.set("i", "", function() return vim.fn["codeium#Accept"]() - end, { expr = true }) + end, { expr = true, silent = true }) vim.keymap.set("i", "", function() return vim.fn["codeium#CycleCompletions"](1) - end, { expr = true }) + end, { expr = true, silent = true }) vim.keymap.set("i", "", function() return vim.fn["codeium#CycleCompletions"](-1) - end, { expr = true }) + end, { expr = true, silent = true }) vim.keymap.set("i", "", function() return vim.fn["codeium#Clear"]() - end, { expr = true }) + end, { expr = true, silent = true }) end, } diff --git a/lua/custom/plugins/lualine.lua b/lua/custom/plugins/lualine.lua index 4b26009..90826b0 100644 --- a/lua/custom/plugins/lualine.lua +++ b/lua/custom/plugins/lualine.lua @@ -133,7 +133,7 @@ return { if vim.b.gitsigns_head ~= nil then return " " .. vim.b.gitsigns_head else - return " " .. vim.fn.fnamemodify("null", ":t") + return "" .. vim.fn.fnamemodify("", ":t") end end diff --git a/lua/custom/plugins/tokyonight.lua b/lua/custom/plugins/tokyonight.lua index 1ea4348..3e3b06a 100644 --- a/lua/custom/plugins/tokyonight.lua +++ b/lua/custom/plugins/tokyonight.lua @@ -10,7 +10,7 @@ return { return end local transp = true - local sidebar = "transparent" --"dark , transparent, normal" + local sidebar = "normal" --"dark , transparent, normal" tokyonight.setup({ -- your configuration comes here -- or leave it empty to use the default settings @@ -40,7 +40,7 @@ return { --- function will be called with a ColorScheme table -- @param colors ColorScheme on_colors = function(colors) - colors.bg_statusline = colors.none + colors.bg_statusline = colors.bg colors.bg_sidebar = colors.none end,