chore(nvim): some stuff including clipboard stuff

This commit is contained in:
Afonso Franco 2024-11-28 18:32:53 +00:00
parent a7432829e5
commit 97cde4780d
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4
4 changed files with 68 additions and 23 deletions

View file

@ -1,4 +1,5 @@
return {
{
"vimpostor/vim-tpipeline",
config = function()
@ -73,6 +74,23 @@ return {
-- }
-- }
-- },
{
"karb94/neoscroll.nvim",
config = function()
local neoscroll = require('neoscroll')
neoscroll.setup({
hide_cursor = false,
})
local keymap = {
["<C-u>"] = function() neoscroll.ctrl_u({ duration = 150 }) end,
["<C-d>"] = function() neoscroll.ctrl_d({ duration = 150 }) end,
}
local modes = { 'n', 'v', 'x' }
for key, func in pairs(keymap) do
vim.keymap.set(modes, key, func)
end
end
},
{
"folke/zen-mode.nvim",
event = "VeryLazy",