DIFFUSE(1)

πŸ“¦
version 0.11.0 Β· 3 versions
, in arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute

πŸ’– NAME πŸ’–

diffuse β€” a graphical tool for merging and comparing text files. That's the whole vibe bestie, and it's iconic fr.


✨ SYNOPSIS ✨

diffuse [-h | -? | --help | -v | --version]

diffuse [--no-rcfile | --rcfile file] [[option...] | [file...]...]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so listen. Diffuse is a graphical tool for merging and comparing text files. And when I say it compares files, I mean it will lowkey compare an arbitrary number of files side-by-side (no cap, as many as you want) and it hands you the power to manually adjust line matching AND directly edit files. Main character energy tbh.

And it doesn't stop there β€” Diffuse can also pull revisions of files out of Bazaar, CVS, Darcs, Git, Mercurial, Monotone, RCS and Subversion repositories, for comparison and merging. Vers, we're literally covered. πŸ’…


🌈 OPTIONS 🌈

πŸŽ€ Help Options

Heads up bestie: if you specify a help option, it has to be the only argument on the command line. Diffuse will quit immediately after showing you the help info β€” like, instantly, no goodbyes.
  • -h, -?, --help β€” Displays usage information.
  • -v, --version β€” Displays the version number and copyright information.

🧚 Configuration Options

Another rule, sorry: if you specify a configuration option, it must be the first argument on the command line. First or nothing, periodt.
  • --no-rcfile β€” Do not read any initialisation files. Zero. None. Skipping them entirely.
  • --rcfile file β€” Only read initialisation commands from file.

πŸ”₯ General Options

  • -c, --commit rev β€” Opens separate file comparison tabs for all files affected by commit rev, from the remaining paths you specified in the command line arguments.
  • -D, --close-if-same β€” Closes all tabs with no differences. If it's the same, it's outta here.
  • -e, --encoding codec β€” Uses codec to read and write files.
  • -L, --label label β€” Displays label instead of the file name.
  • -m, --modified β€” Opens separate file comparison tabs for all modified files from the remaining paths specified in the command line arguments.
  • -r, --revision rev β€” Includes revision rev of the next file named in the command line arguments in a file comparison tab.
  • -s, --separate β€” Opens all remaining files specified in the command line arguments in separate file comparison tabs.
  • -t, --tab β€” Starts a new tab for any remaining files named in the command line arguments.
  • -V, --vcs vcs-list β€” Searches for version control systems in the ordering: vcs-list.
  • --line line β€” Starts with line line selected.
  • --null-file β€” Creates a blank file comparison pane. Empty. A fresh canvas bestie. 🎨

πŸ’œ Display Options

The display options you put in the command line arguments will override saved preference values. Your saved prefs are getting overruled, sorry not sorry.
  • -b, --ignore-space-change β€” Ignores changes to the amount of white space.
  • -B, --ignore-blank-lines β€” Ignores changes whose lines are all blank.
  • -E, --ignore-end-of-line β€” Ignores end of line differences.
  • -i, --ignore-case β€” Ignores case differences in file contents.
  • -w, --ignore-all-space β€” Ignores all white space.

🌸 FILE COMPARISON 🌸

Use the File β†’ New 2-Way File Merge, File β†’ New 3-Way File Merge, and File β†’ New N-Way File Merge menu items to create extra tabs for comparing text files. You can specify file names and revisions either in the command line arguments you used to invoke Diffuse, or in the fields on the Open File dialogue. Either way works, queen. πŸ‘‘

Diffuse displays files side-by-side, inserting gaps to align similar lines of text. Differences are highlighted with a different background colour β€” so you can literally see the drama.

🫢 Comparison Summary

A summary of the compared files lives in the far right margin. The summary illustrates where gaps have been inserted to align matching lines of text and highlights differences using colour. Manual edits also get highlighted in green. A blue cursor identifies the region currently being viewed, and you can change the viewed region by clicking anywhere on the summary. Click around, it's fun, it's giving navigation.

⭐ Selecting

Lines of text can be selected with the mouse pointer or the keyboard.

Select lines with the mouse pointer by clicking on a line. Click and drag to select multiple lines. Holding down the shift key while clicking will extend the current selection.

Select lines with the keyboard by pressing the page up/down or arrow keys. Extend the current selection by holding down the shift key and pressing the page up/down or arrow keys. Move the selection to an adjacent file using the left and right arrow keys.

πŸ’« Matching Lines

The mouse pointer or keyboard can be used to manually align lines of text with adjacent files.

  • With the mouse pointer: select a line of text with the left mouse button, right click on a line of text from an adjacent file, and choose Align with Selection.
  • With the keyboard: move the selection with the cursor keys, press the space bar to pick the current line of text, move the selection with the cursor keys to a line of text in an adjacent file, and press the space bar to pick the target line of text. Pressing the Escape key will cancel the operation.

Use the Isolate menu item to prevent the selected lines from being matched with any lines from the adjacent files. Sometimes you gotta set boundaries bestie. 🚫

πŸŽ€ Editing

Press the Enter key or double-click on a text area to enter text editing mode. The cursor will change to indicate text editing mode and the status bar at the bottom of the window will display the cursor's column position.

In text editing mode, text can be selected with the mouse pointer by click and dragging. The current selection can be extended by holding down the shift key and moving the cursor by clicking with the mouse pointer or pressing any of the arrow, home, end or page up/down keys. Individual words can be selected by double-clicking on them with the mouse pointer. Whole lines can be selected by triple-clicking on them with the mouse pointer.

Modify text by typing on the keyword. Modified lines will be highlighted in green. Use the Undo and Redo menu items to undo and redo the previously preformed operations.

Press the Escape key or click on another file's text area using the left mouse button to leave editing mode. Exit gracefully, periodt.

πŸ¦‹ Merging

Use the difference buttons or menu items to navigate between blocks of differences within a file. When navigating, Diffuse will move the selection to the next continuous set of lines with differences or edits.

Use the merge buttons or menu items to copy blocks of text into the selected range of lines. The Undo and Redo menu items can be used to undo and redo the previously preformed operations. All changes to a set of lines can be reverted using the Clear Edits menu item, regardless of the order the edits were performed. Clean slate energy. ✨


πŸ‘‘ VERSION CONTROL πŸ‘‘

Diffuse can retrieve file revisions from several version control systems via their command line interface. The Microsoft Windows build of Diffuse is able to use both the Cygwin and native versions of the supported version control systems. When using Diffuse with Cygwin, make sure Diffuse's Cygwin preferences correctly describe your system. If the Update paths for Cygwin preference exists for a version control system, it must be enabled to use the Cygwin version.

Version control systems are sensitive to the system path and other environment variable settings. The Launch from a Bash login shell preference may be used to easily set the environment for Cygwin version control systems.

πŸ’… Viewing Uncommitted Modifications

The -m option will cause Diffuse to open comparison tabs for each file the version control system indicates has uncommitted modifications. This is convenient for reviewing all changes before committing or resolving a merge conflict. If no paths are specified, the current working directory will be used. For example, view all of your uncommitted modifications with this command line:

$ diffuse -m

The default revision of a file will be used for comparison if only one file is specified. For example, this will display a 2-way merge between the default revision of foo.C and the local foo.C file:

$ diffuse foo.C

🌈 Specifying Revisions

The -r option may also be used to explicitly specify a particular file revision. Any revision specifier understood by the version control system may be used. The local file will be used for comparison if only one file revision is specified. For example, this will display a 2-way merge between revision 123 of foo.C and the local foo.C file:

$ diffuse -r 123 foo.C

Multiple file revisions can be compared by specifying multiple -r options. For example, this will display a 2-way merge between revision 123 of foo.C and revision 321 of foo.C:

$ diffuse -r 123 -r 321 foo.C

Local files can be mixed with files from the version control system. For example, this will display a 3-way merge between revision MERGE_HEAD of foo.C, the local foo.C file, and revision HEAD of foo.C:

$ diffuse -r MERGE_HEAD foo.C foo.C -r HEAD foo.C

The -c option may be used to easily specify a pair of sequential revisions. For example, this will display a 2-way merge between revision 1.2.2 of foo.C and revision 1.2.3 of foo.C:

$ diffuse -c 1.2.3 foo.C

Diffuse does not limit the number of panes that can be used for comparing files. The inputs to a Git octopus merge could be viewed with a command line like this:

$ diffuse -r HEAD^1 -r HEAD^2 -r HEAD^3 -r HEAD^4 -r HEAD^5 foo.C

πŸ“ RESOURCES πŸ“

Resources can be used to customise several aspects of Diffuse's appearance and behaviour β€” like changing the colours used in the user interface, customising the keyboard shortcuts, adding or replacing syntax highlighting rules, or changing the mapping from file extensions to syntax highlighting rules. Glow-up capabilities, honestly.

When Diffuse is started, it will read commands from the system wide initialisation file /etc/diffuserc (%INSTALL_DIR%\diffuserc on Microsoft Windows) and then the personal initialisation file ~/.config/diffuse/diffuserc (%HOME%\.config\diffuse\diffuserc on Microsoft Windows). This behaviour can be changed with the --no-rcfile and --rcfile configuration options. A Bourne shell-like lexical analyser is used to parse initialisation commands. Comments and special characters can be embedded using the same style of escaping used in Bourne shell scripts.

🧚 General

  • import file β€” Processes initialisation commands from file. Initialisation files will only be processed once.

πŸŽ€ Key Bindings

  • keybinding context action key_combination β€” Binds a key combination to action when used in context. Specify Shift and Control modifiers by prepending Shift+ and Ctrl+ to key_combination respectively. Keys normally modified by the Shift key should be specified using their modified value if key_combination involves the Shift key. For example, Ctrl+g and Shift+Ctrl+G. Remove bindings for key_combination by specifying None for the action.

Use menu for the context to define key bindings for menu items. The following values are valid for action:

  • open_file β€” okay so bestie, this is literally the File β†’ Open File... menu item. Default: Ctrl+o. πŸ’–
  • open_file_in_new_tab β€” the File β†’ Open File In New Tab... menu item, no cap. Default: Ctrl+t. ✨
  • open_modified_files β€” hits the File β†’ Open Modified Files... menu item. Default: Shift+Ctrl+O. πŸ¦‹
  • open_commit β€” the File β†’ Open Commit... menu item. Default: Shift+Ctrl+T. 🌸
  • reload_file β€” File β†’ Reload File menu item. Default: Shift+Ctrl+R. πŸ”„
  • save_file β€” the File β†’ Save File menu item. Default: Ctrl+s. πŸ’Ύ
  • save_file_as β€” File β†’ Save File As... menu item. Default: Shift+Ctrl+A. πŸ“
  • save_all β€” the File β†’ Save All menu item. Default: Shift+Ctrl+S. βœ…
  • new_2_way_file_merge β€” File β†’ New 2-Way File Merge menu item. Default: Ctrl+2. πŸŽ€
  • new_3_way_file_merge β€” File β†’ New 3-Way File Merge menu item. Default: Ctrl+3. πŸ’…
  • new_n_way_file_merge β€” File β†’ New N-Way File Merge menu item. Default: Ctrl+4. 🌈
  • close_tab β€” the File β†’ Close Tab menu item. Default: Ctrl+w. ✌️
  • undo_close_tab β€” File β†’ Undo Close Tab menu item. Default: Shift+Ctrl+w. ↩️
  • quit β€” File β†’ Quit menu item. Default: Ctrl+q. πŸ‘‹
  • undo β€” Edit β†’ Undo menu item. Default: Ctrl+z. 😭
  • redo β€” Edit β†’ Redo menu item. Default: Shift+Ctrl+Z. πŸ”
  • cut β€” Edit β†’ Cut menu item. Default: Ctrl+x. βœ‚οΈ
  • copy β€” Edit β†’ Copy menu item. Default: Ctrl+c. πŸ“‹
  • paste β€” Edit β†’ Paste menu item. Default: Ctrl+v. πŸ“Ž
  • select_all β€” Edit β†’ Select All menu item. Default: Ctrl+a. 🫢
  • clear_edits β€” Edit β†’ Clear Edits menu item. Default: Ctrl+r. 🧹
  • dismiss_all_edits β€” Edit β†’ Dismiss All Edits menu item. Default: Ctrl+d. πŸ’€
  • find β€” Edit β†’ Find... menu item. Default: Ctrl+f. πŸ”
  • find_next β€” Edit β†’ Find Next menu item. Default: Ctrl+g. ➑️
  • find_previous β€” Edit β†’ Find Previous menu item. Default: Shift+Ctrl+G. ⬅️
  • go_to_line β€” Edit β†’ Go To Line... menu item. Default: Shift+Ctrl+L. πŸ“
  • preferences β€” Edit β†’ Preferences menu item. Default: None. βš™οΈ
  • no_syntax_highlighting β€” View β†’ Syntax Highlighting β†’ None menu item. Default: None. 🚫
  • syntax_highlighting_syntax β€” View β†’ Syntax Highlighting β†’ syntax menu item. Default: None. 🎨
  • realign_all β€” View β†’ Realign All menu item. Default: Ctrl+l. πŸ“
  • isolate β€” View β†’ Isolate menu item. Default: Ctrl+i. 🏝️
  • first_difference β€” View β†’ First Difference menu item. Default: Shift+Ctrl+Up. ⏫
  • previous_difference β€” View β†’ Previous Difference menu item. Default: Ctrl+Up. πŸ”Ό
  • next_difference β€” View β†’ Next Difference menu item. Default: Ctrl+Down. πŸ”½
  • last_difference β€” View β†’ Last Difference menu item. Default: Shift+Ctrl+Down. ⏬
  • first_tab β€” View β†’ First Tab menu item. Default: Shift+Ctrl+Page_Up. πŸ₯‡
  • previous_tab β€” View β†’ Previous Tab menu item. Default: Ctrl+Page_Up. ⬆️
  • next_tab β€” View β†’ Next Tab menu item. Default: Ctrl+Page_Down. ⬇️
  • last_tab β€” View β†’ Last Tab menu item. Default: Shift+Ctrl+Page_Down. 🏁
  • shift_pane_right β€” View β†’ Shift Pane Right menu item. Default: Shift+Ctrl+parenleft. ➑️
  • shift_pane_left β€” View β†’ Shift Pane Left menu item. Default: Shift+Ctrl+parenright. ⬅️
  • convert_to_upper_case β€” Format β†’ Convert To Upper Case menu item. Default: Ctrl+u. πŸ” 
  • convert_to_lower_case β€” Format β†’ Convert To Lower Case menu item. Default: Shift+Ctrl+U. πŸ”‘
  • sort_lines_in_ascending_order β€” Format β†’ Sort Lines In Ascending Order menu item. Default: Ctrl+y. πŸ”’
  • sort_lines_in_descending_order β€” Format β†’ Sort Lines In Descending Order menu item. Default: Shift+Ctrl+Y. πŸ”£
  • remove_trailing_white_space β€” Format β†’ Remove Trailing White Space menu item. Default: Ctrl+k. 🧽
  • convert_tabs_to_spaces β€” Format β†’ Convert Tabs To Spaces menu item. Default: Ctrl+b. ➑️
  • convert_leading_spaces_to_tabs β€” Format β†’ Convert Leading Spaces To Tabs menu item. Default: Shift+Ctrl+B. ⬅️
  • increase_indenting β€” Format β†’ Increase Indenting menu item. Default: Shift+Ctrl+greater. πŸ“ˆ
  • decrease_indenting β€” Format β†’ Decrease Indenting menu item. Default: Shift+Ctrl+less. πŸ“‰
  • convert_to_dos β€” Format β†’ Convert To DOS Format menu item. Default: Shift+Ctrl+E. πŸ’Ύ
  • convert_to_mac β€” Format β†’ Convert To Mac Format menu item. Default: Shift+Ctrl+C. 🍎
  • convert_to_unix β€” Format β†’ Convert To Unix Format menu item. Default: Ctrl+e. 🐧
  • copy_selection_right β€” Merge β†’ Copy Selection Right menu item. Default: Shift+Ctrl+Right. ➑️
  • copy_selection_left β€” Merge β†’ Copy Selection Left menu item. Default: Shift+Ctrl+Left. ⬅️
  • copy_left_into_selection β€” Merge β†’ Copy Left Into Selection menu item. Default: Ctrl+Right. πŸ‘ˆ
  • copy_right_into_selection β€” Merge β†’ Copy Right Into Selection menu item. Default: Ctrl+Left. πŸ‘‰
  • merge_from_left_then_right β€” Merge β†’ Merge From Left Then Right menu item. Default: Ctrl+m. πŸ”€
  • merge_from_right_then_left β€” Merge β†’ Merge From Right Then Left menu item. Default: Shift+Ctrl+M. πŸ”
  • help_contents β€” Help β†’ Help Contents menu item. Default: F1. ❓
  • about β€” Help β†’ About menu item. Default: None. ℹ️

πŸ’… Line Editing Mode Key Bindings πŸ’…

bestie, use line_mode for the context to define key bindings for line editing mode. the following values are valid for action, periodt:

  • enter_align_mode β€” enter alignment editing mode. Default: space. ✨
  • enter_character_mode β€” enter character editing mode. Defaults: Return, KP_Enter. πŸ’–
  • first_line β€” move cursor to the first line. Defaults: Home, g. 🏠
  • extend_first_line β€” move cursor to the first line, extending the selection. Default: Shift+Home. ⬆️
  • last_line β€” move cursor to the last line. Defaults: End, Shift+G. 🏁
  • extend_last_line β€” move cursor to the last line, extending the selection. Default: Shift+End. ⬇️
  • up β€” move cursor up one line. Defaults: Up, k. ⬆️
  • extend_up β€” move cursor up one line, extending the selection. Defaults: Shift+Up, Shift+K. πŸ”Ό
  • down β€” move cursor down one line. Defaults: Down, j. ⬇️
  • extend_down β€” move cursor down one line, extending the selection. Defaults: Shift+Down, Shift+J. πŸ”½
  • left β€” move cursor left one file. Defaults: Left, h. ⬅️
  • extend_left β€” move cursor left one file, extending the selection. Default: Shift+Left. πŸ‘ˆ
  • right β€” move cursor right one file. Defaults: Right, l. ➑️
  • extend_right β€” move cursor right one file, extending the selection. Default: Shift+Right. πŸ‘‰
  • page_up β€” move cursor up one page. Defaults: Page_Up, Ctrl+u. πŸ“„
  • extend_page_up β€” move cursor up one page, extending the selection. Defaults: Shift+Page_Up, Shift+Ctrl+u. πŸ“‘
  • page_down β€” move cursor down one page. Defaults: Page_Down, Ctrl+d. πŸ“ƒ
  • extend_page_down β€” move cursor down one page, extending the selection. Defaults: Shift+Page_Down, Shift+Ctrl+d. πŸ“‹
  • delete_text β€” delete the selected text. Defaults: BackSpace, Delete, x. πŸ—‘οΈ
  • first_difference β€” select the first difference. Defaults: Ctrl+Home, Shift+P. πŸ₯‡
  • previous_difference β€” select the previous difference. Default: p. πŸ”Ό
  • next_difference β€” select the next difference. Default: n. πŸ”½
  • last_difference β€” select the last difference. Defaults: Ctrl+End, Shift+N. 🏁
  • clear_edits β€” clear all edits from the selected lines. Default: r. 🧹
  • copy_selection_left β€” copy lines from the selection into the file on the left. Default: None. ⬅️
  • copy_selection_right β€” copy lines from the selection into the file on the right. Default: None. ➑️
  • copy_left_into_selection β€” copy lines from the file on the left into the selection. Default: Shift+L. πŸ‘ˆ
  • copy_right_into_selection β€” copy lines from the file on the right into the selection. Default: Shift+H. πŸ‘‰
  • merge_from_left_then_right β€” merge lines from file on the left then file on the right. Default: m. πŸ”€
  • merge_from_right_then_left β€” merge lines from file on the right then file on the left. Default: Shift+M. πŸ”
  • isolate β€” isolate the selected lines. Default: i. 🏝️

✨ Alignment Editing Mode Key Bindings ✨

use align_mode for the context to define key bindings for alignment editing mode. these are the valid values for action:

  • enter_line_mode β€” enter line editing mode. Default: Escape. πŸšͺ
  • enter_character_mode β€” enter character editing mode. Defaults: Return, KP_Enter. πŸ’–
  • first_line β€” move cursor to the first line. Default: g. 🏠
  • last_line β€” move cursor to the last line. Default: Shift+G. 🏁
  • up β€” move cursor up one line. Defaults: Up, k. ⬆️
  • down β€” move cursor down one line. Defaults: Down, j. ⬇️
  • left β€” move cursor left one file. Defaults: Left, h. ⬅️
  • right β€” move cursor right one file. Defaults: Right, l. ➑️
  • page_up β€” move cursor up one page. Defaults: Page_Up, Ctrl+u. πŸ“„
  • page_down β€” move cursor down one page. πŸ“ƒ

Defaults: Page_Down, Ctrl+d β€” that's just the tail end of the last action's bullet from before, bestie, we're still deep in key-binding territory πŸ’…

  • align β€” slides the line you picked so it lines up with wherever your cursor is sitting. It's giving "make it match, make it cute". Default: space

πŸŽ€ Character Editing Mode Key Bindings πŸŽ€

okay so when you're living in character editing mode, you set up your keys with the character_mode context. Here's what you can pass as action:

  • enter_line_mode β€” bounces you into line editing mode. Default: Escape

🌸 Strings 🌸

  • string name value β€” declares a string resource called name whose value is value. That's it, that's the whole vibe.

✨ Used String Resources ✨

These are the string resources Diffuse actually reaches for:

  • difference_colours β€” a list of colour resources used to flag differences. Default: difference_1 difference_2 difference_3

🎨 Colours 🎨

  • [ colour | color ] name red green blue β€” declares a colour resource called name. Each individual colour component gets written as a value between 0 and 1. Yes, colour and color both work β€” Diffuse said "spelling is a construct" 🫢

πŸ’– Used Colour Resources πŸ’–

Here's every colour resource Diffuse uses, no gatekeeping:

  • alignment β€” colour used to indicate a line picked for manual alignment. Default: 1 1 0
  • character_selection β€” colour used to indicate selected characters. Default: 0.7 0.7 1
  • cursor β€” colour used for the cursor. Default: 0 0 0
  • difference_1 β€” colour used to identify differences between the first pair of files. Default: 1 0.625 0.625
  • difference_2 β€” colour used to identify differences between the second pair of files. Default: 0.85 0.625 0.775
  • difference_3 β€” colour used to identify differences between the third pair of files. Default: 0.85 0.775 0.625
  • edited β€” colour used to indicate edited lines. Default: 0.5 1 0.5
  • hatch β€” colour used for indicating alignment gaps. Default: 0.8 0.8 0.8
  • line_number β€” colour used for line numbers. Default: 0 0 0
  • line_number_background β€” background colour for the line number area. Default: 0.75 0.75 0.75
  • line_selection β€” colour used to indicate selected lines. Default: 0.7 0.7 1
  • map_background β€” background colour for the map area. Default: 0.6 0.6 0.6
  • margin β€” colour used to indicate the right margin. Default: 0.8 0.8 0.8
  • preedit β€” pre-edit text colour. Default: 0 0 0
  • text β€” regular text colour. Default: 0 0 0
  • text_background β€” background colour for the text area. Default: 1 1 1

πŸ¦‹ Floating Point Values πŸ¦‹

  • float name value β€” declares a floating point resource called name whose value is value.

⭐ Used Floating Point Resources ⭐

The float resources Diffuse uses:

  • alignment_opacity β€” opacity used when compositing the manual alignment colour. Defaults: 1
  • character_difference_opacity β€” opacity used when compositing character difference colours. Defaults: 0.4
  • character_selection_opacity β€” opacity used when compositing the character selection colour. Defaults: 0.4
  • edited_opacity β€” opacity used when compositing the edited line colour. Defaults: 0.4
  • line_difference_opacity β€” opacity used when compositing line difference colours. Defaults: 0.3
  • line_selection_opacity β€” opacity used when compositing the line selection colour. Defaults: 0.4

🌈 Syntax Highlighting 🌈

this is the main character of the config file, ngl. pay attention bestie πŸ‘‘

  • syntax name [initial_state default_tag] β€” declares a brand new syntax style called name. Syntax highlighting runs on a simple state machine that transitions between states whenever certain patterns get matched. The starting state for that machine is initial_state. Any characters that no pattern matches get tagged as default_tag for highlighting. Wanna delete the syntax style called name? Just leave out initial_state and default_tag. Gone. Blocked. πŸ’€
  • syntax_files name [pattern] β€” says that files whose name matches pattern should be highlighted with the syntax style called name. Wanna remove patterns used to match files for the syntax style called name? Omit pattern.
  • syntax_magic name [pattern [ignorecase]] β€” says that files whose first line matches pattern should be highlighted with the syntax style called name. Wanna remove patterns used to match files for the syntax style called name? Omit pattern.
  • syntax_pattern name initial_state final_state tag pattern [ignorecase] β€” adds a pattern to the syntax style you declared just before this. Patterns get tried one at a time, in the order they were declared, until the first match is found β€” first come, first served, no cutting the line. A pattern only gets used to match characters when the state machine is sitting in the state initial_state. If the pattern defined by pattern matches, the state machine transitions to final_state. Case insensitive pattern matching kicks in if ignorecase is specified. Every character matched by the pattern gets tagged as tag for highlighting.

πŸ“ FILES πŸ“

These are the files Diffuse uses:

  • /etc/diffuserc β€” system wide initialisations (%INSTALL_DIR%\diffuserc on Microsoft Windows)
  • /usr/share/diffuse/syntax/*.syntax β€” syntax files for various languages (%INSTALL_DIR%\syntax\*.syntax on Microsoft Windows)
  • ~/.config/diffuse/diffuserc β€” your initialisations (%HOME%\.config\diffuse\diffuserc on Microsoft Windows)
  • ~/.config/diffuse/prefs β€” your saved preferences (%HOME%\.config\diffuse\prefs on Microsoft Windows)
  • ~/.local/share/diffuse/state β€” data persistent across sessions (%HOME%\.local\share\diffuse\state on Microsoft Windows)

πŸ‘‘ AUTHOR πŸ‘‘

Diffuse was written by Derrick Moser <derrick_moser@yahoo.com>.

Β© 2006-2014 Derrick Moser. All Rights Reserved.


πŸ’œ COPYING πŸ’œ

Diffuse is free software; you may redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the licence, or (at your option) any later version.


and that's the whole page bestie, you made it to the end 🫢 this was diffuse version 0.4.8, dated 2014-07-18, and honestly? iconic. go diff some files. periodt πŸ’…βœ¨