-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
default key mapping has conflicts with NERDCommenter #18
Labels
bug
Something isn't working
Comments
Yes. I will update that. |
vim.g.onedark_disable_toggle_style = 1
vim.api.nvim_set_keymap('n', '<leader>cs', "<cmd>lua require('onedark').toggle()<cr>", { noremap = true, silent = true }) Change |
Cool, but can it be done in VimScript? |
let g:onedark_disable_toggle_style = 1
nnoremap <silent> <leader>cs <cmd>lua require('onedark').toggle()<cr> |
@changyiyao now let g:onedark_toggle_style_keymap = 'gC' " put your keymap here I think this issue can be closed now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/preservim/nerdcommenter also map cs that already been used for a long time.
Request for customizing the key binding or change the default key binding for switching color schemes.
Thanks.
The text was updated successfully, but these errors were encountered: