mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-20 02:34:36 +02:00
Line wrap cursor movement option (#855)
This commit is contained in:
parent
38d118d9b2
commit
f2e4f540a3
2 changed files with 6 additions and 1 deletions
|
@ -7,6 +7,7 @@ USER = vim.fn.expand "$USER"
|
|||
O = {
|
||||
leader_key = "space",
|
||||
colorscheme = "spacegray",
|
||||
line_wrap_cursor_movement = true,
|
||||
transparent_window = false,
|
||||
format_on_save = true,
|
||||
vnsip_dir = vim.fn.stdpath "config" .. "/snippets",
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue