My ubuntu linux is version 7.10. I installed Gvim (Vim for X Window) yesterday, but it has a serious problem: I cannot enter correct character with keyboard. For instance, I press 'g', but it shows 'h'. I've searched this problem on Google and found a very simple solution.
Just use your favourite text editor to open /etc/vim/gvimrc and find the lines:
if has('gui_gtk2')
set guifont=Bitstream\ Vera\ Sans\ Mono\ 12
else
set guifont=-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
endif
The five lines should be commented with quotes. Just remove it. Now save it and restart Gvim. If everything is OK, it should work.
No comments:
Post a Comment