nvim: bootstrap minimal nix-first config
This commit is contained in:
parent
8a2e735875
commit
d90c74150f
14 changed files with 557 additions and 12 deletions
10
.config/nvim/lua/config/keymaps.lua
Normal file
10
.config/nvim/lua/config/keymaps.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
local map = vim.keymap.set
|
||||
|
||||
map("n", "<Esc>", "<cmd>nohlsearch<cr>", { desc = "Clear search highlight" })
|
||||
map("n", "<leader>w", "<cmd>write<cr>", { desc = "Write buffer" })
|
||||
map("n", "<leader>q", "<cmd>quit<cr>", { desc = "Quit window" })
|
||||
|
||||
map("n", "<C-h>", "<C-w>h", { desc = "Go to left window" })
|
||||
map("n", "<C-j>", "<C-w>j", { desc = "Go to lower window" })
|
||||
map("n", "<C-k>", "<C-w>k", { desc = "Go to upper window" })
|
||||
map("n", "<C-l>", "<C-w>l", { desc = "Go to right window" })
|
||||
Loading…
Add table
Add a link
Reference in a new issue