From 8977f26061cab69a8537350486f6dd283a39650b Mon Sep 17 00:00:00 2001 From: pika Date: Sun, 25 Aug 2024 14:19:17 +0200 Subject: [PATCH] some changes --- lua/pika/core/keymaps.lua | 3 --- lua/pika/plugins/bufferline.lua | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lua/pika/core/keymaps.lua b/lua/pika/core/keymaps.lua index a42b160..3376d19 100644 --- a/lua/pika/core/keymaps.lua +++ b/lua/pika/core/keymaps.lua @@ -100,9 +100,6 @@ map("n", "R", [[:%s/\<\>//gI]]) -- ─< LoremIpsum generator >──────────────────────────────────────────────────────────── map("n", "L", ":LoremIpsum ") -map("n", "cd", ":CdProject", { noremap = true, silent = true, desc = "[c]d into a predefined project" }) -map("n", "cd", ":CdProjectManualAdd", { noremap = true, silent = true, desc = "Add new projects to [cd]" }) - -- window management map("n", "sv", "v", { desc = "Split window vertically" }) -- split window vertically map("n", "sh", "s", { desc = "Split window horizontally" }) -- split window horizontally diff --git a/lua/pika/plugins/bufferline.lua b/lua/pika/plugins/bufferline.lua index 05550ac..63e53c4 100644 --- a/lua/pika/plugins/bufferline.lua +++ b/lua/pika/plugins/bufferline.lua @@ -4,7 +4,6 @@ return { version = "*", opts = { options = { - underline_indicator = true, diagnostics = "nvim_lsp", diagnostics_update_on_event = true, -- use nvim's diagnostic handler diagnostics_indicator = function(count, level) @@ -12,12 +11,14 @@ return { return " " .. icon .. count end, offsets = { { filetype = "neo-tree", text = "File Explorer", highlight = "Directory" } }, + -- ─< style >─────────────────────────────────────────────────────────────────────────── indicator = { icon = "▎", -- this should be omitted if indicator style is not 'icon' style = "icon", }, move_wraps_at_ends = true, -- whether or not the move command "wraps" at the first or last position separator_style = "slope", + -- ─< icons >─────────────────────────────────────────────────────────────────────────── modified_icon = "󱞇", left_trunc_marker = "󰬩", right_trunc_marker = "󰬫",