diff --git a/home/dot_config/nvim/init.lua b/home/dot_config/nvim/init.lua index 390a09f..e97027b 100644 --- a/home/dot_config/nvim/init.lua +++ b/home/dot_config/nvim/init.lua @@ -61,9 +61,8 @@ vim.o.splitbelow = true -- Use treesitter for folding vim.wo.foldmethod = 'expr' vim.wo.foldexpr = 'v:lua.vim.treesitter.foldexpr()' -vim.opt.foldtext = '' -vim.o.foldlevelstart = 2 -vim.o.foldnestmax = 4 +vim.o.foldlevelstart = 6 +vim.o.foldnestmax = 5 -- WHitespace vim.o.expandtab = true @@ -89,10 +88,7 @@ vim.o.inccommand = 'split' vim.o.cursorline = true -- Minimal number of screen lines to keep above and below the cursor. -vim.o.scrolloff = 7 - --- Increase amount of scrolling the mouse does -vim.o.mousescroll = 'ver:2,hor:2' +vim.o.scrolloff = 10 -- 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) diff --git a/home/dot_config/nvim/lua/custom/plugins/animate.lua b/home/dot_config/nvim/lua/custom/plugins/animate.lua index 9f7adcf..0732304 100644 --- a/home/dot_config/nvim/lua/custom/plugins/animate.lua +++ b/home/dot_config/nvim/lua/custom/plugins/animate.lua @@ -1,6 +1,6 @@ return { { 'echasnovski/mini.animate', - opts = { scroll = { timing = require('mini.animate').gen_timing.quadratic { duration = 10, unit = 'step' } } }, + opts = {}, }, } diff --git a/home/dot_config/sway/config.d/bindings b/home/dot_config/sway/config.d/bindings index 4a940fa..e49d34d 100644 --- a/home/dot_config/sway/config.d/bindings +++ b/home/dot_config/sway/config.d/bindings @@ -175,6 +175,3 @@ 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