| Prev | Krusader Tools | Next |
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'.
Shift+F3views a URL on demand, e.g.:
man:/ views the manpages.
man:/ krusader views a manpage.
info:/ views the infopages.
http:// krusader.sourceforce.net/ views a webpage.
ftp:// ftp.kde.org/pub/kde/ views a ftp-server.
sftp:// sftp.foo/ views a secure ftp-server.
file:/ home/frank views the homedirectory of Frank.
/home/frank/archive.tar.gz views a 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).
Note
The embedded viewer is not written by us, it is supplied via KDE (libs) and KIOSlaves 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.
Tip
When you use Krusader's internal editor for the first time, it is recommended to look at each section of the Settingsmenu, and configure it the way you want it.
Most of the menus are quite self-explanatory. ;-)
Filemenu
- File->Save (Ctrl+S)
Save file.
- File->Save As
Save file with another name.
- File->Reload (F5)
Reload file.
- File->Export
Export the file to HTML format.
- File->Print (Ctrl+P)
Print the file.
Edit menu
- Edit->Undo (Ctrl+Z)
Undo last action.
- Edit->Redo (Ctrl+Shift+Z)
Redo last action.
- Edit->Cut (Ctrl+X)
Cut selected text to clipboard.
- Edit->Copy (Ctrl+C)
Copy selected text to clipboard.
- Edit->Paste (Ctrl+V)
Paste clipboard content to the document.
- Edit->Select All (Ctrl+A)
Select whole document.
- Edit->Deselect (Ctrl+Shift+A)
Deselect current selection.
- Edit->Block Selection Mode (Ctrl+Shift+B)
Toggle Block Selection, which will activate/deactivate the block selection possibility.
- Edit->Overwrite Mode (Insert)
Toggle Insert/Overwrite Mode.
- Edit->Find (Ctrl+F)
Find text.
- Edit->Find Next (F3)
Find next text.
- Edit->Find Previous (Shift+F3)
Find previous text.
- Edit->Replace (Ctrl+R)
Replace text.
- Edit->Go to line (Ctrl+G)
Go to given line number.
Viewmenu
- View->Switch to Command Line. (F7)
Display Command Line.
- View->Schema.
Set Schema e.g. Krusader Normal, Krusader Printing, Kate Normal, KWrite Normal.
- View->Dynamic Word Wrap (F10)
Go to the next line at the maximum number of characters per line (default 80).
- View->Dynamic Word Wrap Indicators
Off, Follow Line Numbers, Always On.
- View->Shows Static Word Wrap marker
- View->Show Icon Border (F6)
Shows Icon Border.
- View->Show Line Numbers (F11)
Shows the line numbers.
- View->Show Scrollbar Marks.
- View->Hide Folding Markers (F9)
- View->Code Folding.
- View->Set Encoding
e.g. ISO8859-1, utf8, utf16, tscii, ... .
Toolsmenu
- Tools->Read Only Mode
- Tools->Filetype Mode
- Tools->Highlight mode
Highlight mode for scripts, programming languages, markup file, etc.: e.g. HTML, Bash, C++, XML, Makefile, Diff, ....
- Tools->End of Line
Change the end of Line termination: UNIX®, Windows®/DOS, Macintosh®.
- Tools->Indent (Ctrl+I)
- Tools->Unindent (Ctrl+Shift+I)
- Tools->Clean Indentation
- Tools->Comment (Ctrl+D)
Add appropriate comment tags, if available.
- Tools->Uncomment (Ctrl+Shift+D)
Removes the comment tags on the left.
- Tools->Uppercase (Ctrl+U)
- Tools->Lowercase (Ctrl+Shift+U)
- Tools->Capitalize (Alt+Ctrl+U)
- Tools->Join Lines (Ctrl+J)
- Tools->Word Wrap Document
Settings -> Configure Editormenu
- Settings->Configure Editor->Colors
Color configuration for the: Background, Selected text, Current line and Bracket highlighting.
- Settings->Configure Editor->Fonts
Fonts configuration for display and printer: Font, font Style and Size, with a preview window.
- Settings->Configure Editor->Indentation
Indentation configuration: Automatically indent, use Spaces to indent, Tab Keys indent, Backspace key unindents, keep indent profile, keep extra spaces.
- Settings->Configure Editor->Selection
Selection configuration: Persistent selections, Overwrite selected text.
- Settings->Configure Editor->Editing
Editing configuration: Word Wrap config., Whitespace config, Auto brackets, Smart home, Wrap cursor, Maximum undo steps.
- Settings->Configure Editor->Shortcuts
Shortcuts configuration.
- Settings->Configure Editor->Highlighting
Highlighting configuration: Default styles and Highlight mode.
- Settings->Configure Editor->View defaults
View defaults: Dynamic word wrap, show Line numbers, show Icon border, show Folder markers if available, sort Bookmarks menu method.
- Settings->Configure Editor->Plugins
Plugins configuration: e.g. kTexteditor incremental search plugin, kTexteditor insert file plugin, kTexteditor kdatatoolplugin...
KrViewermenu
- KrViewer->Generic viewer (Ctrl+Shift+G)
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).
- KrViewer->Text viewer (Ctrl+T)
View the file in text mode.
- KrViewer->Hex viewer (Ctrl+Shift+H)
View the file in hex mode.
- KrViewer->Text editor (Ctrl+Shift+E)
Edit the file in text mode.
- KrViewer->Next Tab (Alt+Right)
Next browsing Tab.
- KrViewer->Previous Tab (Alt+Left)
Previous browsing Tab.
- KrViewer->Detach Tab (Ctrl+Shift+D)
Detach browsing Tab and open in a new window.
- KrViewer->Close current Tab. (Esc)
Close current browsing Tab.
- KrViewer->Close (CtrlQ)
Closes Krusader's viewer/editor window.
| Prev | Home | Next |
| KruSearcher: find what you are looking for | Up | Locate GUI Frontend |