dotfiles/.config/nvim/lua/hyrik/remap.lua

17 lines
314 B
Lua
Raw Normal View History

2023-08-15 23:08:10 +02:00
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")