- To: nicko@xxxxxxxxxxx
- Subject: Re: [SLUG] kubuntu / vim key mapping weirdness
- From: Craig Dibble <craig@xxxxxxxxxxx>
- Date: Tue, 21 Nov 2006 09:22:46 +1100
- Cc: slug@xxxxxxxxxxx
- User-agent: Thunderbird 1.5.0.7 (X11/20060918)
Nick Croft wrote:
A number of weirdnesses appeared with vim 7. Some relate more to the
terminal you use. A number of functionalitites seem to get lost with
upgrades. Some call it progress.
Do A-B tests with zsh as compared to bash. Gnome-terminal as compared to
xterm. An old xterm as opposed to the recent one, or use rxvt. Gvim vs vim.
Hi Nick,
Thanks for your response, I actually figured this out last night - I
tried it in gvim and noted that it was working fine, it was only in the
terminal (any terminal for that matter) that it was playing up, which
obviously led me to take a closer look at the differences between gvim
and vim, and in particular /etc/gvimrc and /etc/vimrc.
It seems that in a moment of insanity I put this in /etc/vimrc:
set paste
I have no recollection of doing that and can't imagine why I would have,
but there you go. Removed that line and now all is well.
Copying this back to the list for the sake of the archives, in case
anyone else feels the need to do something stupid like that.
For those that don't know - when the paste option is on any key mappings
in the insert or command line mode are disabled.
Ahem...
Craig