sponsor Vim development Vim logo Vim Book Ad

Buddy Challenge : Teases you on things you are unsure of

 script karma  Rating 0/0, Downloaded by 82    Comments, bugs, improvements  Vim wiki

created by
Paul Contreras
 
script type
game
 
description
There are two versions of this script because MAC vs. Windows is slightly different the keyboard mappings.  On Windows, when you press Alt-i the vim editor teases you about what's under the cursor.  Some clever combinations can occur

Demo :-

https://www.youtube.com/watch?v=v7F3c9Ez0xg&feature=youtu.be
 
install details
Windows
  drop buddyChalWIN.vim intro \Users\{username}\vimfiles\plugin  <-- n.b singular
MAC
  drop buddyChalMAC.vim into {home}/.vim/plugin

Make it more personal by adding the line below to your _vimrc.  In WINDOWS _vimrc is in \Program Files (86)\vim\_vimfiles,(*) on MAC it`s /Applications/MacVim.app/Contents/Resources/vim/gvimrc: * note to edit it in Win 7 etc.. you'll need to run your editor as Administrator

  let buddyChallenge_yourname = "{yourname}"

e.g: let buddyChallenge_yourname = "Paul" - n.b some teases will not fully work until you do this

If you don't like it just delete it.  If you want to be really thorough you can delete the above line from the _vimrc if it's there but it won't do any harm if you leave it there.

To start being teased just move your cursor over what you are not sure about and Command-i MAC, Windows Alt-i.

Enjoy!!  :D
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
buddyChalWIN.vim 1.9 2014-07-23 7.0 Paul Contreras same as MAC but using Alt-i
buddyChalMAC.vim 1.9 2014-07-23 7.0 Paul Contreras Grammar corrections
buddyChalWIN.vim 1.8 2014-07-22 7.0 Paul Contreras Same as MAC except has Alt-i mapping instead
buddyChalMAC.vim 1.8 2014-07-22 7.0 Paul Contreras Added proper comment headers
buddyChalWIN.vim 1.7 2014-07-22 7.0 Paul Contreras Same as MAC but with Alt-i mapping and dos file format
buddyChalMAC.vim 1.7 2014-07-22 7.0 Paul Contreras Strengthened up the Academic cases a bit
buddyChalWIN.vim 1.6 2014-07-20 7.0 Paul Contreras Same as the MAC one apart from maps to Alt-i and the fileformat set as "dos"
buddyChalMAC.vim 1.6 2014-07-20 7.0 Paul Contreras Tiny tidy up, added some more convincing skills and a few more company names.  Made the MAC version unix fileformat to differentiate it from the Windows one
buddyChalWIN.vim 1.5 2014-07-12 7.0 Paul Contreras same as MAC but using Windows version of vim Alt-i mapping
buddyChalMAC.vim 1.5 2014-07-12 7.0 Paul Contreras Corrected a few typos, minor tweaks in use of language
buddyChalWIN.vim 1.4 2014-07-11 7.0 Paul Contreras Same tweaks as MAC version but for Windows with its mapping for the Alt-i combination
buddyChalMAC.vim 1.4 2014-07-11 7.0 Paul Contreras Tweaks to stop some teasing getting carried away
buddyChalWIN.vim 1.3 2014-07-11 7.0 Paul Contreras same as MAC 1.3 but with Alt-i mapping for Windows
buddyChalMAC.vim 1.3 2014-07-11 7.0 Paul Contreras Slight typo fixed
buddyChalWIN.vim 1.2 2014-07-10 7.0 Paul Contreras Bug fixes same as MAC version 1.2 but with Windows key mapping cause it's different
buddyChalMAC.vim 1.2 2014-07-10 7.0 Paul Contreras Fixed it so CoolAlternatives were right, some were not there.  Fixed so name picks up correctly, after vimrc is processed not before so it is set then.  Before I assumed vimrc gets run before but it turns out this does not run before!! ARGHH!!! sorted now
buddyChalMAC.vim 1.1 2014-07-10 7.0 Paul Contreras Slight bug Command key wrongly put as C as in <C-i> should have been <D-i> doh!!
buddyChalMAC.vim 1.0 2014-07-10 7.0 Paul Contreras MAC version
buddyChalWIN.vim 1.0 2014-07-09 7.0 Paul Contreras Initial upload
ip used for rating: 54.205.119.163

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo