From 89e63b3f21e9171ea0a65a1ad666d63b1208b05a Mon Sep 17 00:00:00 2001 From: Kevin James Lausen Date: Sat, 4 Jun 2022 00:28:20 -0400 Subject: [PATCH] Added spelling L-bindings & tweaked C-mode, b/c setting paste was a waste. --- lua/user/keymaps.lua | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua index b38ae31..b39c64f 100644 --- a/lua/user/keymaps.lua +++ b/lua/user/keymaps.lua @@ -100,13 +100,20 @@ keymap("i", "jk", "", opts) -- "############################################################################## -- "# cm == copy-mode. disables special characters($) and relative-line-numbers. # -- "############################################################################## - keymap("n", "cm", ":set nolist :set nornu :set nonu :set paste ", opts) + keymap("n", "cm", ":set nolist :set nornu :set nonu ", opts) -- "################################################# -- "# I'm mapping vc to reload the .vimrc, # -- "# without closing and re-opening he vim config. # -- "################################################# - keymap("n", "vc", ":source ~/.config/nvim/init.lua :nohl ", opts) +-- keymap("n", "vc", ":source ~/.config/nvim/init.lua :nohl ", opts) +-- TODO attempt to put this in vim.cmd later. + +-- "############################################################# +-- "# Spell check set to sc(Spell-Check)/es(Switch 2 ESpaƱol.). # +-- "############################################################# + keymap("n", "sc", ":setlocal spell! spelllang=en_us", opts) + keymap("n", "es", ":set spelllang=es", opts) -- Terminal -- -- Better terminal navigation... ???