<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[ViEmu Forums - Backspace in insert mode]]></title>
		<link>http://www.viemu.com/forum/viewtopic.php?id=74</link>
		<description><![CDATA[The most recent posts in Backspace in insert mode.]]></description>
		<lastBuildDate>Thu, 05 Oct 2006 17:27:01 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Backspace in insert mode]]></title>
			<link>http://www.viemu.com/forum/viewtopic.php?pid=361#p361</link>
			<description><![CDATA[<p>I followed up with E. Petrusic by e-mail and determined the cause. Here is a detailed description of the problem and a way to fix it. I hope to fix this reliably and release a new build shortly, but it should only cause trouble on a few machines and only depending on the circumstances in which ViEmu scanned the keybindings list for the first time.</p><p>Thanks,</p><p>&nbsp; Jon</p><p>----------------------------------<br />Hello Eric,</p><p>I have reviewed your log file &amp; viemu.vsk file in detail. Indeed, the vsk file doesn&#039;t store any keybindings - that&#039;s why backspace, etc... don&#039;t work on startup. An empty keybinding list is being loaded.</p><p>I could repro it by installing your ViEmu.vsk file in my machine.</p><p>The source of the problem seems to be that ViEmu is loaded at a very early stage in the startup process in your installation. I don&#039;t know the reason, and the startup sequence is undocumented, but I&#039;m looking for a reliable fix for this problem. Hopefully, I will be able to come up with one shortly.</p><p>But, anyway, this is only important the first time ViEmu scans the keybinding list in order to remove clashes - in the case of your setup, ViEmu scanned an empty list of keybindings (it hadn&#039;t been loaded yet), removed &amp; saved the clashing ones (that is, none), saved it as ViEmu.vsk, and set this scheme as default. No wonder there are no keybindings anymore on startup.</p><p>It is very annoying, but the solution is simple: reset everything and perform a rescan. Here are the steps again:</p><p>(1) Remove everything done by ViEmu automatically to date:</p><p>&nbsp; (1.1) Go to Tools|Options|ViEmu-&gt;Keyboard<br />&nbsp; (1.2) Click &quot;Restore&quot; under the left list (say yes to the MsgBox)<br />&nbsp; (1.3) Click &quot;Forget&quot; under the left list (say yes to the MsgBox)<br />&nbsp; (1.4) Go to Tools|Options|Keyboard<br />&nbsp; (1.5) Make sure that the current scheme is &quot;ViEmu&quot; (if not, select it <br />from the combo box)<br />&nbsp; (1.6) Click &quot;Delete&quot; to delete the ViEmu scheme<br />&nbsp; (1.7) Select your prefered &quot;base&quot; scheme from the list<br />&nbsp; (1.8) Click &#039;Ok&#039;</p><p>Now, everything should be clean again. Let&#039;s make ViEmu rescan the <br />keyboard and remove &amp; save the clashing keybindings:</p><p>&nbsp; (2.1) Go to Tools|Options|ViEmu-&gt;Keyboard<br />&nbsp; (2.2) Make sure the list of keys to scan for clashes is to your taste:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;Default&quot; doesn&#039;t remove Ctrl-V/Ctrl-C for Copy/Paste, &quot;All&quot; <br />removes those too - click on the desired button<br />&nbsp; (2.3) Click on &quot;Save and remove&quot;</p><p>Now, the left list should be populated with the removed bindings, and <br />the right list should be empty. Everything should be fine.</p><p>I apologize for the problems. This only happens on a few machines, and I hope to find a reliable solution and release a new build shortly. But, anyway, you shouldn&#039;t have any more problems with it after doing the above steps.</p><p>Please get in touch with me if something doesn&#039;t work as expected or if I can be of help in any way.</p><p>Best regards and thanks for your patience,</p><p>&nbsp; Jon</p>]]></description>
			<author><![CDATA[dummy@example.com (Jon_Symnum)]]></author>
			<pubDate>Thu, 05 Oct 2006 17:27:01 +0000</pubDate>
			<guid>http://www.viemu.com/forum/viewtopic.php?pid=361#p361</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backspace in insert mode]]></title>
			<link>http://www.viemu.com/forum/viewtopic.php?pid=349#p349</link>
			<description><![CDATA[<p>Eric,</p><p>Is the misbehavior happening every time you start up Visual Studio? Or, is there any way to cause it to repeat?</p><p>If so, I would like to send you an instrumented build to help determine what is happening.</p><p>Thanks,</p><p>&nbsp; Jon</p>]]></description>
			<author><![CDATA[dummy@example.com (Jon_Symnum)]]></author>
			<pubDate>Wed, 04 Oct 2006 10:48:40 +0000</pubDate>
			<guid>http://www.viemu.com/forum/viewtopic.php?pid=349#p349</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backspace in insert mode]]></title>
			<link>http://www.viemu.com/forum/viewtopic.php?pid=317#p317</link>
			<description><![CDATA[<p>Eric,</p><p>Thanks a lot for the detailed feedback. Indeed, it&#039;s useful, and I need to have a detailed look at this as soon as I can. It&#039;s causing trouble at several customer&#039;s installation.</p><p>Keybindings are a pretty dark corner of Visual Studio - some keybindings are configurable, while others are set by the system at an undefined stage during VS startup (for example, the basic editing ones - Left, Right, Up, Down, etc...). Possibly, ViEmu is doing its thing at an inappropriate moment in time.</p><p>I&#039;d like to fix this for the time being, and I plan to implement a completely different keybinding handling for a future versions, which won&#039;t require messing with Visual Studio&#039;s keybinding table. It will be the only way to get a 100% rock solid solution.</p><p>I&#039;ll post about the solution as soon as I can properly investigate it.</p><p>Thanks and best regards,</p><p>&nbsp; Jon</p>]]></description>
			<author><![CDATA[dummy@example.com (Jon_Symnum)]]></author>
			<pubDate>Fri, 29 Sep 2006 17:05:00 +0000</pubDate>
			<guid>http://www.viemu.com/forum/viewtopic.php?pid=317#p317</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backspace in insert mode]]></title>
			<link>http://www.viemu.com/forum/viewtopic.php?pid=316#p316</link>
			<description><![CDATA[<p>Actually, I&#039;m running into this problem as well.</p><p>I just installed ViEmu 2.0 into two different copies of VS -- one copy where I previously had some 1.4.X installed and another one completely fresh.&nbsp; I have the default ViEmu keyboard mapping scheme selected, with no modifications to saved keybindings or anything.&nbsp; When I first start up VS, I run into this same problem with backspace not working in insert mode, and I&#039;ve noticed a second one as well -- the CTRL-Tab that switches between files is also nonfunctional.&nbsp; I haven&#039;t yet noticed anything else that&#039;s not working, but I also haven&#039;t done a lot of development in VS lately, so there could be others.</p><p>I have discovered a workaround -- if I deactivate the ViEmu keybaord mapping by returning it to Default Settings, and then re-activate the ViEmu keyboard mapping, then everything works fine.&nbsp; It&#039;s mild annoyance, not too bad for the time being, but it strikes me as odd that that would fix it.</p><p>Perhaps of use to J is that when I first startup, the list of &#039;Current clashing keybindings&#039; is empty, but after I do the unload/reload thing, the list shows the following:</p><p>File.OpenFile=Global::Ctrl+O<br />Edit.GoToFindCombo=Global::Ctrl+D<br />Debug.NewBreakpoint=Global::Ctrl+B<br />Database.Run=Global::Ctrl+E<br />Database.RunSelection=Global::Ctrl+Q<br />File.NewFile=Global::Ctrl+N<br />File.Print=Global::Ctrl+P<br />Edit.Redo=Global::Ctrl+Y||Global::Shift+Alt+Bkspce||Global::Ctrl+Shift+Z<br />Edit.Find=Global::Ctrl+F<br />Edit.MakeLowercase=Text Editor::Ctrl+U<br />Edit.ViewWhiteSpace=Text Editor::Ctrl+R, Ctrl+W<br />Edit.ToggleWordWrap=Text Editor::Ctrl+R, Ctrl+R<br />Edit.IncrementalSearch=Text Editor::Ctrl+I</p><p>I notice that neither Backspace nor the CTRL-Tab combo is listed in there, but again it&#039;s odd that the behavior changes.&nbsp; Perhaps some problem with the initialization?</p><p>EDIT: After posting &amp; re-reading the thread, I decided to investigate the mapping for Edit.DeleteBackwards, and it is indeed blank on VS startup, and properly mapped to Backspace after the unload/reload.</p>]]></description>
			<author><![CDATA[dummy@example.com (epetrusic)]]></author>
			<pubDate>Fri, 29 Sep 2006 15:48:56 +0000</pubDate>
			<guid>http://www.viemu.com/forum/viewtopic.php?pid=316#p316</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backspace in insert mode]]></title>
			<link>http://www.viemu.com/forum/viewtopic.php?pid=312#p312</link>
			<description><![CDATA[<p>It&#039;s ok then. Just let me know if you need anything else!</p>]]></description>
			<author><![CDATA[dummy@example.com (Jon_Symnum)]]></author>
			<pubDate>Thu, 28 Sep 2006 08:07:08 +0000</pubDate>
			<guid>http://www.viemu.com/forum/viewtopic.php?pid=312#p312</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backspace in insert mode]]></title>
			<link>http://www.viemu.com/forum/viewtopic.php?pid=311#p311</link>
			<description><![CDATA[<p>Actually I do not know how I managed to get it to work. When I let viemu handle the clashing bindings I saw in the Tools|Options|Keyboard that there was no binding at all for Edit.Deletebackwords. But now it works, maybe it could be something with VP suite that I uninstalled while trying this. </p><p>However, it works for me now <img src="http://www.viemu.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (henranto)]]></author>
			<pubDate>Thu, 28 Sep 2006 07:04:24 +0000</pubDate>
			<guid>http://www.viemu.com/forum/viewtopic.php?pid=311#p311</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backspace in insert mode]]></title>
			<link>http://www.viemu.com/forum/viewtopic.php?pid=297#p297</link>
			<description><![CDATA[<p>Henrik, the keyboard management code was probably overzealous. Maybe there is some other key bound to Edit.DeleteBackwards? You can find this out in Tools|Options|Keyboard: type the command name and open the dropdown to see what keys are assigned. You can also check the list of commands ViEmu removed in Tools|Options|ViEmu-&gt;Keyboard, probably the command is there with some other key assignment.</p><p>The documentation has detailed instructions on how to fix these situations once you know it is happening. Please let me know if I can be of help with this.</p>]]></description>
			<author><![CDATA[dummy@example.com (Jon_Symnum)]]></author>
			<pubDate>Wed, 27 Sep 2006 09:08:25 +0000</pubDate>
			<guid>http://www.viemu.com/forum/viewtopic.php?pid=297#p297</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backspace in insert mode]]></title>
			<link>http://www.viemu.com/forum/viewtopic.php?pid=296#p296</link>
			<description><![CDATA[<p>Seems to be some problem when I let viemu remove the keybindings. I have a keyboard setup where I have deleted some clashing bindings and that setup works fine.</p>]]></description>
			<author><![CDATA[dummy@example.com (henranto)]]></author>
			<pubDate>Wed, 27 Sep 2006 07:37:25 +0000</pubDate>
			<guid>http://www.viemu.com/forum/viewtopic.php?pid=296#p296</guid>
		</item>
		<item>
			<title><![CDATA[Re: Backspace in insert mode]]></title>
			<link>http://www.viemu.com/forum/viewtopic.php?pid=295#p295</link>
			<description><![CDATA[<p>Hello</p><p>I&#039;ve just upgraded to viemu 2.0, i like the new features.. But, backspace in insert mode is not the same anymore, nothing happends. How can I fix this problem?</p><p>/Henrik</p>]]></description>
			<author><![CDATA[dummy@example.com (henranto)]]></author>
			<pubDate>Wed, 27 Sep 2006 07:09:55 +0000</pubDate>
			<guid>http://www.viemu.com/forum/viewtopic.php?pid=295#p295</guid>
		</item>
	</channel>
</rss>
