[Bug 1767314] Re: Ubuntu Bionic vi/vim not working correctly

flashydave 1767314 at bugs.launchpad.net
Tue Dec 18 22:24:22 UTC 2018


Just by way of more info I was editing a gitolite conf file of 4096 lines with the following stats to render the syntax with the cursor at the end of the file
The total time taken was 5 seconds. By default redrawtime is set to 2 seconds so the 5 srconds taken represents a considetable drop off in performance.  It is true that 18.04 feels sluggish. Maybe Spectre malware fix slowdowns?


TOTAL      COUNT  MATCH   SLOWEST     AVERAGE   NAME               PATTERN
  1.580522   4214   96      0.002875    0.000375  gitoliteRefex      \(^\s*\(-\|R\|RW+\?C\?D\?\)\s\+\)\@<=\S.\{-}\(\s*=
  1.542289   4068   2712    0.006048    0.000379  gitoliteConfigKey  \(\(config\|option\)\s\+\)\@<=[^ =]*
  0.986339   1426   0       0.032778    0.000692  gitoliteCreateRule \(^\s*C\s.*=\s*\)\@<=\S[^#]*[^# ]
  0.777079   4068   4068    0.000870    0.000191  gitoliteConfigVal  \(=\s*\)\@<=\S.*
  0.652198   1502   95      0.040000    0.000434  gitoliteDenyRule   \(^\s*-\s.*=\s*\)\@<=\S[^#]*[^# ]
  0.059132   2852   1426    0.000100    0.000021  gitoliteRule       \(^\s*\)\@<=\(-\|C\|R\|RW+\?C\?D\?\)\s\@=
  0.033258   4118   1356    0.000049    0.000008  gitoliteConfigLine ^\s*\(config\|option\|include\|subconf\)\s[^#]*
  0.024610   4142   1426    0.000035    0.000006  gitoliteRuleLine   ^\s*\(-\|C\|R\|RW+\?C\?D\?\)\s[^#]*
  0.016784   6026   3258    0.000013    0.000003  gitoliteGroup      @\S\+
  0.014909   4142   1395    0.000013    0.000004  gitoliteRepoError  ^\s*\S\+\s*=
  0.014868   4118   657     0.000045    0.000004  gitoliteRepoLine   ^\s*repo\s\+[^=]*$
  0.013410   4118   0       0.000044    0.000003  gitoliteRepoError  ^\s*repo.*=
  0.010654   4400   574     0.000045    0.000002  gitoliteComment    #.*
  0.004946   4118   1       0.000014    0.000001  gitoliteGroupLine  ^\s*@\S\+\s*=\s*\S.*$
  0.003386   4118   0       0.000009    0.000001  gitoliteTemplateLine ^=begin template-data$
  0.001547   4118   0       0.000002    0.000000  gitoliteSpecialRefex /USER/
  0.001208   4118   0       0.000001    0.000000  gitoliteSpecialRefex NAME/

  5.737139   65666

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/1767314

Title:
  Ubuntu Bionic vi/vim not working correctly

Status in vim package in Ubuntu:
  Confirmed

Bug description:
  The vim default configuration in Bionic does not match Ubuntu 17.10
  nor Centos 7 and is hard to use. It auto-inserts tabs or spaces, and
  the '/' search mode command works differently (pressing enter is
  required before you can use cursors left/right).

  For some discussion, please see
  https://askubuntu.com/questions/1026820/vi-vim-usage-in-ubuntu-bionic-
  not-normal/1028684#1028684

  Setting :set nocompatbile in ~/.vimrc fixes it, but this should not be
  required.

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



More information about the foundations-bugs mailing list