← Back to team overview

touch-packages team mailing list archive

[Bug 1380083] Re: Vim command mode abreviations and insert mode maps are broken

 

** Description changed:

  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
+   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.
+ This should make (and does in non-14.04 versions of vim) the typo
+ command ':Q' work like the intended ':q'.
  
- 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.
+ 4) I have many other cab statements in my .vimrc, it's not specific to
+ this example. Normal and Insert mode maps work.

-- 
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

  This should make (and does in non-14.04 versions of vim) the typo
  command ':Q' work like the intended ':q'.

  4) I have many other cab statements in my .vimrc, it's not specific to
  this example. Normal and Insert mode maps work.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1380083/+subscriptions


References