]> git.madduck.net Git - etc/neovim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Remove invtoggle, which apparently is no longer needed
authormartin f. krafft <madduck@madduck.net>
Thu, 17 Apr 2025 06:30:48 +0000 (08:30 +0200)
committermartin f. krafft <madduck@madduck.net>
Thu, 17 Apr 2025 06:37:20 +0000 (08:37 +0200)
.config/nvim/keymaps.lua

index e91b170fc9fcb6ee7348e32fb597d4040e228bd8..c84f835d99737312b0f1e2f8b83b4b2a0eee2d5b 100644 (file)
@@ -1,15 +1,12 @@
 -- this isn't windows, screw the F1->help key
 vim.keymap.set({ "n", "v", "o", "i" }, "<F1>", "<Esc>")
 
--- toggle paste mode with F2
-vim.keymap.set({ "n", "v", "o", "i" }, "<F2>", "<cmd>set invpaste<CR>")
-
 -- clear highlights on search when pressing <Esc> in normal mode
 vim.keymap.set("n", "<Esc>", "<cmd>nohlsearch<CR>")
 
 -- loclist navigation
-vim.keymap.set({'n', 'v', 'i'}, '<C-k>', '<cmd>lprev<CR>')
-vim.keymap.set({'n', 'v', 'i'}, '<C-j>', '<cmd>lnext<CR>')
+vim.keymap.set({ "n", "v", "i" }, "<C-k>", "<cmd>lprev<CR>")
+vim.keymap.set({ "n", "v", "i" }, "<C-j>", "<cmd>lnext<CR>")
 
 -- Pop-up menu navigation with tab
 vim.keymap.set("i", "<Tab>", function()