bind <F6> to toggle dark/light background
This commit is contained in:
parent
7ff5a6a634
commit
01229cc7b0
@ -134,3 +134,13 @@ for i = 1, 9, 1 do
|
|||||||
require("harpoon.term").gotoTerminal(i)
|
require("harpoon.term").gotoTerminal(i)
|
||||||
end, { desc = '[H]arpoon nav_file [' .. i .. ']' })
|
end, { desc = '[H]arpoon nav_file [' .. i .. ']' })
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- colors
|
||||||
|
|
||||||
|
key('n', '<F6>', function()
|
||||||
|
if vim.o.background == "dark" then
|
||||||
|
vim.o.background = "light"
|
||||||
|
else
|
||||||
|
vim.o.background = "dark"
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user