mirror of
https://github.com/arkorty/Neolite.git
synced 2026-05-07 10:02:15 +00:00
Add keyboard map to toggle ZenMode
This commit is contained in:
parent
34631d7661
commit
a0bf316fe7
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue