Compare commits

...

3 Commits

Author SHA1 Message Date
Jean-Claude 80e148cd33
Remove neoscroll config
Not needed as default options are good now
2023-12-05 15:22:35 +01:00
Jean-Claude 43b1df0a50
Update semester 2023-12-02 23:09:43 +01:00
Jean-Claude c0a3bd7dcc
Only start X11 for virtual desktop 1 2023-12-02 23:08:08 +01:00
4 changed files with 6 additions and 18 deletions

View File

@ -145,10 +145,11 @@ packer.startup(function(use)
end,
})
-- Smooth Scroll
use({
"karb94/neoscroll.nvim",
config = function()
require("user.plugins.neoscroll")
require("neoscroll").setup()
end,
})

View File

@ -1,15 +0,0 @@
require("neoscroll").setup({
hide_cursor = true,
})
require("neoscroll.config").set_mappings({
["<C-u>"] = { "scroll", { "-vim.wo.scroll", "true", "200" } },
["<C-d>"] = { "scroll", { "vim.wo.scroll", "true", "200" } },
["<C-b>"] = { "scroll", { "-vim.api.nvim_win_get_height(0)", "true", "350" } },
["<C-f>"] = { "scroll", { "vim.api.nvim_win_get_height(0)", "true", "350" } },
["<C-y>"] = { "scroll", { "-0.10", "false", "100" } },
["<C-e>"] = { "scroll", { "0.10", "false", "100 " } },
["zt"] = { "zt", { "150" } },
["zz"] = { "zz", { "150" } },
["zb"] = { "zb", { "150" } },
})

View File

@ -1 +1,3 @@
startx "$HOME/.config/X11/xinitrc"
if [ "$XDG_VTNR" -eq 1 ]; then
exec startx "$HOME/.config/X11/xinitrc"
fi

View File

@ -33,7 +33,7 @@ export QT_SELECT="6"
# Custom Export
export DOTFILES=~/Dotfiles
export eth=~/Documents/Studies/Eth/Semester8
export eth=~/Documents/Studies/Eth/Semester9
export TERM=xterm-color