feat: nvim config

This commit is contained in:
Rasyidan Akbar F. 2025-10-28 15:59:39 +07:00
commit 03507560de
23 changed files with 685 additions and 328 deletions

View file

@ -1,3 +1,9 @@
-- 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
-- Essential keymaps (minimal improvements over default Vim)
local keymap = vim.keymap
-- Clear search highlight with <esc>
keymap.set("n", "<esc>", "<cmd>noh<cr>", { desc = "Clear search highlight" })
-- Better indenting (stay in visual mode)
keymap.set("v", "<", "<gv")
keymap.set("v", ">", ">gv")