Skip to content

Instantly share code, notes, and snippets.

@mkohlhaas
Created August 17, 2024 18:51
Show Gist options
  • Save mkohlhaas/0473d6902956fe882607bcf3506b09e2 to your computer and use it in GitHub Desktop.
Save mkohlhaas/0473d6902956fe882607bcf3506b09e2 to your computer and use it in GitHub Desktop.
-- 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>")
@mkohlhaas
Copy link
Author

.config/nvim/lua/config/keymaps.lua

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment