Bump animation slightly
This commit is contained in:
parent
29b0c1290a
commit
8c6f94077b
2 changed files with 8 additions and 4 deletions
|
|
@ -61,8 +61,9 @@ vim.o.splitbelow = true
|
||||||
-- Use treesitter for folding
|
-- Use treesitter for folding
|
||||||
vim.wo.foldmethod = 'expr'
|
vim.wo.foldmethod = 'expr'
|
||||||
vim.wo.foldexpr = 'v:lua.vim.treesitter.foldexpr()'
|
vim.wo.foldexpr = 'v:lua.vim.treesitter.foldexpr()'
|
||||||
vim.o.foldlevelstart = 6
|
vim.opt.foldtext = ''
|
||||||
vim.o.foldnestmax = 5
|
vim.o.foldlevelstart = 2
|
||||||
|
vim.o.foldnestmax = 4
|
||||||
|
|
||||||
-- WHitespace
|
-- WHitespace
|
||||||
vim.o.expandtab = true
|
vim.o.expandtab = true
|
||||||
|
|
@ -88,7 +89,10 @@ vim.o.inccommand = 'split'
|
||||||
vim.o.cursorline = true
|
vim.o.cursorline = true
|
||||||
|
|
||||||
-- 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.o.scrolloff = 10
|
vim.o.scrolloff = 7
|
||||||
|
|
||||||
|
-- Increase amount of scrolling the mouse does
|
||||||
|
vim.o.mousescroll = 'ver:2,hor:2'
|
||||||
|
|
||||||
-- 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)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
'echasnovski/mini.animate',
|
'echasnovski/mini.animate',
|
||||||
opts = {},
|
opts = { scroll = { timing = require('mini.animate').gen_timing.quadratic { duration = 10, unit = 'step' } } },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue