brighten line numbers

This commit is contained in:
Oliver Ladner 2024-01-29 16:20:26 +01:00
commit d8b8a9b303
3 changed files with 36 additions and 1 deletions

View file

@ -0,0 +1,29 @@
-- Git UI
-- https://github.com/kdheepak/lazygit.nvim
return {
"kdheepak/lazygit.nvim",
lazy = true,
event = "VeryLazy",
dependencies = {
"nvim-lua/plenary.nvim",
},
--config = function()
-- local oil = require("oil")
-- oil.setup({
-- default_file_explorer = true,
-- columns = {
-- --"size",
-- "icon",
-- },
-- view_options = {
-- show_hidden = true,
-- },
-- keymaps = {
-- -- This should be matched to the open action in remap.lua
-- ["<leader>e"] = "actions.close",
-- ["<C-v>"] = "actions.select_vsplit",
-- ["<C-x>"] = "actions.select_split",
-- },
-- })
--end,
}

View file

@ -6,6 +6,7 @@ return {
opts = {},
config = function()
local tokyonight = require("tokyonight")
local util = require("tokyonight.util")
tokyonight.setup({
styles = {
comments = { italic = true },
@ -16,8 +17,12 @@ return {
-- Better visible visual selection background color
colors.bg_visual = "#e82a86"
end,
-- Remove borders from Telescope windows
on_highlights = function(hl, c)
-- Brighter line numbers
hl.LineNr = {
fg = util.darken(c.teal, 0.6),
}
-- Remove borders from Telescope windows
local prompt = "#4e3e6c"
hl.TelescopeNormal = {
bg = c.bg_dark,

View file

@ -41,6 +41,7 @@ vim.keymap.set(
)
vim.keymap.set("n", "<leader>glf", ":Telescope git_bcommits<CR>", { noremap = true, desc = "Git log (this file)" })
vim.keymap.set("n", "<leader>gdp", ":Gitsigns diffthis<CR>", { noremap = true, desc = "Git diff previous (this file)" })
vim.keymap.set("n", "<leader>gg", ":LazyGitCurrentFile<CR>", { noremap = true, desc = "LazyGit" })
-- Remapping of existing Vim key binds
vim.keymap.set("n", "w", "W") -- skip punctuation when moving to start of next word