From 7ccf6518131d9d46389fe62227bd66ffe33ca53a Mon Sep 17 00:00:00 2001 From: Joshua Potter Date: Thu, 21 Mar 2024 14:36:05 -0600 Subject: [PATCH] neovim: Add "zoom" window feature. --- users/jrpotter/neovim/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/users/jrpotter/neovim/default.nix b/users/jrpotter/neovim/default.nix index 7105f78..b061953 100644 --- a/users/jrpotter/neovim/default.nix +++ b/users/jrpotter/neovim/default.nix @@ -165,6 +165,9 @@ in vim.o.list = true -- Show hidden characters. vim.o.shiftwidth = 2 -- # of spaces to use for each (auto)indent. vim.o.tabstop = 2 -- # of spaces a in the file counts for. + + -- "Zoom" in on a window + vim.keymap.set("n", "z", ":tabedit %") '') ]; };