Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #101476
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Tim Chase <python.list@tim.thechases.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: Which Python editor has this feature? |
| Date | Mon, 11 Jan 2016 05:59:53 -0600 |
| Lines | 20 |
| Message-ID | <mailman.8.1452513736.13488.python-list@python.org> (permalink) |
| References | <830f6f97-22dd-488c-9dd6-e9cd92844307@googlegroups.com> <mailman.2.1452482175.13488.python-list@python.org> <a6bcf94b-fa85-4e23-8d11-67a0c32c3342@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | news.uni-berlin.de ObSZW+cyta/RHRqtHZRmiA4dRA5IPNxoa1/RZWz63RGA== |
| Return-Path | <python.list@tim.thechases.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'string.': 0.04; 'subject:Python': 0.05; "'',": 0.07; 'subject:editor': 0.07; '-tkc': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'messy': 0.16; 'read?': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'creates': 0.18; 'bit': 0.23; '(you': 0.23; 'tim': 0.24; 'header:In-Reply-To:1': 0.24; 'command': 0.26; "skip:' 10": 0.28; 'chase': 0.29; "skip:' 20": 0.34; 'skip:( 30': 0.35; 'mapping': 0.35; 'but': 0.36; 'too': 0.36; 'created': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'being': 0.37; "won't": 0.38; 'goes': 0.39; 'whatever': 0.39; 'to:addr:python.org': 0.40; 'your': 0.60; 'received:50': 0.66; 'subject:this': 0.85 |
| X-Sender-Id | wwwh|x-authuser|tim@thechases.com |
| X-Sender-Id | wwwh|x-authuser|tim@thechases.com |
| X-MC-Relay | Neutral |
| X-MailChannels-SenderId | wwwh|x-authuser|tim@thechases.com |
| X-MailChannels-Auth-Id | wwwh |
| X-MC-Loop-Signature | 1452513729912:3732424016 |
| X-MC-Ingress-Time | 1452513729912 |
| In-Reply-To | <a6bcf94b-fa85-4e23-8d11-67a0c32c3342@googlegroups.com> |
| X-Mailer | Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) |
| X-AuthUser | tim@thechases.com |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:101476 |
Show key headers only | View raw
On 2016-01-11 03:08, jfong@ms4.hinet.net wrote:
> Tim Chase at 2016/1/11 UTC+8 11:16:27AM wrote:
> > :nnoremap <expr> Q '?^'.repeat(' ',
> > (strlen(substitute(getline('.'), '\S.*', '',
> > ''))-&sw)).'\S?e'."\<cr>"
>
> But, but... this line??? won't it goes too far for a human being to
> read?
Yes, it's a bit obscure. But it's a mapping that creates a "Q"
command (feel free to map to whatever other key you have available),
so once you've created that mapping (you can put it in your vimrc),
all you have to remember is that "Q", not the whole messy string.
-tkc
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Which Python editor has this feature? jfong@ms4.hinet.net - 2016-01-10 17:59 -0800
Re: Which Python editor has this feature? Chris Angelico <rosuav@gmail.com> - 2016-01-11 13:58 +1100
Re: Which Python editor has this feature? jfong@ms4.hinet.net - 2016-01-11 03:04 -0800
Re: Which Python editor has this feature? Terry Reedy <tjreedy@udel.edu> - 2016-01-11 16:21 -0500
Re: Which Python editor has this feature? jfong@ms4.hinet.net - 2016-01-11 17:51 -0800
Re: Which Python editor has this feature? Terry Reedy <tjreedy@udel.edu> - 2016-01-12 02:55 -0500
Re: Which Python editor has this feature? wxjmfauth@gmail.com - 2016-01-12 00:28 -0800
Re: Which Python editor has this feature? jfong@ms4.hinet.net - 2016-01-12 17:27 -0800
Re: Which Python editor has this feature? Chris Angelico <rosuav@gmail.com> - 2016-01-13 12:51 +1100
Re: Which Python editor has this feature? Steven D'Aprano <steve@pearwood.info> - 2016-01-13 13:04 +1100
Re: Which Python editor has this feature? wxjmfauth@gmail.com - 2016-01-13 00:04 -0800
Re: Which Python editor has this feature? wxjmfauth@gmail.com - 2016-01-13 07:24 -0800
Re: Which Python editor has this feature? jfong@ms4.hinet.net - 2016-01-12 17:20 -0800
Re: Which Python editor has this feature? Terry Reedy <tjreedy@udel.edu> - 2016-01-13 04:10 -0500
Re: Which Python editor has this feature? jfong@ms4.hinet.net - 2016-01-13 16:48 -0800
Re: Which Python editor has this feature? Chris Angelico <rosuav@gmail.com> - 2016-01-12 11:14 +1100
Re: Which Python editor has this feature? Bernardo Sulzbach <mafagafogigante@gmail.com> - 2016-01-11 22:55 -0200
Re: Which Python editor has this feature? Grant Edwards <invalid@invalid.invalid> - 2016-01-12 18:31 +0000
Re: Which Python editor has this feature? Chris Angelico <rosuav@gmail.com> - 2016-01-12 12:09 +1100
Re: Which Python editor has this feature? Terry Reedy <tjreedy@udel.edu> - 2016-01-12 03:27 -0500
Re: Which Python editor has this feature? Chris Angelico <rosuav@gmail.com> - 2016-01-12 21:18 +1100
Re: Which Python editor has this feature? Terry Reedy <tjreedy@udel.edu> - 2016-01-13 04:05 -0500
Re: Which Python editor has this feature? Chris Angelico <rosuav@gmail.com> - 2016-01-13 21:09 +1100
Re: Which Python editor has this feature? Tim Chase <python.list@tim.thechases.com> - 2016-01-10 20:37 -0600
Re: Which Python editor has this feature? jfong@ms4.hinet.net - 2016-01-11 03:08 -0800
Re: Which Python editor has this feature? Tim Chase <python.list@tim.thechases.com> - 2016-01-11 05:59 -0600
Re: Which Python editor has this feature? Rustom Mody <rustompmody@gmail.com> - 2016-01-10 19:49 -0800
Re: Which Python editor has this feature? Frank Haun <fh@fhaun.de> - 2016-01-11 11:54 +0000
Re: Which Python editor has this feature? Gordon Levi <gordon@address.invalid> - 2016-01-11 19:40 +1100
Re: Which Python editor has this feature? jfong@ms4.hinet.net - 2016-01-11 03:16 -0800
Re: Which Python editor has this feature? Fabio Zadrozny <fabiofz@gmail.com> - 2016-01-26 16:10 -0200
Re: Which Python editor has this feature? Fabio Zadrozny <fabiofz@gmail.com> - 2016-01-26 16:09 -0200
csiph-web