neovim: Add "zoom" window feature.

main
Joshua Potter 2024-03-21 14:36:05 -06:00
parent 34f7c6652e
commit 7ccf651813
1 changed files with 3 additions and 0 deletions

View File

@ -165,6 +165,9 @@ in
vim.o.list = true -- Show hidden characters. vim.o.list = true -- Show hidden characters.
vim.o.shiftwidth = 2 -- # of spaces to use for each (auto)indent. vim.o.shiftwidth = 2 -- # of spaces to use for each (auto)indent.
vim.o.tabstop = 2 -- # of spaces a <Tab> in the file counts for. vim.o.tabstop = 2 -- # of spaces a <Tab> in the file counts for.
-- "Zoom" in on a window
vim.keymap.set("n", "<c-w>z", ":tabedit %<CR>")
'') '')
]; ];
}; };