switched to a submodule
This commit is contained in:
commit
fdf977246d
14 changed files with 276 additions and 0 deletions
12
lua/remaps.lua
Normal file
12
lua/remaps.lua
Normal file
|
@ -0,0 +1,12 @@
|
|||
-- move selected lines and auto indent
|
||||
|
||||
vim.keymap.set("v", "<A-j>", ":m '>+1<CR>gv=gv")
|
||||
vim.keymap.set("v", "<A-k>", ":m '<-2<CR>gv=gv")
|
||||
|
||||
-- zz centers the cursor
|
||||
|
||||
vim.keymap.set("n", "<C-d>", "<C-d>zz")
|
||||
vim.keymap.set("n", "<C-u>", "<C-u>zz")
|
||||
|
||||
vim.keymap.set("n", "n", "nzzzv")
|
||||
vim.keymap.set("n", "N", "Nzzzv")
|
Loading…
Add table
Add a link
Reference in a new issue