dotfiles/.config/nvim/lua/hyrik/remap.lua
xHyroM 30620d5b2c nvim cfg
still wip, primeagen thx
2023-08-15 23:08:10 +02:00

16 lines
314 B
Lua

vim.g.mapleader = " "
-- go to netwrk
vim.keymap.set("n", "<leader>pv", vim.cmd.Ex)
vim.keymap.set("n", "J", "mzJ`z")
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")
vim.keymap.set("x", "<leader>p", "\"_dP")