touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #25950
[Bug 1380083] [NEW] Vim command mode abreviations and insert mode maps are broken
Public bug reported:
1) lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04
2) apt-cache policy vim-gtk
vim-gtk:
Installed: 2:7.4.052-1ubuntu3
Candidate: 2:7.4.052-1ubuntu3
Version table:
*** 2:7.4.052-1ubuntu3 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
100 /var/lib/dpkg/status
3) In your .vimrc or in a vim editing session, try adding the following:
cab Q q
inoremap <C-z> <C-g>u<C-u>
The first should make (and does in non-14.04 versions of vim) the typo command ':Q' work like the intended ':q'.
The second should create a CTRL-z alias for undo while in insert mode.
4) Neither work. I have many other cab and imap statements in my .vimrc,
it's not specific to these examples. Only normal mode maps work.
** Affects: vim (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/1380083
Title:
Vim command mode abreviations and insert mode maps are broken
Status in “vim” package in Ubuntu:
New
Bug description:
1) lsb_release -rd
Description: Ubuntu 14.04.1 LTS
Release: 14.04
2) apt-cache policy vim-gtk
vim-gtk:
Installed: 2:7.4.052-1ubuntu3
Candidate: 2:7.4.052-1ubuntu3
Version table:
*** 2:7.4.052-1ubuntu3 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
100 /var/lib/dpkg/status
3) In your .vimrc or in a vim editing session, try adding the
following:
cab Q q
inoremap <C-z> <C-g>u<C-u>
The first should make (and does in non-14.04 versions of vim) the typo command ':Q' work like the intended ':q'.
The second should create a CTRL-z alias for undo while in insert mode.
4) Neither work. I have many other cab and imap statements in my
.vimrc, it's not specific to these examples. Only normal mode maps
work.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1380083/+subscriptions
Follow ups
References