diff --git a/lua/nxvim/plugins/neo-tree.lua b/lua/nxvim/plugins/neo-tree.lua index 64359ec..bc254cd 100644 --- a/lua/nxvim/plugins/neo-tree.lua +++ b/lua/nxvim/plugins/neo-tree.lua @@ -337,7 +337,6 @@ nx.au({ pattern = "neo-tree-popup", callback = function() vim.schedule(function() - vim.cmd("set gcr=n-v-c-sm:block,i-ci-ve:ver25,r-cr-o:hor20") nx.map({ -- Allow to escape into normal mode in fuzzy finder input popup. { "", "", "i" }, diff --git a/lua/nxvim/plugins/noice.lua b/lua/nxvim/plugins/noice.lua index 862d50d..1c3862e 100644 --- a/lua/nxvim/plugins/noice.lua +++ b/lua/nxvim/plugins/noice.lua @@ -48,25 +48,6 @@ require("noice").setup({ -- ] --- == [ Events ================================================================ - -local hacks = require("noice.util.hacks") - -nx.au({ - { "WinEnter", "FocusGained" }, - callback = function(ev) - -- if vim.bo[ev.buf].filetype ~= "neo-tree" then vim.cmd("set gcr=n-v-c-sm:block,i-ci-ve:ver25,r-cr-o:hor20") end - if not ev.buf then return end - if vim.bo[ev.buf].filetype == "neo-tree" then - hacks.hide_cursor() - else - -- hacks.show_cursor() - vim.cmd("set gcr=n-v-c-sm:block,i-ci-ve:ver25,r-cr-o:hor20") - end - end, -}) --- ] - -- == [ Keymaps =============================================================== nx.map({