From 78d5e2082554d370f43216406f84872eaa2a4e5b Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Thu, 17 Oct 2024 22:46:39 -0500 Subject: remove zsh and nvim configs from this repo and move to another --- nvim/lua/tjk/keybindings.lua | 46 -------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 nvim/lua/tjk/keybindings.lua (limited to 'nvim/lua/tjk/keybindings.lua') diff --git a/nvim/lua/tjk/keybindings.lua b/nvim/lua/tjk/keybindings.lua deleted file mode 100644 index 563d843..0000000 --- a/nvim/lua/tjk/keybindings.lua +++ /dev/null @@ -1,46 +0,0 @@ -local key = vim.keymap.set - -vim.g.mapleader = "," - --- toggle spellcheck -key("n", "l", [[:setlocal spell! spelllang=en_us]]) --- toggle cursorcolumn -key("n", "c", [[:set cursorcolumn!]]) - --- scroll doc with ctrl+[jk] -key({ "n", "v" }, "", "") -key({ "n", "v" }, "", "") --- go to begining or end of line with ctrl+[hl] -key({ "n", "v" }, "", "zh") -key({ "n", "v" }, "", "zl") - --- split navigation with ctrl+shift+[hjkl] -key("n", "", "h") -key("n", "", "j") -key("n", "", "k") -key("n", "", "l") - --- browser like tab shortcuts -key("n", "", "gt") -key("n", "", "gT") ---key("n", "", [[:tabe]]) ---key("n", "", [[:tabclose]]) -- is already used lol --- additional tab shortcuts -key("n", "", "gt") -key("n", "", "gT") - - --- copy text to x11 buffer -key("", "", [["+y]]) -key("", "", [["+x]]) -key("", "", [["+y]]) -key("", "", [["+x]]) - --- unmap ex mode -key("", "Q", "") - --- repeat commands with visual blocks using period -key("v", ".", [[:normal .]]) - --- save files with root permissions with command `w!!` -key("c", "w!!", [[execute 'silent! write !doas tee % >/dev/null' edit!]]) -- cgit v1.2.3