Compare commits

..

2 commits

3 changed files with 11 additions and 4 deletions

View file

@ -61,8 +61,9 @@ vim.o.splitbelow = true
-- Use treesitter for folding
vim.wo.foldmethod = 'expr'
vim.wo.foldexpr = 'v:lua.vim.treesitter.foldexpr()'
vim.o.foldlevelstart = 6
vim.o.foldnestmax = 5
vim.opt.foldtext = ''
vim.o.foldlevelstart = 2
vim.o.foldnestmax = 4
-- WHitespace
vim.o.expandtab = true
@ -88,7 +89,10 @@ vim.o.inccommand = 'split'
vim.o.cursorline = true
-- 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`),
-- instead raise a dialog asking if you wish to save the current file(s)

View file

@ -1,6 +1,6 @@
return {
{
'echasnovski/mini.animate',
opts = {},
opts = { scroll = { timing = require('mini.animate').gen_timing.quadratic { duration = 10, unit = 'step' } } },
},
}

View file

@ -175,3 +175,6 @@ bindsym $mod+Alt+q exec swaymsg input type:keyboard xkb_variant '""' && notify-
bindsym $mod+Alt+u exec rofimoji --files latin-1_supplement emojis --action type
bindsym Print exec grim -g "$(slurp)" - | wl-copy
bindsym $mod+Print exec grim - | wl-copy