some updates for nvim

This commit is contained in:
Léana 江 2023-11-29 14:40:23 +01:00 committed by Léana 江
parent 8aa840bf0c
commit df3001dbab
4 changed files with 30 additions and 38 deletions

View file

@ -9,10 +9,6 @@ local autocmd = vim.api.nvim_create_autocmd
map("v", "J", ":m '>+1<CR>gv=gv")
map("v", "K", ":m '<-2<CR>gv=gv")
-- Indent without leaving visual
map("v", "<", "<gv")
map("v", ">", ">gv")
-- Centered motions
map("n", "<C-d>", "<C-d>zz")
map("n", "<C-u>", "<C-u>zz")