1995eaton / chromium-vim

Vim bindings for Google Chrome.
https://chrome.google.com/webstore/detail/cvim/ihlenndgcmojhcghmfjfneahoeklbjjh
MIT License
2.26k stars 325 forks source link

[BUG} Every update wipes my config #27

Closed zeltak closed 10 years ago

zeltak commented 10 years ago

Hya

seems like each update of cvim wipes my config options. also ive noticed there is a Sync cVimrc with GitHub Gist options which isnt editable, could that be the cause of the issue?

thx

Z

1995eaton commented 10 years ago

That's weird, I'm not having this issue. It could be a problem with a config value. Could you post your cVimrc so I can take a look?

The gist text box should be editable, it just has a placeholder value (enter some text and it should disappear).

hagabaka commented 10 years ago

I also have this problem where config gets emptied on update. The gist text box is editable, but this wasn't very clear to me at the beginning, because the placeholder value stays where even when you focus the text box, and it's only when you start typing that you notice that it's editable.

My old config was

set barposition = bottom
set noautofocus

I just noticed that I was supposed to use "let" instead of "set" (I thought using set worked earlier though), but when either way, when I reload the extension the config doesn't get empty now.

zeltak commented 10 years ago

Hya

here is my config (which is still very basic):

" "Ctrl + u " "Meta + u " "Alt + u

"general options

"Quick marks

let qmark a = ["http://www.reddit.com", "http://www.google.com", "http://twitter.com"]
let qmark x = :chrome://extensions

" Search engines let searchengine im = "http://www.imdb.com/find?q=%s&s=all"

" Mappings unmap a unmap s unmap d unmap x unmap H unmap h unmap L unmap l unmap d

map s nextTab map a previousTab map d closeTab map h goBack map l goForward map gb goToTab

map :set hud! map :set numerichints! map rootFrame map previousTab map scrollPageDown map scrollPageUp iunmap deleteWord imap deleteWord unmap X map X :execute gTx "Close the current tab and move to the one before it

thx

Z

1995eaton commented 10 years ago

@zeltak I just tried your config and updated the cVim version in the manifest file, and the configuration stayed. It might be an issue with the Chrome Store version of cVim, though. I'll probably push an update to the Store later today, so let me know if all goes well.

zeltak commented 10 years ago

Hya

i am closing this bug (if its ok with you) since latest updates dont wipe the config file anymore :)

best

Z