Buddy Challenge : Teases you on things you are unsure of
script karma |
Rating 0/0,
Downloaded by 3265 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Paul Contreras |
|
script type |
game |
|
description |
Why not try my customise Vim help page:
http://www.ezrider.co.uk/VimTagsHelp/
There are two versions of this script because MAC vs. Windows is slightly different the keyboard mappings. On Windows, when you press Alt-z or Alt-i the vim editor plays brain games with you about what's under the cursor. On MAC it's Cmd-z or Cmd-i
Demo :-
https://www.youtube.com/watch?v=v7F3c9Ez0xg&feature=youtu.be
Tip::
in Windows you can make AutoHotKey (*) press Alt-i for you when you press Middle Mouse:
MButton::
Click
Sleep,200
Send,!i
return
just paste these lines into an .ahk script e.g "mybutton.ahk" and Right-click context menu in explorer --> Run Script when you've installed AutoHotKey. Get it from www.autohotkey.com. AutoHotKey is a very easy to use macro style programming language. It is superb at trapping keys, mice, and joysticks. And no I don't work for AutoHotKey |
|
install details |
Windows
Win7 put buddyChalWIN.vim --> \Users\{username}\vimfiles\plugin <-- n.b singular
XP put ^^ --> \Program Files\Vim\vimfiles\plugin
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 in Win 7 etc.. you need to be running in Administrator mode with regards to this _vimrc file.
let buddyChallenge_yourname = "{yourname}" (but without {})
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 the script just delete it from the plugin dir. It doesn't leave anything behind. If you want to be really thorough you can delete the let above buddyChallenge_... line from your _vimrc but it's not gonna do any harm leaving it there because it's unlikely there's gonna be another thing in Vim that uses a variable like this.
Start being teased! Just move your cursor over what you are not sure about and press Alt-z or Alt-i on Windows, Command-z or Command-i on the MAC
Enjoy!! :D |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.97.14.85
|