Closed Flawe closed 6 years ago
Oh, this only seems to happen in vs2010. The same vsvim version (and .vimrc) in vs2012 works just fine.
Thanks for reporting
I took a look at this today and I'm unable to repro it. I tried it out on my Visual Studio 2010 install and everything looked to be acting normal.
Do you have any other extensions installed?
I'm seeing a similar problem with 1.6.0.2 on VS 2013 (12.0.30501.00 Update 2). Every motion command exits visual mode. Something like "10k" will also do it (on hitting the '1').
@renedamm when you enter visual mode what does the status bar say at the bottom?
It says "-- VISUAL --". If I then use the arrow keys, everything works as expected; I can extend the selection, then hit "d" or "y" or whatever. If, however, I hit a Vi motion command, the "-- VISUAL --" immediately disappears and the selection is dropped.
@renedamm
That definitely shouldn't be happening. Do you have any visual mode mappings that could be affecting this? Try
:vmap
Nope, no mappings.
I think it may have something to do with Update 2 for VS 2013. I was using VsVim before the update and it worked fine (although I then didn't use it for a while as I was evaluating ViEmu and found it to be much slower). I first noticed the problem after the update. Could be that's just coincidence, of course.
@renedamm i'm running update 2 on a few machines and not seeing this. What other extensions do you have installed?
Hi @jaredpar, I think I'm having the same bug: Visual Studio Community 2013 Version 12.0.31101.00 Update 4 and installed the extension from the Gallery, version 1.8.0.0.
When I hit 'j' or 'k' in Normal mode, it replaces what I have in that line and writes 'creenMovement("j")' (or 'creenMovement("k")'):
In Visual mode the 'j' or 'k' work as expected.
If you need any other detail, please let me know. Extensions and other details: Microsoft Visual Studio Community 2013 Version 12.0.31101.00 Update 4 Microsoft .NET Framework Version 4.5.51650
Installed Version: Professional
Team Explorer for Visual Studio 2013 06177-004-0444002-02937 Microsoft Team Explorer for Visual Studio 2013
Visual Basic 2013 06177-004-0444002-02937 Microsoft Visual Basic 2013
Visual C# 2013 06177-004-0444002-02937 Microsoft Visual C# 2013
Visual C++ 2013 06177-004-0444002-02937 Microsoft Visual C++ 2013
Visual F# 2013 06177-004-0444002-02937 Microsoft Visual F# 2013
Visual Studio 2013 Code Analysis Spell Checker 06177-004-0444002-02937 Microsoft® Visual Studio® 2013 Code Analysis Spell Checker
Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
Windows Phone SDK 8.0 - ENU 06177-004-0444002-02937 Windows Phone SDK 8.0 - ENU
Application Insights Tools for Visual Studio Package 1.0 Application Insights Tools for Visual Studio
ASP.NET and Web Tools 12.4.60425.0 Microsoft Web Developer Tools contains the following components: Support for creating and opening ASP.NET web projects Browser Link: A communication channel between Visual Studio and browsers Editor extensions for HTML, CSS, and JavaScript Page Inspector: Inspection tool for ASP.NET web projects Scaffolding: A framework for building and running code generators Server Explorer extensions for Microsoft Azure Web Apps Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Microsoft Azure
ASP.NET Web Frameworks and Tools 2012.2 4.1.21001.0 For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.2.21010.0 For additional information, visit http://www.asp.net/
Common Azure Tools 1.4 Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Microsoft Azure HDInsight HQL Service 2.0.1000.0 Language service for Hive query
Microsoft Azure HDInsight Tools for Visual Studio 2.0.1000.0 An integrated development environment for HDInsight application development.
Microsoft Azure Mobile Services Tools 1.3 Microsoft Azure Mobile Services Tools
Microsoft Azure Tools 2.6 Microsoft Azure Tools for Microsoft Visual Studio 2013 - v2.6.30508.1601
NuGet Package Manager 2.8.60318.734 NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.2 Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 12.0.41012.0 Microsoft SQL Server Data Tools
VsVim 1.8.0.0 VsVim is a Vim emulator for Visual Studio
Windows Phone 8.1 SDK Integration 1.0 This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.
Update: My problem was related with my .vimrc. After enabling only the VsVimRc loading, everything is working as expected. Thanks for the great extension!
Hi Jared,
I'm on 1.3.3.3 and going into visual mode (shift v) and moving up (k) exits visual mode and moves one line down instead. Going down (j) in visual mode exits visual mode and goes down 3 lines instead.
I think i stumbled upon this before and it was a bad .vimrc before. Here is the current one: https://dl.dropboxusercontent.com/u/285908/.vimrc
extras.vim is empty.
Thanks!
Flav