vim should DTRT by default or a sane vi should be supported too
Bug #12000 reported by
James Troup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vim (Ubuntu) |
Fix Released
|
Medium
|
Thom May |
Bug Description
vim breaks pasting (yes, I know about ':set paste', but requiring that is not
acceptable) by staggering the text if there is leading whitespace in the paste.
Apparently this brain-damage comes from Debian and not upstream. Can we please
either a) fix this, or b) promote nvi to supported. [That was the deal that was
agreed to in Brazil ... ]
To post a comment you must log in.
I've been using this patch for some time with great success:
--- /etc/vim/vimrc~ 2004-09-24 13:36:34.000000000 -0700 indent, eol,start " more powerful backspacing
+++ /etc/vim/vimrc 2004-10-12 15:33:42.000000000 -0700
@@ -7,7 +7,7 @@
set backspace=
" Now we set some defaults for the editor
-set autoindent " always set autoindenting on
+" set autoindent " always set autoindenting on
" set linebreak " Don't wrap words by default
set textwidth=0 " Don't wrap lines by default
set nobackup " Don't keep a backup file