Added explicit option "both" for vim cursorlineopts
This commit is contained in:
parent
eb6349e63c
commit
64bf4f0db8
3 changed files with 13 additions and 47 deletions
|
|
@ -1,5 +1,5 @@
|
|||
-- Change the :Explore option to show in a tree styled format
|
||||
vim.cmd 'let g:netrw_liststyle = 3'
|
||||
vim.cmd("let g:netrw_liststyle = 3")
|
||||
|
||||
-- [[ Setting options ]]
|
||||
-- See `:help vim.opt`
|
||||
|
|
@ -13,7 +13,7 @@ vim.opt.number = true
|
|||
vim.opt.relativenumber = true
|
||||
|
||||
-- Enable mouse mode, can be useful for resizing splits for example!
|
||||
vim.opt.mouse = 'a'
|
||||
vim.opt.mouse = "a"
|
||||
|
||||
-- Don't show the mode, since it's already in the status line
|
||||
vim.opt.showmode = false
|
||||
|
|
@ -23,7 +23,7 @@ vim.opt.showmode = false
|
|||
-- Remove this option if you want your OS clipboard to remain independent.
|
||||
-- See `:help 'clipboard'`
|
||||
vim.schedule(function()
|
||||
vim.opt.clipboard = 'unnamedplus'
|
||||
vim.opt.clipboard = "unnamedplus"
|
||||
end)
|
||||
|
||||
-- Save undo history
|
||||
|
|
@ -34,7 +34,7 @@ vim.opt.ignorecase = true
|
|||
vim.opt.smartcase = true -- Really smart 😎
|
||||
|
||||
-- Keep signcolumn on by default
|
||||
vim.opt.signcolumn = 'yes'
|
||||
vim.opt.signcolumn = "yes"
|
||||
|
||||
-- Decrease update time
|
||||
vim.opt.updatetime = 250
|
||||
|
|
@ -52,19 +52,20 @@ vim.opt.splitbelow = true
|
|||
-- and `:help 'listchars'`
|
||||
vim.opt.list = true
|
||||
-- vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
|
||||
vim.opt.listchars = { tab = ' ', trail = '·', nbsp = '␣' }
|
||||
vim.opt.listchars = { tab = " ", trail = "·", nbsp = "␣" }
|
||||
|
||||
-- Preview substitutions live, as you type!
|
||||
vim.opt.inccommand = 'split'
|
||||
vim.opt.inccommand = "split"
|
||||
|
||||
-- Show which line your cursor is on
|
||||
vim.opt.cursorline = true
|
||||
vim.opt.cursorlineopt = "both"
|
||||
|
||||
-- Minimal number of screen lines to keep above and below the cursor.
|
||||
vim.opt.scrolloff = 10
|
||||
|
||||
-- Allow backspace on indent, end of line or insert mode start position
|
||||
vim.opt.backspace = 'indent,eol,start'
|
||||
vim.opt.backspace = "indent,eol,start"
|
||||
|
||||
-- Enable break indent
|
||||
vim.opt.breakindent = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue