bind <F6> to toggle dark/light background
This commit is contained in:
parent
b8e5ff313f
commit
c42f1f0370
@ -135,3 +135,13 @@ for i = 1, 9, 1 do
|
||||
require("harpoon.term").gotoTerminal(i)
|
||||
end, { desc = '[H]arpoon nav_file [' .. i .. ']' })
|
||||
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