Shortcuts
Prev
Next

Shortcuts

Many of the shortcuts are configurable by way of the Settings menu. By default KWrite honors the following shortcuts:

Insert

Toggle between Insert and Overwrite mode. When in insert mode the editor will add any typed characters to the text while pushing along any data to the right of the text cursor. Overwrite mode causes the entry of each character to eliminate the character immediately to the right of the text cursor.

Left Arrow

Move the cursor one character to the left

Right Arrow

Move the cursor one character to the right

Up Arrow

Move the cursor up one line

Down Arrow

Move the cursor down one line

Page Up

Move the cursor up one page

Alt+Page Up

Previous Bookmark

Page Down

Move the cursor down one page

Alt+Page Down

Next Bookmark

Backspace

Delete the character to the left of the cursor

Home

Move the cursor to the beginning of the line

End

Move the cursor to the end of the line

Delete

Delete the character to the right of the cursor (or any selected text)

Shift+Left Arrow

Mark text one character to the left

Shift+Right Arrow

Mark text one character to the right

F1

Help

Shift+F1

What's this?

F3

Find again

Shift+F3

Find Previous

Ctrl+A

Select All

Ctrl+Shift+A

Deselect

Ctrl+Shift+B

Block Selection Mode

Ctrl+B

Set a Bookmark

Ctrl+C

Copy the marked text to the clipboard.

Ctrl+D

Comment

Ctrl+Shift+D

Uncomment

Ctrl+F

Find

Ctrl+G

Go to line...

Ctrl+I

Indent selection

Ctrl+Shift+I

Unindent selection

Ctrl+J

Join Lines

Ctrl+N

New document

Ctrl+O

Open a document

Ctrl+P

Print

Ctrl+Q

Quit - close active copy of editor

Ctrl+R

Replace

Ctrl+S

Invokes the Save command.

Ctrl+U

Uppercase

Ctrl+Shift+U

Lowercase

Alt+Ctrl+U

Capitalize

Ctrl+V

Paste the clipboard text into line edit.

Ctrl+W

Close

Ctrl+X

Delete the marked text and copy it to the clipboard.

Ctrl+Z

Undo

Ctrl+Shift+Z

Redo

Ctrl+-

Collapse One Local Level

Ctrl+Shift+-

Collapse Toplevel

Ctrl++

Expand One Local Level

Ctrl+Shift++

Expand Toplevel

F5

Reload

F6

Show/Hide Icon Border

F7

Switch to Command Line

F9

Show/Hide Folding Markers

F10

Dynamic Word Wrap

F11

Show/Hide Line Numbers

Prev
Next
Home


Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team