Fandom

Vim Tips Wiki

Script:1046

1,624pages on
this wiki
Add New Page
Talk0

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Use this page to discuss script 1046 monday: use Ctrl-a and Ctrl-x on names of months and weekdays

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Other ideasEdit

There are many possibilities:

call <SID>Add_word_pair('true',     'false')
call <SID>Add_word_pair('false',    'true')
call <SID>Add_word_pair('on',       'off')
call <SID>Add_word_pair('off',      'on')
call <SID>Add_word_pair('enable',   'disable')
call <SID>Add_word_pair('disable',  'enable')
call <SID>Add_word_pair('yes',      'no')
call <SID>Add_word_pair('no',       'yes')
call <SID>Add_word_pair('start',    'stop')
call <SID>Add_word_pair('stop',     'start')

This is awesome for editing configuration files etc.

You could do Roman numerals up to 20 or so, or Canadian provinces East to West.

The author's email address is dead. It would be neat to take this script over, separate the word pairs out into separate lists that were easy to enable and disable and package it properly. --January 4, 2013

To take over an unmaintained script at vim.org, it is standard practice for someone to simply create a new script with a link to the previous script on which the new script is based (or if not a link, the docs for the new script should say something like "based on script 1046 by Stefan Karlsson"). JohnBeckett (talk) 09:41, January 5, 2013 (UTC)

CommentsEdit

Also on Fandom

Random Wiki