Capitalises last entered letter

topic posted Fri, February 29, 2008 - 4:06 AM by  Bearterrible
Share/Save/Bookmark
Advertisement
This is something that has bugged me about the version of Vi in debian, some moron changed it so that it capitalises the last letter you enter.

Where do you change this setting?

TIA
posted by:
Bearterrible
Australia
Advertisement
Advertisement
  • Re: Capitalises last entered letter

    Sat, August 2, 2008 - 7:50 PM
    Wow, never heard of that. I'd check the vimrc files in ~/.vimrc and /etc/vimrc
    • Re: Capitalises last entered letter

      Wed, August 13, 2008 - 7:22 AM
      It actually swaps the case;upper to lower and lower to upper.

      thanks for the info. Had a look and can not find anything.

      Will have to try other forums.
      • Re: Capitalises last entered letter

        Wed, August 13, 2008 - 8:15 AM
        Also check ~/.exrc and in particular, look for any macros involving the ~ character, which will swap the case of characters. I am wondering if some weird termcap entry is applying a ~ to the last character you enter...
      • Re: Capitalises last entered letter

        Thu, August 21, 2008 - 6:57 PM
        It seems unlikely a change that dumb could make it into Debian.

        But a bad termcap might be at fault.

        Just to check, though, when does it cap/uncap the character? When you hit ENTER? When you hit ESC? Is it possible you are hitting some character other than ESC? Often arrow keys and function keys, if not defined properly in your termcap, will just spit junk at vi. Like, if you type "i", then "hello", then hit ESC, do you end up with "hellO"?

Recent topics in "Vi"