Krolyxon
Commit 57dab0a

Branches

Refs →

aurora.confignvimluaconfigkeymaps.lua

14 lines · 607 B · Lua

1-- Keymaps are automatically loaded on the VeryLazy event
2-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
3-- Add any additional keymaps here
4local map = vim.keymap.set
5map("n", "<C-n>", "<cmd>NvimTreeToggle<Cr>", { desc = "NvimTree", remap = true })
6
7-- Disable Ctrl+J in insert mode (make it do nothing)
8vim.keymap.set("i", "<C-j>", "<Nop>", { noremap = true, silent = true })
9
10
11vim.keymap.set("n", "<Up>", "<c-w>k")
12vim.keymap.set("n", "<Down>", "<c-w>j")
13vim.keymap.set("n", "<Left>", "<c-w>h")
14vim.keymap.set("n", "<Right>", "<c-w>l")