From c1fe9176c0c9609c7d76d1c014e48f58dcb65b38 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Sat, 10 Sep 2022 12:40:08 +0200 Subject: Neovim wrap cursor at the end of line --- .config/nvim/lua/keybinds.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/nvim/lua/keybinds.lua b/.config/nvim/lua/keybinds.lua index 49ea2e3..c82587d 100644 --- a/.config/nvim/lua/keybinds.lua +++ b/.config/nvim/lua/keybinds.lua @@ -23,3 +23,5 @@ vim.keymap.set("n", "[", require("ufo").openAllFolds) vim.keymap.set("n", "]", require("ufo").closeAllFolds) vim.keymap.set("n", "r", require("renamer").rename) +vim.opt.whichwrap = "<,>,h,l,[,]" + -- cgit v1.2.3