diff --git a/lua/colors/highlights.lua b/lua/colors/highlights.lua index d460a64..3fed96b 100644 --- a/lua/colors/highlights.lua +++ b/lua/colors/highlights.lua @@ -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) diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index e192ea5..0036234 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -29,6 +29,12 @@ M.misc = function() -- use ESC to turn off search highlighting map("n", "", ":noh ") + + -- 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 ") - map("n", m.find_files, ":Telescope find_files ") + map("n", m.find_files, ":Telescope find_files no_ignore=true ") map("n", m.find_hiddenfiles, ":Telescope find_files hidden=true ") map("n", m.git_commits, ":Telescope git_commits ") map("n", m.git_status, ":Telescope git_status ")