add smear cursor and add keymap for term

This commit is contained in:
alice-vu-163 2025-05-06 17:33:44 +07:00
parent b2fd5f73e2
commit 88482d9279
2 changed files with 15 additions and 0 deletions

View File

@ -30,6 +30,7 @@ vim.keymap.set('n', 'T', function()
hidden = true, -- ensures it doesn't persist visually
}
float_term:toggle()
require('toggleterm').toggle_all()
end, { desc = 'Toggle Floating Terminal' })
vim.keymap.set('n', '<leader>bd', function()

View File

@ -3,6 +3,20 @@
--
-- See the kickstart.nvim README for more information
return {
{
'sphamba/smear-cursor.nvim',
event = 'VeryLazy',
config = function()
require('smear_cursor').setup {
cursor_color = '#ff8800',
stiffness = 1,
trailing_stiffness = 0.35,
trailing_exponent = 15,
hide_target_hack = false,
gamma = 1,
}
end,
},
{
'akinsho/toggleterm.nvim',
version = '*',