

Pressing Enter on a selected file opens the file with the associated application. The editor-viewer is tabbed, configure it on the Konfigurator General page
To view a file as fast as possible according to its type, just put it under the cursor and press F3. Krusader's internal viewer is actually a part of Konqueror, which can basically view every file type viewable by Konqueror (e.g. display pictures, play music, show the content of an archive). This is called the 'Generic viewer', for which you need to configure the mime types.
The viewer works as follows:
It tries to view the file with the 'Generic viewer'.
When the file type (mime type) cannot be determined or when a file (e.g. a binary) doesn't have an associated action, it disables the 'generic viewer'. The file is treated as a text file, which is the 'Text viewer'.
The user can change in the KrViewer menu between: 'Generic viewer' (if available), 'Text viewer' and 'Hex viewer'.
You can configure the default viewer mode on the Konfigurator General page .
Shift+F3 views a URL on demand, e.g.:
man:/
views the manpages.
man:/
views a manpage.krusader
info:/
views the infopages.
http://
views a webpage.krusader.sourceforce.net/
ftp://
views a ftp-server.ftp.kde.org/pub/kde/
sftp://
views a secure ftp-server.sftp.foo/
file:/
views the homedirectory of Frank.home/frank
views a
/home/frank/archive.tar.gz
tar.gz archive.
KrViewer can have the following menus: File, Edit, View, Settings and Krviewer, depending on which file type is viewed. They will be discussed in the Editor section. The internal viewer can follow links on HTML pages. With Ctrl+E the viewer can start Krusader's internal editor (which is basically the same application).
The embedded viewer is not written by us, it is supplied via KDE (libs) and KIO Slaves. We cannot and do not want to change it, usings these libraries reduces the amount of written code. So we do not have to reinvent the wheel ;-)
Krusader's internal editor has almost everything that you can expect of an editor. Editing is similar to viewing but with the F4 key. The default editor is Krusader's internal editor. You can change the default editor in the Konfigurator General page, if you prefer to use an external editor.
When you use Krusader's internal editor for the first time, it is recommended to look at each section of the Settings menu, and configure it the way you want it.
Most of the menus are quite self-explanatory. ;-)
menu
Save file.
Save file with another name.
Reload file.
Export the file to
HTML format.
Print the file.
menu
Undo last action.
Redo last action.
Cut selected text to clipboard.
Copy selected text to clipboard.
Paste clipboard content to the document.
Select whole document.
Deselect current selection.
Toggle Block Selection, which will activate/deactivate the block selection possibility.
Toggle Insert/Overwrite Mode.
Find text.
Find next text.
Find previous text.
Replace text.
Go to given line number.
menu
Display Command Line.
Set Schema e.g. Krusader Normal, Krusader Printing, Kate Normal, KWrite Normal.
Go to the next line at the maximum number of characters per line (default 80).
Off, Follow Line Numbers, Always On.
Shows Icon Border.
Shows the line numbers.
If this option is checked the current view will show marks on the vertical scrollbar. These marks will for instance show bookmarks.
e.g. ISO8859-1, utf8, utf16, tscii, ... .
menu
Highlight mode for scripts, programming languages,
markup file, etc.: e.g.
HTML, Bash, C++, XML, Makefile,
Diff, ....
Change the end of Line termination: UNIX®, Windows®/DOS, Macintosh®.
Add appropriate comment tags, if available.
Removes the comment tags on the left.
menu
Color configuration for the: Background, Selected text, Current line and Bracket highlighting.
Fonts configuration for display and printer: Font, font Style and Size, with a preview window.
Indentation configuration: Automatically indent, use Spaces to indent, Tab Keys indent, Backspace key unindents, keep indent profile, keep extra spaces.
Selection configuration: Persistent selections, Overwrite selected text.
Editing configuration: Word Wrap config, Whitespace config, Auto brackets, Smart home, Wrap cursor, Maximum undo steps.
Shortcuts configuration.
Highlighting configuration: Default styles and Highlight mode.
View defaults: Dynamic word wrap, show line numbers, show icon border, show fold markers if available, sort bookmarks menu method.
Plugins configuration: e.g. kTexteditor incremental search plugin, kTexteditor insert file plugin, kTexteditor kdatatoolplugin...
menu
Krusader's internal viewer is actually part of Konqueror, which can basically view every file type viewable by Konqueror (e.g. display pictures, play music, show the content of an archive).
View the file in text mode.
View the file in hex mode.
Fast text/hex viewer for huge filesizes, done by Krusader lister.
Edit the file in text mode.
Next browsing Tab.
Previous browsing Tab.
Detach browsing Tab and open in a new window.
Close current browsing Tab.
Closes Krusader's viewer/editor window.