diff options
author | Squibid <me@zacharyscheiman.com> | 2024-03-29 21:24:26 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2024-03-29 21:24:26 -0400 |
commit | ec45024697a25978c70f95e401955de53680be24 (patch) | |
tree | bd75416276d70f0b0368c39eb3050b35a53af3d7 | |
parent | d3512c5e88a24d3d8af8cc9d4e11d82d94d90951 (diff) | |
download | nvim-ec45024697a25978c70f95e401955de53680be24.tar.gz nvim-ec45024697a25978c70f95e401955de53680be24.tar.bz2 nvim-ec45024697a25978c70f95e401955de53680be24.zip |
add notification to toggling venn mode
-rw-r--r-- | lua/conf/binds.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/conf/binds.lua b/lua/conf/binds.lua index 1e1b04a..d76cb8a 100644 --- a/lua/conf/binds.lua +++ b/lua/conf/binds.lua @@ -145,6 +145,7 @@ function _G.Toggle_venn() local mapb = vim.api.nvim_buf_set_keymap local venn_enabled = vim.inspect(vim.b.venn_enabled) if venn_enabled == "nil" then + vim.notify("Enabled venn mode", vim.log.levels.LOW, { title = misc.appid }) vim.b.venn_enabled = true vim.cmd([[setlocal ve=all]]) -- draw a line on HJKL keystokes @@ -155,6 +156,7 @@ function _G.Toggle_venn() -- draw a box by pressing "f" with visual selection mapb(0, "v", "f", ":VBox<CR>", { noremap = true }) else + vim.notify("Disabled venn mode", vim.log.levels.LOW, { title = misc.appid }) vim.cmd[[setlocal ve=]] vim.cmd[[mapclear <buffer>]] vim.b.venn_enabled = nil |