Results 1 to 4 of 4
I have just install Ubuntu and wish to edit a file
My issue is that when I press the "Insert" button it makes the letters toggle between upper case and ...
- 02-10-2009 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 10
[SOLVED] re using VI - keyboard issues
I have just install Ubuntu and wish to edit a file
My issue is that when I press the "Insert" button it makes the letters toggle between upper case and lower case - I am presuming that when I installed Ubuntu that I selected the wrong keyboard.
I am used to editing files by pressing the "insert" button to change edit modes and it is not working (as usual) and impossible to edit properly. (eg I cannot delete the end of line character so that I can join lines togeather)
How do I select the right keyboard layout so that vim works properly in Ubuntu ?
[I am using only command line, x windows is not installed]
Thanks
- 02-10-2009 #2
Have you tried vi instead of vim or vice verse?
To set UK keyboard layout, execute this
Check /user/share/xmodmap folder for other layout files.Code:sudo xmodmap /usr/share/xmodmap/xmodmap.uk
Or try one of these
Code:sudo dpkg-reconfigure console-setup
Replace us with country code you want to use.Code:setxkbmap us
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-10-2009 #3Just Joined!
- Join Date
- Apr 2007
- Posts
- 10
I did not realise that vi and vim were different. vim works the way vi does in my debian install
Amazingly that worked - I have asked 2 questions in the last day and received correct fixes in a very short space of time.
Thanks everyone.
- 02-10-2009 #4
Glad to help you !
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


