To search
You are here : Linux > Linux > Text Editing&Processing > foldsearch 2209

foldsearch 2209

Freedownload8 rating:
GPL (GNU General Public License)
Nov 30, -1
Submit date:
Feb 15, 2015
Markus Braun
File size:

foldsearch 2209

by Markus Braun

foldsearch is a Vim plugin that provides commands that fold away lines that don't match a specific search pattern. This pattern can be the word under the cursor, the last search pattern, a regular expression or spelling errors. There are also commands to change the context of the shown lines.Commands::Fw [context*]show lines which contain the word under the cursor. Default [context] is 0.:Fs [context*]show lines which contain previous search pattern. Default [context] is 0.:Fp patternshow the lines that contain the regular expression. Context is 0.:FSshow the lines that contain spelling errors.:Flfold again with the last used pattern:Fc [context*]show context lines.:Fiincrement context by one line.:Fddecrement context by one line.:Feset modified fold options to their previous value* context can consist of one or two numbers. A 'unsigned' number defines the context before and after the pattern. If a number has a '-' prefix, it defines only the context before the pattern. If it has a '+' prefix, it defines only the context after a pattern.Mappings:< Leader >fsFoldSearch()< Leader >fwFoldCword()< Leader >flFoldLast()< Leader >fSFoldSpell()< Leader >fiFoldContextAdd(+1)< Leader >fdFoldContextAdd(-1)< Leader >feFoldSearchEnd()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 slow initially, but once the basics are understood they progress quickly. 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:· VimINSTALLATION:Copy the foldsearch.vim file to the $HOME/.vim/plugin directory. Refer to ':help add-plugin', ':help add-global-plugin' and ':help runtimepath' for more details about Vim plugins.


OS requirements for foldsearch 2209:

  • Download foldsearch 2209

User comments about foldsearch 2209

Comment foldsearch 2209

  1. What did you think of the program?

    Log in or Create Account to post a comment.
  2. Rate this software    
  1. Security Code: Captcha Image Change Image

Get Our News, Everywhere

Popular searches


Text Editing&Processing