hookcursormoved 0.8
- Freedownload8 rating:
- License:
- GPL (GNU General Public License)
- Added:
- Nov 30, -1
- Submit date:
- Feb 15, 2015
- Publisher:
- Thomas Link
- File size:
- Downloads:
- 430
hookcursormoved 0.8
by Thomas Link
hookcursormoved is an experimental plugin for Vim that provides some help with the definition of functions that should be called when the cursor position changed.When the cursor position changes, it first checks if a certain conditionis met and then calls functions registered in[bg]:hookcursormoved_{CONDITION} (an array).Pre-defined conditions:linechangeThe line-number has changed.parenthesisCursor is over (), [], or {}.syntaxchangeThe syntax group under the cursor has changed (i.e. the cursorhas moved in/out of a syntax group.syntaxleaveb:hookcursormoved_syntax (ARRAY) should contain the syntax names which should run the hook code.syntaxleave_onelineSame as a above but check also for changes of the line number.In order to define a new conditions, you have to define a function"HookCursorMoved_{CONDITION}(mode)", which returns true if the conditionis met.Functions are best registered using |hookcursormoved#Register()|.Example: >function! WhatsGoingOn(mode) "{{{3if mode == 'i'DoThiselseif mode == 'n'DoThatendifendfcall hookcursormoved#Register('b', 'syntaxchange', function('WhatsGoingOn')) About Vim:Vim is a text editor first released by Bram Moolenaar in 1991 for the Amiga computer. Vim was created as an extended version of the vi editor, with many additional features designed to be helpful in editing program source code; its full name is Vi IMproved.While Vim is cross-platform, it is most popular on Unix-like operating systems.Released under a software license compatible with the GNU General Public License, Vim is free and open source software. The program's license includes some charityware clauses.Like vi, Vim's interface is based not on menus or icons but on commands given in a text user interface; its GUI mode, gVim, adds menus and toolbars for commonly used commands but the full functionality is still expressed through its command line mode.For many users learning Vim may be difficult and slow initially, but once the basics are understood they progress quickly and editing becomes more efficient. To facilitate this, Vim has a built-in tutorial for beginners. There is also the Vim Users' Manual that details the basic and more advanced Vim features. This manual can be read from within Vim, or found online.Vim also has a built-in help facility (using the :help command) that allows users to query and navigate through commands and features.Requirements:· VimWhat's New in This Release: · hookcursormoved#Register: Allow deregister |
Languages:
OS requirements for hookcursormoved 0.8:
-
Download hookcursormoved 0.8
-
Copyright Policy: We are periodically updates pricing and software information of hookcursormoved 0.8 full version from the publisher using pad file, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators, cd key, hacks is illegal and prevent future development of hookcursormoved 0.8 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com, megaupload.com, netload.in, storage.to or depositfiles.com are not allowed
hookcursormoved 0.8 Keywords
Tags search: , Vim plugin , function definition , syntax verifier , function , definition , syntax , verfier
User comments about hookcursormoved 0.8
Get Our News, Everywhere
Popular searches
Linux
- 1 . XTerm 314
- 2 . GNOME Terminal 3.15.0
- 3 . Cool-Retro-Term 1.0.0
- 4 . Xfce Terminal 0.6.3
- 5 . LXTerminal 0.2.0
- 6 . VTE 0.39.1
- 7 . Soiled 0.46
- 8 . tmux 1.8
- 9 . COTE: Cryptonite One Terminal Edition 5.0
- 10 . Tupi: 2D Magic 0.2 git02
Text Editing&Processing
- 1 . XEmacs 21.4.22 / 21.5.34 Beta
- 2 . Zile is Lossy Emacs 2.4.7
- 3 . Emacs 24.3
- 4 . GNU TeXmacs 1.0.7.21 / 1.99.1
- 5 . pastemacs 0.3
- 6 . C# for Emacs 0.8.3
- 7 . Xrefactory 2.0.14
- 8 . ibus.el 0.3.2
- 9 . Xrefactory 1.6.9
- 10 . Easymacs 2.0