chore(nvim): some stuff including clipboard stuff
This commit is contained in:
parent
a7432829e5
commit
97cde4780d
4 changed files with 68 additions and 23 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue