include NvimTreeNormalNC for transparency | add #608

This commit is contained in:
siduck 2021-11-24 20:08:11 +05:30
parent 067c6cc7fc
commit 9e8af5ad93
2 changed files with 8 additions and 1 deletions

View File

@ -136,6 +136,7 @@ fg_bg("TelescopeResultsTitle", red, one_bg)
-- Disable some highlight in nvim tree if transparency enabled
if ui.transparency then
bg("NvimTreeNormal", "NONE")
bg("NvimTreeNormalNC", "NONE")
bg("NvimTreeStatusLineNC", "NONE")
bg("NvimTreeVertSplit", "NONE")
fg("NvimTreeVertSplit", grey)

View File

@ -29,6 +29,12 @@ M.misc = function()
-- use ESC to turn off search highlighting
map("n", "<Esc>", ":noh <CR>")
-- center cursor when moving (goto_definition)
-- yank from current cursor to end of line
map("n", "Y", "yg$")
end
local function optional_mappings()
@ -150,7 +156,7 @@ M.telescope = function()
local m = plugin_maps.telescope
map("n", m.buffers, ":Telescope buffers <CR>")
map("n", m.find_files, ":Telescope find_files <CR>")
map("n", m.find_files, ":Telescope find_files no_ignore=true <CR>")
map("n", m.find_hiddenfiles, ":Telescope find_files hidden=true <CR>")
map("n", m.git_commits, ":Telescope git_commits <CR>")
map("n", m.git_status, ":Telescope git_status <CR>")