From 858d83fc758edb9e1ce46c327487e080723f4afc Mon Sep 17 00:00:00 2001 From: Kevin James Lausen Date: Sat, 4 Jun 2022 01:36:52 -0400 Subject: [PATCH] Added L-binds, for listing: buffers, changes, jumps, marks, & registers. --- lua/user/keymaps.lua | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua index 6a656eb..d191db1 100644 --- a/lua/user/keymaps.lua +++ b/lua/user/keymaps.lua @@ -105,6 +105,21 @@ keymap("i", "jk", "", opts) -- "############################################################################## keymap("n", "cm", ":set nolist :set nornu :set nonu ", opts) +-- "############################################################# +-- "# 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) + +-- "######################################################################## +-- "# hotkey mappings for jumps, marks, buffer-LiSting, and changes lists. # +-- "######################################################################## + keymap("n", "mm", ":marks", opts) -- This will open up the Marks-list. + keymap("n", "jj", ":jumps", opts) -- This will open up the Jumps-list. + keymap("n", "ll", ":ls", opts) -- This opens up the buffers-list. + keymap("n", "cc", ":changes", opts) -- This will open up the Changes-list. + keymap("n", "rr", ":registers", opts) -- This will open up the Registers-list. + -- "################################################# -- "# I'm mapping vc to reload the .vimrc, # -- "# without closing and re-opening he vim config. # @@ -112,12 +127,6 @@ keymap("i", "jk", "", 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... ??? -- This is the ONLY block I am not sure if I want to include in my config,