[nvim] some stuff including clipboard stuff

This commit is contained in:
Afonso Franco 2024-11-28 18:32:53 +00:00
parent 0bfbc0a201
commit c4ab75c313
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54
5 changed files with 81 additions and 34 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",