bufferline: rm mapping overriding with defaults
This commit is contained in:
parent
fb60bb7da4
commit
928adbe21a
@ -29,7 +29,6 @@ require "bufferline".setup {
|
|||||||
guifg = bar_fg,
|
guifg = bar_fg,
|
||||||
guibg = "#1e222a"
|
guibg = "#1e222a"
|
||||||
},
|
},
|
||||||
|
|
||||||
-- focused window
|
-- focused window
|
||||||
buffer_selected = {
|
buffer_selected = {
|
||||||
guifg = activeBuffer_fg,
|
guifg = activeBuffer_fg,
|
||||||
@ -40,7 +39,6 @@ require "bufferline".setup {
|
|||||||
guifg = "#353b45",
|
guifg = "#353b45",
|
||||||
guibg = "#353b45"
|
guibg = "#353b45"
|
||||||
},
|
},
|
||||||
|
|
||||||
-- unfocused opened window
|
-- unfocused opened window
|
||||||
buffer_visible = {
|
buffer_visible = {
|
||||||
guifg = "#9298a0",
|
guifg = "#9298a0",
|
||||||
@ -50,17 +48,14 @@ require "bufferline".setup {
|
|||||||
guifg = "#282c34",
|
guifg = "#282c34",
|
||||||
guibg = "#282c34"
|
guibg = "#282c34"
|
||||||
},
|
},
|
||||||
|
|
||||||
separator = {
|
separator = {
|
||||||
guifg = "#1e222a",
|
guifg = "#1e222a",
|
||||||
guibg = "#1e222a"
|
guibg = "#1e222a"
|
||||||
},
|
},
|
||||||
|
|
||||||
indicator_selected = {
|
indicator_selected = {
|
||||||
guifg = "#1e222a",
|
guifg = "#1e222a",
|
||||||
guibg = "#1e222a"
|
guibg = "#1e222a"
|
||||||
},
|
},
|
||||||
|
|
||||||
modified_selected = {
|
modified_selected = {
|
||||||
guifg = bar_fg,
|
guifg = bar_fg,
|
||||||
guibg = "#353b45"
|
guibg = "#353b45"
|
||||||
@ -74,7 +69,7 @@ local map = vim.api.nvim_set_keymap
|
|||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
|
|
||||||
--command that adds new buffer and moves to it
|
--command that adds new buffer and moves to it
|
||||||
map("n", "<S-b>", [[<Cmd>tabnew<CR>]], opt)
|
map("n", "<S-t>", [[<Cmd>tabnew<CR>]], opt)
|
||||||
|
|
||||||
--removing a buffer
|
--removing a buffer
|
||||||
map("n", "<S-d>", [[<Cmd>bdelete<CR>]], opt)
|
map("n", "<S-d>", [[<Cmd>bdelete<CR>]], opt)
|
||||||
|
@ -12,7 +12,6 @@ ts_config.setup {
|
|||||||
-- "cpp",
|
-- "cpp",
|
||||||
-- "rust",
|
-- "rust",
|
||||||
},
|
},
|
||||||
|
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
use_languagetree = true
|
use_languagetree = true
|
||||||
|
Loading…
Reference in New Issue
Block a user