keymap
remove double ] cursorcolumn scrolloff
This commit is contained in:
parent
53b225e31f
commit
3a67710814
@ -1,6 +1,5 @@
|
|||||||
vim.opt.langmap = "+]ü["
|
vim.opt.langmap = "+]ü["
|
||||||
vim.keymap.set("n", "ü", "[", {remap=true})
|
vim.keymap.set("n", "ü", "[", {remap=true})
|
||||||
vim.keymap.set("n", "Ü", "]", {remap=true})
|
|
||||||
|
|
||||||
vim.opt.expandtab = true
|
vim.opt.expandtab = true
|
||||||
vim.opt.shiftwidth = 4
|
vim.opt.shiftwidth = 4
|
||||||
@ -68,10 +67,10 @@ vim.opt.inccommand = 'split'
|
|||||||
|
|
||||||
-- Show which line your cursor is on
|
-- Show which line your cursor is on
|
||||||
vim.opt.cursorline = true
|
vim.opt.cursorline = true
|
||||||
vim.opt.cursorcolumn = true
|
vim.opt.cursorcolumn = false
|
||||||
|
|
||||||
-- Minimal number of screen lines to keep above and below the cursor.
|
-- Minimal number of screen lines to keep above and below the cursor.
|
||||||
vim.opt.scrolloff = 35
|
vim.opt.scrolloff = 20
|
||||||
|
|
||||||
-- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`),
|
-- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`),
|
||||||
-- instead raise a dialog asking if you wish to save the current file(s)
|
-- instead raise a dialog asking if you wish to save the current file(s)
|
||||||
|
Loading…
Reference in New Issue
Block a user