From 5c4762c2a84a2ece862bff91a70ffcaa1863fb4b Mon Sep 17 00:00:00 2001 From: Kevin James Lausen Date: Fri, 3 Jun 2022 22:21:14 -0400 Subject: [PATCH] Added Copy-mode, for copying from a buffer. --- lua/user/keymaps.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua index 827fdff..838e6c6 100644 --- a/lua/user/keymaps.lua +++ b/lua/user/keymaps.lua @@ -97,6 +97,11 @@ keymap("i", "jk", "", opts) -- "########################################################################## keymap("n", "nl", ":set nolist", opts) +-- "############################################################################## +-- "# cm == copy-mode. disables special characters($) and relative-line-numbers. # +-- "############################################################################## + keymap("n", "cm", ":set nolist :set nornu :set nonu :set paste ", opts) + -- Terminal -- -- Better terminal navigation... ??? -- This is the ONLY block I am not sure if I want to include in my config,