Chapter 3. Using Bluefish

Table of Contents

Starting Bluefish
.. Command line options
The user interface
Working with files
.. Creating files
.. Opening files
.. Saving files
.. Renaming files
.. Closing files
.. Inserting files
.. Editing
... Undo and Redo
... Cut, Copy, and Paste
... Input methods
.. Basic Find and Replace
... Searching for a word within a whole document
... Setting limits to the search scope
... Case sensitive search
... Overlapping searches
... Retrieving previous search strings
... More on find
... Replacing features
... Retrieving previous replace strings
... Changing letter case when replacing
... Choosing strings to replace
... More on replace
.. File types
... Syntax highlighting
.. More on files
... Remote files
... Character encoding
... Open advanced
Navigation and Managing documents
.. Navigating through a document
.. Navigating through many documents
.. Projects
.. Bookmarks
... Generating several bookmarks at once
.. Find and Replace
... Find Again
... Find from Selection
... Find and Replace Using Regular Expressions
More than a Text Editor
.. Indenting
.. Auto tag closing
.. Spell checker
.. Function reference
.. HTML
... Special find an replace features
... Thumbnail generation
.. Customizing the Quick bar
.. Custom menu
.. External programs, filters
Customising Bluefish
.. Modifying shortcut keys
.. Editor preferences
.. Modifying file types
.. Modifying the files filters
.. Modifying the highlighting patterns

In this chapter, most of the functionalities of Bluefish are described. What you can do, how you do it, and how you can customize the default behavior.

Starting Bluefish

In GNOME, Bluefish can be started from the Applications/Programming menu. From a terminal, simply launch bluefish using the command bluefish.

Command line options

There are several useful command line options:

-s

skip root check

-v

display the current version

-n

open a new window

-p filename

open a project

-h

display this help screen

Many programs like browsers, email clients and file managers can be configured to open files in Bluefish. For example, bluefish '%s' will open a file in the current window, bluefish -n '%s' will open a file in a new window, and bluefish -p '%s' will open a project file.