diff --git a/lua/custom/keymaps/explore.lua b/lua/custom/keymaps/explore.lua index 194be98..c0fd8a6 100644 --- a/lua/custom/keymaps/explore.lua +++ b/lua/custom/keymaps/explore.lua @@ -24,7 +24,7 @@ wk.add { }, }, { - mode = { 'n', 'v' }, + mode = { 'n', 'v', 'i' }, { '', nth.smart_open, desc = 'File explorer', silent = true, noremap = true, hidden = true }, }, } diff --git a/lua/kickstart/plugins/mini.lua b/lua/kickstart/plugins/mini.lua index 9b5801e..6835763 100644 --- a/lua/kickstart/plugins/mini.lua +++ b/lua/kickstart/plugins/mini.lua @@ -60,32 +60,6 @@ return { require('mini.starter').gen_hook.adding_bullet '󰐊 ', require('mini.starter').gen_hook.aligning('center', 'center'), }, - config = function() - -- close Lazy and re-open when starter is ready - if vim.o.filetype == 'lazy' then - vim.cmd.close() - vim.api.nvim_create_autocmd('User', { - pattern = 'MiniStarterOpened', - callback = function() - require('lazy').show() - end, - }) - end - - vim.api.nvim_create_autocmd('User', { - pattern = 'LazyVimStarted', - callback = function(ev) - local stats = require('lazy').stats() - local ms = (math.floor(stats.startuptime * 100 + 0.5) / 100) - local pad_footer = string.rep(' ', 8) - starter.config.footer = pad_footer .. '⚡ Neovim loaded ' .. stats.count .. ' plugins in ' .. ms .. 'ms' - -- INFO: based on @echasnovski's recommendation (thanks a lot!!!) - if vim.bo[ev.buf].filetype == 'ministarter' then - pcall(starter.refresh) - end - end, - }) - end, } -- Simple way to visualize and work with indent scope diff --git a/lua/kickstart/plugins/obsidian.lua b/lua/kickstart/plugins/obsidian.lua index bdc67e2..990dbab 100644 --- a/lua/kickstart/plugins/obsidian.lua +++ b/lua/kickstart/plugins/obsidian.lua @@ -9,8 +9,8 @@ return { 'obsidian-nvim/obsidian.nvim', version = '*', -- recommended, use latest release instead of latest commit - lazy = true, - ft = 'markdown', + -- lazy = true, + -- ft = 'markdown', -- Replace the above line with this if you only want to load obsidian.nvim for markdown files in your vault: -- event = { -- -- If you want to use the home shortcut '~' here you need to call 'vim.fn.expand'.