qgml movement finally, relearn h undo l openline

This commit is contained in:
2026-04-28 07:51:41 -07:00
parent 1df9523c69
commit 714b681922
2 changed files with 15 additions and 0 deletions

View File

@@ -1,3 +1,17 @@
-- Keymaps are automatically loaded on the VeryLazy event
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here
--
-- movement keys (work in normal, visual, and operatorpending modes)
vim.keymap.set({ 'n', 'v', 'o' }, 'a', '<Left>', { desc = 'Move left' })
vim.keymap.set({ 'n', 'v', 'o' }, 'e', '<Down>', { desc = 'Move down' })
vim.keymap.set({ 'n', 'v', 'o' }, 'u', '<Up>', { desc = 'Move up' })
vim.keymap.set({ 'n', 'v', 'o' }, 'o', '<Right>', { desc = 'Move right' })
-- reassign original commands to freed hjkl (normal mode only)
vim.keymap.set('n', 'h', '<Cmd>normal! u<CR>', { desc = 'Undo' })
vim.keymap.set('n', 'j', '<Cmd>normal! a<CR>', { desc = 'Append' })
vim.keymap.set('n', 'k', '<Cmd>normal! e<CR>', { desc = 'End of word' })
vim.keymap.set('n', 'l', '<Cmd>normal! o<CR>', { desc = 'Open line below' })

View File

@@ -4,6 +4,7 @@ return {
-- ⚠️ must add this setting! ! !
build = vim.fn.has("win32") ~= 0 and "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false"
or "make",
-- build = "make BUILD_FROM_SOURCE=true",
event = "VeryLazy",
version = false, -- Never set this value to "*"! Never!
---@module 'avante'