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