Sourcing .cvimrc
I have created a very simple ~/.cvimrc configuration:
let configpath = '/home/dagrevis/.cvimrc'
set localconfig
" Does not work until manually executed in brower.
set smoothscroll
" This, however, works fine.
map <C-d> d
map <C-u> e
" Also has to be manually executed.
unmap J K
map J gt
map K gT
When I start the browser, <C-d> and <C-u> are remapped as expected. This means that the file has been loaded and executed. However, smoothscroll is not enabled. Also mappings J and K are not remapped. They work as by default.
When I execute mappings in the browser, they work. I can type :map J gt and it will create a working mapping. This could mean that there's something wrong with sourcing ~/.cvimrc. My guess is that default configuration is executed after my configuration.
When I run :source /home/dagrevis/.cvimrc from the browser, things start to work.
Hi @daGrevis, take a look at https://github.com/1995eaton/chromium-vim/issues/312#issuecomment-624797334