diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 1318bf1..fe3c3dc 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -42,10 +42,18 @@ require("lazy").setup({ "godlygeek/tabular", "preservim/vim-markdown", "tpope/vim-obsession", + { + "akinsho/bufferline.nvim", + dependencies = { + "nvim-tree/nvim-web-devicons" + } + } }) --- THEMING --- +vim.opt.termguicolors = true + require('ayu').setup({ mirage = true, overrides = function() @@ -165,6 +173,43 @@ require("lualine").setup({ }, }) +--- Bufferline (tabs) --- +-- Setup +require("bufferline").setup({ + options = { + mode = "tabs", + numbers = "ordinal", + indicator = { + style = "icon" + }, + color_icons = true, + show_close_icon = false, + show_buffer_close_icons = false, + show_buffer_default_icon = false, + show_duplicate_prefix = false, + hover = { + enabled = false + }, + }, + highlights = { + buffer_selected = { + fg = "fg", + bg = "bg", + italic = false, + }, + numbers_selected = { + fg = "bg", + bg = "fg" + }, + indicator_selected = { + fg = { + attribute = "fg", + highlight = "Identifier" + } + }, + } +}) + --- Telescope --- require("telescope-config") require("telescope-mappings")