You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.2 KiB
37 lines
1.2 KiB
return {
|
|
--------------------------------------------------------------------------------
|
|
-- Editing
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
----------------------------------------------------------------------------
|
|
-- Toggle comments
|
|
--
|
|
-- Allow toggling comments on lines or blocks of lines in visual mode.
|
|
--
|
|
{
|
|
name = 'tpope/vim-commentary'
|
|
},
|
|
|
|
----------------------------------------------------------------------------
|
|
-- Lightspeed - quick motions... or something, it's some big brain shit
|
|
--
|
|
{
|
|
name = 'ggandor/lightspeed.nvim',
|
|
config = { branch = 'main' },
|
|
keys = {
|
|
{ mode = 'n', key = { 's' }, virtual = true, label = "smart jump forward" },
|
|
{ mode = 'n', key = { 'S' }, virtual = true, label = "smart jump backward" },
|
|
}
|
|
},
|
|
|
|
----------------------------------------------------------------------------
|
|
-- Preview line number jump
|
|
--
|
|
-- This will cause vim to temporarily scroll to the line number you're
|
|
-- entering when doing `:123`. When you press enter the cursor move will be
|
|
-- committed, but you can press <escape> to cancel and return to where you
|
|
-- were.
|
|
--
|
|
{ name = 'nacro90/numb.nvim' },
|
|
}
|
|
|