You are not logged in.

#1 2013-08-21 21:11:10

DrMag
Member
Registered: 2013-03-27
Posts: 24

[solved] vim starting in command mode?

I've been banging my head with this for a while, and my google-fu is failing me. Sometime not long ago, my vim installation started doing something strange: when I open it, or open a file, rather than starting in normal mode, it starts in command mode with various commands loaded in-- most often I see :1R. It's an annoyance, since I only have to clear it out and I'm back to normal mode, but since I use it so frequently I'd like to fix it.

I haven't changed my .vimrc in a long while, and looking at it I verified there's nothing strange happening there. I have no plugins, no .vim directory at all.

Has this ever happened to anyone, and do you have any suggestions about fixing it?

Last edited by DrMag (2013-08-23 03:50:35)

Offline

#2 2013-08-21 21:12:28

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,547
Website

Re: [solved] vim starting in command mode?

Do you have any vim related aliases?  And/or does the same happen if you use /usr/bin/vim ?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-08-21 21:17:23

DrMag
Member
Registered: 2013-03-27
Posts: 24

Re: [solved] vim starting in command mode?

No aliases, /usr/bin/vim yields the same result, this time the command line has :.,.+71R. I've tried removing .vimrc, and the same thing happens.

Offline

#4 2013-08-21 22:14:37

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: [solved] vim starting in command mode?

I'm assuming you aren't deliberately saving sessions.  '$HOME/.viminfo' is a history file for vim, try removing it  or renaming it before you next start vim.  And scan ':h viminfo' if you're curious.

I sometimes see search highlighting remembered from a previous session, I'm never put into command mode.

Offline

#5 2013-08-22 17:26:16

DrMag
Member
Registered: 2013-03-27
Posts: 24

Re: [solved] vim starting in command mode?

Ok, I've been able to isolate where the problem is, and it's not actually in Arch. Mostly I use my Arch box remotely, and I've been connecting to it through the Bitvise Tunnelier ssh client. If I'm on the direct terminal, or ssh'd in through PuTTY, the problem doesn't occur, so it looks to be a bug in the Bitvise software. I'll have to take it up with them. Thanks for the help; I still welcome other suggestions if you have them!

Offline

#6 2013-08-22 19:41:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [solved] vim starting in command mode?

File a bug with the NSA smile


Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2013-08-26 16:21:57

DrMag
Member
Registered: 2013-03-27
Posts: 24

Re: [solved] vim starting in command mode?

Bitvise was very responsive to my bug report; apparently the problem has been located and will be fixed in the next release.

Offline

Board footer

Powered by FluxBB