dotfiles/.config/nvim/lua/hyrik/remap.lua
2024-03-29 18:23:54 +01: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")