customization: darker colors

This commit is contained in:
siduck76 2021-04-06 08:29:37 +05:30
parent afff99e545
commit e948f32cd5
6 changed files with 51 additions and 50 deletions

View file

@ -1,6 +1,6 @@
vim.o.termguicolors = true
-- colors for active , inactive buffer tabs
-- colors for active , inactive uffer tabs
require "bufferline".setup {
options = {
buffer_close_icon = "",
@ -19,36 +19,40 @@ require "bufferline".setup {
highlights = {
background = {
guifg = comment_fg,
guibg = "#282c34"
guibg = "#1e222a"
},
fill = {
guifg = comment_fg,
guibg = "#282c34"
guibg = "#1e222a"
},
buffer_selected = {
guifg = normal_fg,
guibg = "#3A3E44",
guibg = "#282c34",
gui = "bold"
},
buffer_visible = {
guifg = "#3e4451",
guibg = "#1e222a"
},
separator_visible = {
guifg = "#282c34",
guibg = "#282c34"
guifg = "#1e222a",
guibg = "#1e222a"
},
separator_selected = {
guifg = "#282c34",
guibg = "#282c34"
guifg = "#1e222a",
guibg = "#1e222a"
},
separator = {
guifg = "#282c34",
guibg = "#282c34"
guifg = "#1e222a",
guibg = "#1e222a"
},
indicator_selected = {
guifg = "#282c34",
guibg = "#282c34"
guifg = "#1e222a",
guibg = "#1e222a"
},
modified_selected = {
guifg = string_fg,
guibg = "#3A3E44"
guibg = "#353b45"
}
}
}
@ -59,10 +63,10 @@ vim.g.mapleader = " "
--command that adds new buffer and moves to it
vim.api.nvim_command "com -nargs=? -complete=file_in_path New badd <args> | blast"
vim.api.nvim_set_keymap("n","<S-b>",":New ", opt)
vim.api.nvim_set_keymap("n", "<S-b>", ":New ", opt)
--removing a buffer
vim.api.nvim_set_keymap("n","<S-f>",[[<Cmd>bdelete<CR>]], opt)
vim.api.nvim_set_keymap("n", "<S-f>", [[<Cmd>bdelete<CR>]], opt)
-- tabnew and tabprev
vim.api.nvim_set_keymap("n", "<S-l>", [[<Cmd>BufferLineCycleNext<CR>]], opt)