[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Global tabgives and spacestotab config option
From: |
Benno Schulenberg |
Subject: |
Re: Global tabgives and spacestotab config option |
Date: |
Sat, 19 Jun 2021 11:56:25 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
Op 18-06-2021 om 18:43 schreef Peter Magnusson:
> Refering to something that Benno wrote I was hoping that it would start
> nano and after save it would convert spaces 2 tab
Attached is a script that does just that.
It uses a fixed tabsize of 8, because reading it from the .nanorc file
is not really correct: it would use the tabsize of the remote machine,
which might be different from the tabsize on the local machine where
you are pasting from. Adjust the script (on the remote machine) when
on your local machine you use a tabsize other than 8.
Benno
nano.sh
Description: application/shellscript
signature.asc
Description: OpenPGP digital signature
- Re: Global tabgives and spacestotab config option, Benno Schulenberg, 2021/06/01
- Re: Global tabgives and spacestotab config option, Benno Schulenberg, 2021/06/04
- Re: Global tabgives and spacestotab config option, pepa65, 2021/06/04
- Re: Global tabgives and spacestotab config option, Benno Schulenberg, 2021/06/04
- Re: Global tabgives and spacestotab config option, Peter Magnusson, 2021/06/08
- Re: Global tabgives and spacestotab config option, pepa65, 2021/06/08
- Re: Global tabgives and spacestotab config option, Peter Magnusson, 2021/06/18
- Re: Global tabgives and spacestotab config option,
Benno Schulenberg <=
- Re: Global tabgives and spacestotab config option, Peter Magnusson, 2021/06/22
- Re: Global tabgives and spacestotab config option, Benno Schulenberg, 2021/06/23
- Re: Global tabgives and spacestotab config option, Peter Magnusson, 2021/06/24
Re: Global tabgives and spacestotab config option, Peter Magnusson, 2021/06/08