feat(nvim): add tint.nvim

This commit is contained in:
Price Hiller 2022-09-04 15:13:20 -05:00
parent d83caa0c6a
commit 2edee4584a
2 changed files with 12 additions and 15 deletions

View File

@ -78,9 +78,6 @@ vim.keymap.set("n", "<leader>dl", ':lua require("dap").run_last()<CR>')
vim.keymap.set("n", "<leader>/", ":CommentToggle<CR>")
vim.keymap.set("v", "<leader>/", ":'<,'>CommentToggle<CR>")
-- Code Outline
vim.keymap.set("n", "<leader>co", ":SymbolsOutline<CR>")
-- Bufferline mappings
vim.keymap.set("n", "<A-a>", ":BufferLineCyclePrev<CR>")
vim.keymap.set("n", "<A-s>", ":BufferLineCycleNext<CR>")
@ -155,6 +152,7 @@ vim.keymap.set("", "f", function()
})
end)
-- Hop Bindings
vim.keymap.set("", ";l", "<cmd>HopLineStart<CR>")
vim.keymap.set("", ";s", "<cmd>HopPattern<CR>")
vim.keymap.set("", ";;", "<cmd>HopWord<CR>")

View File

@ -401,18 +401,6 @@ return packer.startup({
end,
})
-- Show code outline
use({
"simrat39/symbols-outline.nvim",
cmd = { "SymbolsOutline", "SymbolsOutlineOpen", "SymbolsOutlineClose" },
config = function()
-- TODO: Clean this up and use the `nvim.api.nvim_set_hl` api
vim.cmd(
[[hi FocusedSymbol term=italic,bold cterm=italic ctermbg=yellow ctermfg=darkblue gui=bold,italic guibg=none guifg=#59D0FF]]
)
end,
})
-- DAP, debugger
use({
"mfussenegger/nvim-dap",
@ -742,6 +730,17 @@ return packer.startup({
end,
})
-- Tint inactive windows
use({
"levouh/tint.nvim",
config = function()
require("tint").setup({
amt = -20,
saturation = 0.9,
})
end,
})
-- Leave at end!!!
-- Install and deploy packer plugins
-- automatically