minimal: adjust keys

This commit is contained in:
root 2023-09-10 01:42:06 +02:00
parent ae6d7a0f8d
commit 3bd2e5fa6e
2 changed files with 2 additions and 26 deletions

View File

@ -8,14 +8,6 @@ config.ensure_lazy()
require('lazy').setup(vim.tbl_extend('keep', config.user_lazy_opts(), { require('lazy').setup(vim.tbl_extend('keep', config.user_lazy_opts(), {
spec = { spec = {
{ import = 'plex.plugins' }, { 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/* -- This will load a custom user lua/plugins.lua or lua/plugins/*
config.has_user_plugins() and { import = 'plugins' } or nil, 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 = { performance = {
rtp = { rtp = {
disabled_plugins = { disabled_plugins = {
'gzip',
'vimballPlugin',
'matchit',
'matchparen',
'2html_plugin',
'tarPlugin',
'tutor',
'zipPlugin',
}, },
}, },
}, },

View File

@ -31,9 +31,8 @@ map('n', '<leader>l', '<cmd>Lazy<cr>', { desc = 'Open Lazy UI' })
-- === -- ===
-- Move faster between lines -- Move faster between lines
-- See vim-smoothie map({ 'n', 'x' }, 'K', "<C-u>")
--map({ 'n', 'x' }, 'K', "<C-u>") map({ 'n', 'x' }, 'J', "<C-d>")
--map({ 'n', 'x' }, 'J', "<C-d>")
-- Easier line-wise movement -- Easier line-wise movement
map({'n', 'v'}, 'H', 'g^') map({'n', 'v'}, 'H', 'g^')
@ -212,7 +211,6 @@ end, { desc = 'Change Local Directory' })
-- === -- ===
-- Toggle editor's visual effects -- Toggle editor's visual effects
map('n', '<leader>uf', require('plex.plugins.lsp.format').toggle, { desc = 'Toggle format on Save' })
map('n', '<Leader>us', '<cmd>setlocal spell!<CR>', { desc = 'Toggle Spellcheck' }) map('n', '<Leader>us', '<cmd>setlocal spell!<CR>', { desc = 'Toggle Spellcheck' })
map('n', '<Leader>ul', '<cmd>setlocal nonumber!<CR>', { desc = 'Toggle Line Numbers' }) map('n', '<Leader>ul', '<cmd>setlocal nonumber!<CR>', { desc = 'Toggle Line Numbers' })
map('n', '<Leader>ulr', '<cmd>setlocal nornu!<CR>', { desc = 'Toggle Relative Line Numbers' }) map('n', '<Leader>ulr', '<cmd>setlocal nornu!<CR>', { desc = 'Toggle Relative Line Numbers' })
@ -246,12 +244,6 @@ map('n', '<A-c>', '<cmd>tabclose<CR>', { desc = 'Close Tab' })
map('n', '<A-S-j>', '<cmd>-tabmove<CR>', { desc = 'Tab Move Backwards' }) map('n', '<A-S-j>', '<cmd>-tabmove<CR>', { desc = 'Tab Move Backwards' })
map('n', '<A-S-k>', '<cmd>+tabmove<CR>', { desc = 'Tab Move Forwards' }) map('n', '<A-S-k>', '<cmd>+tabmove<CR>', { desc = 'Tab Move Forwards' })
-- Show treesitter nodes under cursor
-- highlights under cursor
if vim.fn.has('nvim-0.9') == 1 then
map('n', '<Leader>ui', vim.show_pos, { desc = 'Show Treesitter Node' })
end
-- Custom Tools -- Custom Tools
-- === -- ===