mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 05:51:06 +00:00
Merge 35f9ac3316 into 459a4c3b10
This commit is contained in:
commit
75c8041b08
2 changed files with 3 additions and 3 deletions
|
|
@ -92,7 +92,7 @@ opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize", "help", "glob
|
||||||
opt.shiftround = true -- Round indent
|
opt.shiftround = true -- Round indent
|
||||||
opt.shiftwidth = 2 -- Size of an indent
|
opt.shiftwidth = 2 -- Size of an indent
|
||||||
opt.shortmess:append({ W = true, I = true, c = true, C = true })
|
opt.shortmess:append({ W = true, I = true, c = true, C = true })
|
||||||
opt.showmode = false -- Dont show mode since we have a statusline
|
opt.showmode = false -- Don't show mode since we have a statusline
|
||||||
opt.sidescrolloff = 8 -- Columns of context
|
opt.sidescrolloff = 8 -- Columns of context
|
||||||
opt.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift the text each time
|
opt.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift the text each time
|
||||||
opt.smartcase = true -- Don't ignore case with capitals
|
opt.smartcase = true -- Don't ignore case with capitals
|
||||||
|
|
|
||||||
|
|
@ -78,13 +78,13 @@ return {
|
||||||
{ "n", "x" },
|
{ "n", "x" },
|
||||||
"[c",
|
"[c",
|
||||||
"<CMD>call search('^; -\\+$', 'bw')<CR>",
|
"<CMD>call search('^; -\\+$', 'bw')<CR>",
|
||||||
{ silent = true, buffer = true, desc = "Jumps to the begining of previous evaluation output." }
|
{ silent = true, buffer = true, desc = "Jumps to the beginning of previous evaluation output." }
|
||||||
)
|
)
|
||||||
vim.keymap.set(
|
vim.keymap.set(
|
||||||
{ "n", "x" },
|
{ "n", "x" },
|
||||||
"]c",
|
"]c",
|
||||||
"<CMD>call search('^; -\\+$', 'w')<CR>",
|
"<CMD>call search('^; -\\+$', 'w')<CR>",
|
||||||
{ silent = true, buffer = true, desc = "Jumps to the begining of next evaluation output." }
|
{ silent = true, buffer = true, desc = "Jumps to the beginning of next evaluation output." }
|
||||||
)
|
)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue