Adds nvim config as home manager module
This commit is contained in:
parent
5a9ad9bbd1
commit
98f4a6679e
34 changed files with 1260 additions and 0 deletions
8
home/modules/nvim/config/lua/dnsc/keymaps.lua
Normal file
8
home/modules/nvim/config/lua/dnsc/keymaps.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
local opts = { noremap = true, silent = true, expr = true }
|
||||
|
||||
vim.keymap.set("n", "k", "v:count == 0 ? 'gk' : 'k'", opts)
|
||||
vim.keymap.set("n", "j", "v:count == 0 ? 'gj' : 'j'", opts)
|
||||
vim.keymap.set("n", "<C-d>", "<C-d>zz")
|
||||
vim.keymap.set("n", "<C-u>", "<C-u>zz")
|
||||
vim.keymap.set("n", "n", "nzzzv")
|
||||
vim.keymap.set("n", "N", "Nzzzv")
|
||||
Loading…
Add table
Add a link
Reference in a new issue