Created
August 17, 2024 18:51
-
-
Save mkohlhaas/0473d6902956fe882607bcf3506b09e2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Keymaps are automatically loaded on the VeryLazy event | |
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua | |
-- Add any additional keymaps here | |
local map = vim.keymap.set | |
map("n", "j", "jzz") | |
map("n", "k", "kzz") | |
map("n", "n", "nzz") | |
map("n", "N", "Nzz") | |
map("n", "G", "Gzz") | |
map("i", "jk", "<ESC>") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
.config/nvim/lua/config/keymaps.lua