no more animate
This commit is contained in:
parent
46958142ff
commit
57decb1037
1 changed files with 16 additions and 12 deletions
|
@ -16,16 +16,20 @@ local function map(mode, lhs, rhs, opts)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
map(
|
vim.keymap.set("n", "<C-d>", "<C-d>zz", { desc = "Center cursor after moving down half-page" })
|
||||||
"n",
|
vim.keymap.set("n", "<C-u>", "<C-u>zz", { desc = "Center cursor after moving up half-page" })
|
||||||
"<C-u>",
|
|
||||||
"<Cmd>lua vim.cmd('normal! <C-u>'); MiniAnimate.execute_after('scroll', 'normal! zz')<CR>",
|
-- map(
|
||||||
{ desc = "Centered Half Page Up", remap = true }
|
-- "n",
|
||||||
)
|
-- "<C-u>",
|
||||||
map(
|
-- "<Cmd>lua vim.cmd('normal! <C-u>'); MiniAnimate.execute_after('scroll', 'normal! zz')<CR>",
|
||||||
"n",
|
-- { desc = "Centered Half Page Up", remap = true }
|
||||||
"<C-d>",
|
-- )
|
||||||
"<Cmd>lua vim.cmd('normal! <C-d>'); MiniAnimate.execute_after('scroll', 'normal! zz')<CR>",
|
-- map(
|
||||||
{ desc = "Centered Half Page Down", remap = true }
|
-- "n",
|
||||||
)
|
-- "<C-d>",
|
||||||
|
-- "<Cmd>lua vim.cmd('normal! <C-d>'); MiniAnimate.execute_after('scroll', 'normal! zz')<CR>",
|
||||||
|
-- { desc = "Centered Half Page Down", remap = true }
|
||||||
|
-- )
|
||||||
|
|
||||||
map("n", "<leader>u<Tab>", ":set list!<CR>", { desc = "Toggle list (Whitespace display)", remap = true })
|
map("n", "<leader>u<Tab>", ":set list!<CR>", { desc = "Toggle list (Whitespace display)", remap = true })
|
||||||
|
|
Loading…
Reference in a new issue