mirror of
https://github.com/arkorty/Neolite.git
synced 2026-03-17 16:51:42 +00:00
Add keyboard map to toggle ZenMode
This commit is contained in:
@@ -42,6 +42,7 @@ keymap("n", "<Leader>BB", ":bdelete<CR>", opts)
|
||||
keymap("n", "<Leader>jj", ":bprevious<CR>", opts)
|
||||
keymap("n", "<Leader>kk", ":bnext<CR>", opts)
|
||||
|
||||
-- System clipboard yank and paste
|
||||
keymap("n", "P", '"+p', opts)
|
||||
keymap("v", "Y", '"+y', opts)
|
||||
|
||||
@@ -57,3 +58,6 @@ function _G.set_terminal_keymaps()
|
||||
end
|
||||
|
||||
vim.cmd("autocmd! TermOpen term://*toggleterm#* lua set_terminal_keymaps()")
|
||||
|
||||
-- Toggle ZenMode
|
||||
keymap("n", "<Leader>zz", ':ZenMode<CR>', opts)
|
||||
|
||||
Reference in New Issue
Block a user