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

    previewtag 0.1

    Download button

    No screenshots available
    Downloads: 445  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.2/5)
    14 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Danqi Wang | More programs
    GPL / FREE
    May 12th, 2008, 08:57 GMT
    ROOT / Text Editing&Processing / Others

     Read user reviews (0)  Refer to a friend  Subscribe

    previewtag description

    previewtag is a Vim plugin that allows you to preview the definition and switch it to a new window.

    previewtag is a Vim plugin that allows you to preview the definition and switch it to a new window.

    The script opens the definition of functions and variables in preview window on demand and provides the operations to close the preview window, delete the buffer in preview window and switch the buffer in preview window in a new window. Quite simple, but useful.

    The script provides four commands:

    Pshow: open the definition of current word in preview window
    Pdelete: delete the buffer showing in preview window
    PshowORdelete: if the cursor is in preview window, delete the current buffer (like Pdelete); Otherwise open the definition of current word in preview window
    Pswitch: if the preview window is open, close it and open the buffer in a new window

    Vim also provides a "pclose" command to close the preview window, without deleting the buffer.

    Developer comments

    If you want to open the tag preview immediately when you put cursor on a word, please uncomment the last line of the script. However, I found automatically preview is kind of boresome, so I do not provide a switch of auto-preview in the script.

    Requirements:

    · Vim

    INSTALLATION:

    1. Put previewtag.vim in your vim plugin directory

    2. Key map is recommended, for example:
    map < F5 > :PshowORdelete < CR >
    map < S-F5 > :Pdelete< CR >
    map < C-F5 > :pclose < CR >
    map < F6 > :Pswitch < CR >

    Product's homepage

      


    TAGS:

    definition previewer | Vim script | Vim plugin | definition | previewer | window

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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