:set paste command in vi

Alexander Griesser alexander.griesser at lkh-vil.or.at
Tue Dec 11 11:53:55 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Kriegisch wrote:
>> Is there a way to support the ':set paste' or command or something 
>> similar to this in busybox' vi? The reason for me asking is that if I
>> paste text into vi with the mouse when working over an SSH connection
>> f.ex. each line gets more and more indented. vim offers a feature
>> called ":set paste" resp. ":set nopaste" which allows for toggling
>> auto-indenting lines when pasting text.
> 
> Variant #1: interactively change settings in vi
> -----------------------------------------------
> 
> :set
> autoindent noflash ignorecase showmatch tabstop=8

Is this output produced by using the :set tab completion? If so, I guess
you didn't get it with busybox vi, right? On my busybox installation
:set doesn't support tab completion...

> :set noai

Thanks, that works.

ciao,
- --
Alexander Griesser (Netzwerkadministration)
E-Mail: alexander.griesser at lkh-vil.or.at | Web: http://www.lkh-vil.or.at
KABEG LKH Villach | Nikolaigasse 43 | 9500 Villach
Tel.:   +43 4242 208 3061 | Fax.:   +43 4242 971 3061
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXnpT66HVD6KUm1oRAqFSAJ9l36s67knhZ3yxqSt5QqENysGIuwCglkAN
OYP3YoEBesUYaeFB76B9Pv8=
=Mxs7
-----END PGP SIGNATURE-----



More information about the busybox mailing list