From 3eaf8d0c4a0c3bb7ac03f0a384686a6324cc3bc4 Mon Sep 17 00:00:00 2001 From: Kat Morgan Date: Fri, 4 Oct 2024 11:15:55 -0700 Subject: [PATCH] map jj to esc --- .../slim/rootfs/etc/skel/.config/nvim/lua/config/keymaps.lua | 4 ++++ .../rootfs/home/vscode/.config/nvim/lua/config/keymaps.lua | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 docker/slim/rootfs/etc/skel/.config/nvim/lua/config/keymaps.lua create mode 100644 docker/slim/rootfs/home/vscode/.config/nvim/lua/config/keymaps.lua diff --git a/docker/slim/rootfs/etc/skel/.config/nvim/lua/config/keymaps.lua b/docker/slim/rootfs/etc/skel/.config/nvim/lua/config/keymaps.lua new file mode 100644 index 0000000..a5a31ab --- /dev/null +++ b/docker/slim/rootfs/etc/skel/.config/nvim/lua/config/keymaps.lua @@ -0,0 +1,4 @@ +-- 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 +vim.keymap.set("i", "jj", "", { silent = true }) diff --git a/docker/slim/rootfs/home/vscode/.config/nvim/lua/config/keymaps.lua b/docker/slim/rootfs/home/vscode/.config/nvim/lua/config/keymaps.lua new file mode 100644 index 0000000..a5a31ab --- /dev/null +++ b/docker/slim/rootfs/home/vscode/.config/nvim/lua/config/keymaps.lua @@ -0,0 +1,4 @@ +-- 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 +vim.keymap.set("i", "jj", "", { silent = true })