On 2016-01-11 03:08, jf...@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 -- https://mail.python.org/mailman/listinfo/python-list