diff --git a/init.lua b/init.lua index 6b053d7..f247e08 100644 --- a/init.lua +++ b/init.lua @@ -8,14 +8,6 @@ config.ensure_lazy() require('lazy').setup(vim.tbl_extend('keep', config.user_lazy_opts(), { spec = { { import = 'plex.plugins' }, - -- { import = 'plex.plugins.extras.ui' }, - -- { import = 'plex.plugins.extras.treesitter' }, - -- { import = 'plex.plugins.extras.editor' }, - -- { import = 'plex.plugins.extras.org' }, - -- { import = 'plex.plugins.extras.lang.go' }, - -- { import = 'plex.plugins.extras.lang.json' }, - -- { import = 'plex.plugins.extras.lang.python' }, - -- { import = 'plex.plugins.extras.lang.yaml' }, -- This will load a custom user lua/plugins.lua or lua/plugins/* config.has_user_plugins() and { import = 'plugins' } or nil, @@ -31,14 +23,6 @@ require('lazy').setup(vim.tbl_extend('keep', config.user_lazy_opts(), { performance = { rtp = { disabled_plugins = { - 'gzip', - 'vimballPlugin', - 'matchit', - 'matchparen', - '2html_plugin', - 'tarPlugin', - 'tutor', - 'zipPlugin', }, }, }, diff --git a/lua/plex/config/keymaps.lua b/lua/plex/config/keymaps.lua index c218c88..c990b9d 100644 --- a/lua/plex/config/keymaps.lua +++ b/lua/plex/config/keymaps.lua @@ -31,9 +31,8 @@ map('n', 'l', 'Lazy', { desc = 'Open Lazy UI' }) -- === -- Move faster between lines --- See vim-smoothie ---map({ 'n', 'x' }, 'K', "") ---map({ 'n', 'x' }, 'J', "") +map({ 'n', 'x' }, 'K', "") +map({ 'n', 'x' }, 'J', "") -- Easier line-wise movement map({'n', 'v'}, 'H', 'g^') @@ -212,7 +211,6 @@ end, { desc = 'Change Local Directory' }) -- === -- Toggle editor's visual effects -map('n', 'uf', require('plex.plugins.lsp.format').toggle, { desc = 'Toggle format on Save' }) map('n', 'us', 'setlocal spell!', { desc = 'Toggle Spellcheck' }) map('n', 'ul', 'setlocal nonumber!', { desc = 'Toggle Line Numbers' }) map('n', 'ulr', 'setlocal nornu!', { desc = 'Toggle Relative Line Numbers' }) @@ -246,12 +244,6 @@ map('n', '', 'tabclose', { desc = 'Close Tab' }) map('n', '', '-tabmove', { desc = 'Tab Move Backwards' }) map('n', '', '+tabmove', { desc = 'Tab Move Forwards' }) --- Show treesitter nodes under cursor --- highlights under cursor -if vim.fn.has('nvim-0.9') == 1 then - map('n', 'ui', vim.show_pos, { desc = 'Show Treesitter Node' }) -end - -- Custom Tools -- ===