13 lines
454 B
Lua
13 lines
454 B
Lua
|
-- 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
|
||
|
local map = vim.keymap.set
|
||
|
|
||
|
-- replace ex mode map and use it for repeating 'q' macro
|
||
|
map("n", "Q", "@q")
|
||
|
map("v", "Q", "<cmd>norm @q<CR>")
|
||
|
|
||
|
-- Easier in-file navigation with Tab and S-Tab
|
||
|
map("n", "<S-Tab>", "<C-U>")
|
||
|
map("n", "<Tab>", "<C-D>")
|