Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    VIM not compatible with non-US keyboards?

    Reply
    Untouchab1e | # 1 | 2009-12-05, 11:46 | Report

    I downloaded Vim, which I really love, but its not working very well with my Norwegian keyboard. While Vi works just fine, Vim types out an M when I hit the return key, and an D (or something) when I hit the down key..

    Any way to configure or solve this?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    hopbeat | # 2 | 2009-12-05, 12:07 | Report

    Try
    Code:
    :set nocompatible
    There are also some other issues with vim, haven't really researched them as I primarily use vi

    [edit] you can also add
    Code:
    :set backspace=2
    [edit2] to have those changes saved, create file .vimrc in your home folder (/home/user and /root if you are using the latter) and put there

    Code:
    set nocompatible
    set backspace=2
    this should make vim more-less usable
    Oh, and this is not Norwegian-keyboard related, I have the same issue on my 'standard' layout.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by hopbeat; 2009-12-05 at 13:11.
    The Following 6 Users Say Thank You to hopbeat For This Useful Post:
    der_raul, f4b3r, Jaffa, Johnx, qwerty12, Untouchab1e

     
    bastler | # 3 | 2009-12-29, 15:42 | Report

    Your fix works for me, thanks hopbeat. But since I always like to know what I'm actually doing there, could you maybe elaborate a little on what those two commands actually do and why they work on the N900?

    Thanks.

    P.S.: yes, I know, RTFM, but the vim-manpages are like 500 pages long and I have no clue what I'm looking for, so it would probably take me days to figure it out on my own. I'm hoping for the easy way out, which would be someone already posessing this knowledge taking 3 minutes to explain it to me

    Edit | Forward | Quote | Quick Reply | Thanks

     
    wolf | # 4 | 2009-12-29, 15:56 | Report

    In vim:
    :he compatible
    :he bs

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Jaffa | # 5 | 2009-12-29, 16:40 | Report

    Cross-linking with other relevant thread: http://talk.maemo.org/showthread.php?p=443492

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout