Friday, May 9, 2014

Re: What does ! do to map? [Was: When is map useful (as apposed to noremap)]

> FWIW, I think that it would be possible to respect the holy 80 column
> limit, yet present one table providing a complete Overview at
> *map-overview*, not just the present partial thing, if the "modes:"
> headings were changed to "I C L N V S O P", with preceding expansions of
> same. Entries need only be "y" or "-".

One of the worst layout you can choose for plain text. Compare

> | I C L N X S O
> map | N X S O
> nmap | N
> vmap | X S
> xmap | X
> smap | S
> omap | O
> map! | I C
> imap | I
> lmap | * * L
> cmap | C

with

> | I C L N X S O
> map | - - - y y y y
> nmap | - - - y - - -
> vmap | - - - - y y -
> xmap | - - - - y - -
> smap | - - - - - y -
> omap | - - - - - - y
> map! | y y - - - - -
> imap | y - - - - - -
> lmap | * * y - - - -
> cmap | - y - - - - -

: first (my)

1. Does not require you to see column header. Your requires to constantly
eye-scroll up to determine what `y`s refer to.
2. Is still readable if font is not fixed width.
3. Is still readable if you rearrange lines: putting `nmap` at the end makes it
hard to use this table because there are too much dashes between both start
and end.

PS: previous two messages are probably my messages, but I did not delete them.
They were deleted after the following sequence of actions:

1. Write some message from Google Groups web interface.
2. Reply to the previously written message to post some text I forgot to post.

Third deleted message appeared after step 1.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: