Closed goolzerg closed 2 years ago
If the cc
map isn't working, then the first thing to check is whether nmap cc
shows that the map is defined.
I have the same problem and the keymapp cc
is set as
Check :verbose set timeout? timeoutlen? ttimeout? ttimeoutlen?
wow thanks! that worked perfectly.
I had the same issue and failed to understand what the timeouts were for. With the timeouts I had I just needed to press cc quite fast for it to work. Otherwise I was getting
E21: Cannot make changes, 'modifiable' is off
My settings were
n cc &@:<C-U>Git commit<CR>
Check
:verbose set timeout? timeoutlen? ttimeout? ttimeoutlen?
timeout
timeoutlen=100
Last set from Lua (run Nvim with -V1 for more details)
ttimeout
ttimeoutlen=50
timeoutlen=100
is still very low. The default is timeoutlen=1000
.
Problem description
When I try to make a commit with 'cc' key in vim fugitive I always get an error: "Cannot make changes, 'modifable' is off"
Steps to reproduce:
I already tried to enable modifiable inside config but no result.
Here is my config file:
LunarVim version
2fa176f
Neovim version (>= 0.6.1)
NVIM v0.6.1 Build type: Release LuaJIT 2.1.0-beta3
Operating system/version
Linux 5.13.0-27-generic #29~20.04.1-Ubuntu 2022 x86_64
Relevant log output