Skip to content

Commit 7a148a5

Browse files
committed
fix: toggleterm.nvim is too lazy
1 parent ccf1d07 commit 7a148a5

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

lua/custom/plugins/editor.lua

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
return {
22
'tpope/vim-repeat',
33
'airblade/vim-rooter',
4+
'sitiom/nvim-numbertoggle',
45
{
56
'declancm/maximize.nvim',
67
opts = {},
@@ -36,23 +37,19 @@ return {
3637
{
3738
'max397574/better-escape.nvim',
3839
event = 'InsertEnter',
39-
config = function()
40-
require('better_escape').setup {
41-
mappings = {
42-
t = { j = { false } }, -- lazygit navigation fix
43-
v = { j = { false } }, -- visual select fix
44-
},
45-
}
46-
end,
40+
opts = {
41+
mappings = {
42+
t = { j = { false } }, -- lazygit navigation fix
43+
v = { j = { false } }, -- visual select fix
44+
},
45+
},
4746
},
4847
{
4948
'nativerv/cyrillic.nvim',
5049
event = { 'VeryLazy' },
51-
config = function()
52-
require('cyrillic').setup {
53-
no_cyrillic_abbrev = false, -- default
54-
}
55-
end,
50+
opts = {
51+
no_cyrillic_abbrev = false, -- default
52+
},
5653
},
5754
{
5855
'brenoprata10/nvim-highlight-colors',
@@ -77,7 +74,6 @@ return {
7774
},
7875
{
7976
'akinsho/toggleterm.nvim',
80-
keys = { 'F7' },
8177
opts = {
8278
size = 10,
8379
open_mapping = [[<F7>]],

0 commit comments

Comments
 (0)