feat(nvim): add tint.nvim
This commit is contained in:
parent
d83caa0c6a
commit
2edee4584a
@ -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("n", "<leader>/", ":CommentToggle<CR>")
|
||||||
vim.keymap.set("v", "<leader>/", ":'<,'>CommentToggle<CR>")
|
vim.keymap.set("v", "<leader>/", ":'<,'>CommentToggle<CR>")
|
||||||
|
|
||||||
-- Code Outline
|
|
||||||
vim.keymap.set("n", "<leader>co", ":SymbolsOutline<CR>")
|
|
||||||
|
|
||||||
-- Bufferline mappings
|
-- Bufferline mappings
|
||||||
vim.keymap.set("n", "<A-a>", ":BufferLineCyclePrev<CR>")
|
vim.keymap.set("n", "<A-a>", ":BufferLineCyclePrev<CR>")
|
||||||
vim.keymap.set("n", "<A-s>", ":BufferLineCycleNext<CR>")
|
vim.keymap.set("n", "<A-s>", ":BufferLineCycleNext<CR>")
|
||||||
@ -155,6 +152,7 @@ vim.keymap.set("", "f", function()
|
|||||||
})
|
})
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
-- Hop Bindings
|
||||||
vim.keymap.set("", ";l", "<cmd>HopLineStart<CR>")
|
vim.keymap.set("", ";l", "<cmd>HopLineStart<CR>")
|
||||||
vim.keymap.set("", ";s", "<cmd>HopPattern<CR>")
|
vim.keymap.set("", ";s", "<cmd>HopPattern<CR>")
|
||||||
vim.keymap.set("", ";;", "<cmd>HopWord<CR>")
|
vim.keymap.set("", ";;", "<cmd>HopWord<CR>")
|
||||||
|
@ -401,18 +401,6 @@ return packer.startup({
|
|||||||
end,
|
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
|
-- DAP, debugger
|
||||||
use({
|
use({
|
||||||
"mfussenegger/nvim-dap",
|
"mfussenegger/nvim-dap",
|
||||||
@ -742,6 +730,17 @@ return packer.startup({
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Tint inactive windows
|
||||||
|
use({
|
||||||
|
"levouh/tint.nvim",
|
||||||
|
config = function()
|
||||||
|
require("tint").setup({
|
||||||
|
amt = -20,
|
||||||
|
saturation = 0.9,
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
-- Leave at end!!!
|
-- Leave at end!!!
|
||||||
-- Install and deploy packer plugins
|
-- Install and deploy packer plugins
|
||||||
-- automatically
|
-- automatically
|
||||||
|
Loading…
Reference in New Issue
Block a user