diff options
author | rob <[email protected]> | 2021-07-11 09:00:15 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-11 12:30:15 +0430 |
commit | f2e4f540a3d4b88a751d6b8a2ab8da9407e73e2b (patch) | |
tree | 20870aa40863217241db3fa21925a8e02151104e /lua/settings.lua | |
parent | 38d118d9b2ad409da8c1b6162b514637b4f24ca7 (diff) |
Line wrap cursor movement option (#855)
Diffstat (limited to 'lua/settings.lua')
-rw-r--r-- | lua/settings.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lua/settings.lua b/lua/settings.lua index 756e7746..b146a50d 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -9,7 +9,11 @@ cmd "filetype plugin on" cmd('let &titleold="' .. TERMINAL .. '"') cmd "set inccommand=split" cmd "set iskeyword+=-" -cmd "set whichwrap+=<,>,[,],h,l" + +if O.line_wrap_cursor_movement then + cmd "set whichwrap+=<,>,[,],h,l" +end + if O.transparent_window then cmd "au ColorScheme * hi Normal ctermbg=none guibg=none" cmd "au ColorScheme * hi SignColumn ctermbg=none guibg=none" |