Bug 76263
Summary: | Default auto-indent/comment makes copy&paste nearly useless | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Erich Boleyn <erich> |
Component: | vim | Assignee: | Karsten Hopp <karsten> |
Status: | CLOSED WONTFIX | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-10-18 21:12:13 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Erich Boleyn
2002-10-18 21:12:07 UTC
I just took over this package, so I'm not sure about the changes between the last release and this one. It seems that vi is now an alias to vim, which has cindent enabled. I'd like to keep it this way as it is a lot easier for newbies to use. If you don't like it, you have several options: - remove the alias from /etc/profile.d/vim.* (affects all users) - set an alias vi=/bin/vi in your ~/.bashrc - disable cident before pasting code or (which is what I usually do): - paste the code, mark the new code with Shift-v and press = to reindent This works quite well for me and the code is properly indented afterwards even if it hasn't been before. |