From dbc4979ebd7497cb75ea5c37495c0b8da94fb4aa Mon Sep 17 00:00:00 2001 From: Akianonymus Date: Sat, 17 Jul 2021 14:34:36 +0530 Subject: [PATCH] Go to next/previous line with h,l,left and right --- lua/options.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/options.lua b/lua/options.lua index caed235..cd53fb9 100644 --- a/lua/options.lua +++ b/lua/options.lua @@ -31,6 +31,10 @@ opt.expandtab = true opt.shiftwidth = 2 opt.smartindent = true +-- go to previous/next line with h,l,left arrow and right arrow +-- when cursor reaches end/beginning of line +opt.whichwrap:append("<>hl") + g.mapleader = " " g.auto_save = false