diff --git a/lua/core/options.lua b/lua/core/options.lua index cfb0884..07bc960 100644 --- a/lua/core/options.lua +++ b/lua/core/options.lua @@ -3,9 +3,7 @@ vim.opt.relativenumber = true vim.opt.mouse = 'a' vim.opt.showmode = false -vim.schedule(function() - vim.opt.clipboard = 'unnamedplus' -end) +vim.schedule(function() vim.opt.clipboard = 'unnamedplus' end) vim.opt.breakindent = true vim.opt.undofile = true @@ -33,4 +31,7 @@ vim.opt.cursorline = true -- Minimal number of screen lines to keep above and below the cursor. vim.opt.scrolloff = 10 +-- global statusline +vim.o.laststatus = 3 + vim.opt.confirm = true diff --git a/lua/plugins/snacks.lua b/lua/plugins/snacks.lua index 12d1995..9a8600f 100644 --- a/lua/plugins/snacks.lua +++ b/lua/plugins/snacks.lua @@ -14,7 +14,6 @@ return { }, keys = { { '', function() Snacks.picker.smart() end, desc = 'Smart Find Files' }, - { ',', function() Snacks.picker.buffers() end, desc = 'Buffers' }, { '/', function() Snacks.picker.grep() end, desc = 'Grep' }, { ':', function() Snacks.picker.command_history() end, desc = 'Command History' }, { 'n', function() Snacks.picker.notifications() end, desc = 'Notification History' },