File tree 1 file changed +12
-7
lines changed
1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -77,13 +77,18 @@ Give your right-pinky a workout and install `cursor-text-objects.nvim` today!
77
77
{
78
78
" ColinKennedy/cursor-text-objects.nvim" ,
79
79
config = function ()
80
- local down_description = " Operate from your current cursor to the end of some text-object."
81
- local up_description = " Operate from the start of some text-object to your current cursor."
82
-
83
- vim .keymap .set (" o" , " [" , " <Plug>(cursor-text-objects-up)" , { desc = up_description })
84
- vim .keymap .set (" o" , " ]" , " <Plug>(cursor-text-objects-down)" , { desc = down_description })
85
- vim .keymap .set (" x" , " [" , " <Plug>(cursor-text-objects-up)" , { desc = up_description })
86
- vim .keymap .set (" x" , " ]" , " <Plug>(cursor-text-objects-down)" , { desc = down_description })
80
+ vim .keymap .set (
81
+ {" o" , " x" },
82
+ " [" ,
83
+ " <Plug>(cursor-text-objects-up)" ,
84
+ { desc = " Run from your current cursor to the end of the text-object." }
85
+ )
86
+ vim .keymap .set (
87
+ {" o" , " x" },
88
+ " ]" ,
89
+ " <Plug>(cursor-text-objects-down)" ,
90
+ { desc = " Run from your current cursor to the end of the text-object." }
91
+ )
87
92
end ,
88
93
version = " v1.*" ,
89
94
}
You can’t perform that action at this time.
0 commit comments