Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Text Editing&Processing > Others

    tlib 0.23

    Download button

    No screenshots available
    Downloads: 1,571  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.4/5)
    17 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Thomas Link | More programs
    GPL / FREE
    June 23rd, 2008, 13:23 GMT
    ROOT / Text Editing&Processing / Others

     Read user reviews (0)  Refer to a friend  Subscribe

    tlib description

    tlib is a Vim plugin library that provides some utility functions.

    tlib is a Vim plugin library that provides some utility functions. There isn't much need to install it unless another plugin requires you to do so.

    The most useful functions provided by this library probably are:

    tlib#input#List(), tlib#input#ListW()

    - Display a list
    - Dynamically filter items matching a pattern (somethat like google) - e.g. you filter for "foo -bar": show all entries containing foo but not bar.
    - Select items from a list
    - Do stuff
    - Developers can define keys that trigger some action with the selected items

    tlib#input#EditList

    + Edit a list (copy, cut, paste, delete, edit ...)

    :TLet VAR = VALUE
    Set a variable only if it doesn't already exist.

    :TScratch
    Open a scratch buffer (a buffer without a file).

    :TVarArg VAR1, [VAR2, DEFAULT2] ...
    Handle "rest" (variable) arguments in functions.
    EXAMPLES:
    function! Foo(...)
    TVarArg ['a', 1], 'b'
    echo 'a='. a
    echo 'b='. b
    endf


    TBrowseOutput COMMAND

    Ever wondered how to efficiently browse the output of a command without redirecting it to a file? This command takes a command as argument and presents the output via |tlib#input#List()| so that you can easily search for a keyword (e.g. the name of a variable or function) and the like.

    If you press enter, the selected line will be copied to the command line. Press ESC to cancel browsing.

    EXAMPLES:
    TBrowseOutput 20verb TeaseTheCulprit
    TBrowseOutput let
    TBrowseOutput map


    Requirements:

    · Vim
    · Vimball

    INSTALLATION:

    When installing tlib for the first time, it might be necessary that you create the directory ~/.vim/autoload/tlib before sourcing the vimball. If you have difficulties to install this plugin, please make sure to use the current version of vimball (vimscript #1502). The vimball that comes with vim 7.0 is most likely not recent enough.

    Open the file and type

    :so %

    see :help vimball for details.

    What's New in This Release:

    · FIX: very magic mode for tlib#rx#Escape()
    · FIX: tlib#arg#Ex: escape "!"
    · Respect the setting of g:tlib_inputlist_filename_indicators
    · tlib#input#List(): Reset syntax on resume; option to make list window "sticky"
    · tlib#agent#ToggleStickyList()
    · Simplified tlib#url#Decode()
    · tlib#arg#Ex(): use fnameescape() if available



    Product's homepage

      


    TAGS:

    Vim plugin | Vim library | scratch buffer | scratch buffer | Vim | plugin

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM