mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-03 01:48:19 +00:00
feat(nvim): keymaps tweaks, cleanup, docs
This commit is contained in:
@@ -81,5 +81,11 @@ vim.o.termguicolors = true
|
||||
|
||||
-- Set spell checking
|
||||
vim.o.spell = true
|
||||
vim.o.spelllang = 'en_us'
|
||||
|
||||
vim.g.loaded_perl_provider = 0
|
||||
|
||||
-- ── Deal with word wrap ───────────────────────────────────────────────────────
|
||||
local m = vim.api.nvim_set_keymap
|
||||
m('n', 'k', "v:count == 0 ? 'gk' : 'k'", { desc = 'Move up', noremap = true, expr = true })
|
||||
m('n', 'j', "v:count == 0 ? 'gj' : 'j'", { desc = 'Move down', noremap = true, expr = true })
|
||||
|
||||
Reference in New Issue
Block a user