Any idea why this is not working? #218
Answered
by
IzhakJakov
IzhakJakov
asked this question in
Q&A
|
I am trying to use use {
'numToStr/Comment.nvim',
config = function()
require('Comment').setup({
padding = true,
sticky = true,
ignore = nil,
toggler = {
line = '<C-_>',
block = '<C-\\>'
},
opleader = {
line = '<C-_>',
block = '<C-\\>'
},
extra = {
above = nil,
below = nil,
eol = nil
},
mappings = {
basic = true,
extra = true,
extended = false,
},
pre_hook = nil,
post_hook = nil,
})
endHowever this is not working. Any idea why? |
Answered by
IzhakJakov
Aug 24, 2022
Replies: 4 comments 8 replies
|
You can't use same keys for |
3 replies
|
I see but then how come use {
'numToStr/Comment.nvim',
config = function()
require('Comment').setup({
padding = true,
sticky = true,
ignore = nil,
toggler = {
line = '<C-j>',
block = '<C-k>',
},
opleader = {
line = '<C-_s',
block = '<C-a>',
},
extra = {
above = nil,
below = nil,
eol = nil,
},
mappings = {
basic = true,
extra = true,
extended = false,
},
pre_hook = nil,
post_hook = nil,
})
endIs not working? |
3 replies
|
Following works for me though require('Comment').setup({
toggler = {
line = '<C-j>',
block = '<C-k>',
},
opleader = {
line = '<C-s>',
block = '<C-a>',
},
}) |
1 reply
|
Working for me now. The problem was that I needed to exist VIM before PackerSync |
1 reply
Answer selected by
IzhakJakov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Working for me now. The problem was that I needed to exist VIM before PackerSync
I kept reopening VIM but PackerSync was in the old window