aboutsummaryrefslogtreecommitdiff
path: root/doc/05_FileNavigation.md
blob: 93e7f9d9490135c6971916becf24e5d48a95cb8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File Navigation

## Bookmarks

You can place bookmarks on lines in buffers to jump back to them later. Use the
`Tools -> Bookmark` menu options or key commands to do so.

## Goto Line

To jump to a specific line in a file, press `Ctrl+J` (`⌘J` on Mac OSX | `^J` in
ncurses) and specify the line number in the prompt and press `Enter` (`↩` |
`Enter`) or select `OK`.

## Goto Matching Brace

By default, Textadept will highlight the matching brace characters under the
caret : `(`, `)`, `[`, `]`, `{`, `}`, `<`, and `>`. Pressing `Ctrl+M` (`^M` on
Mac OSX | `M-M` in ncurses) moves the caret to that matching brace and
`Ctrl+Shift+M` (`^⇧M` | `M-S-M`) extends the selection.

![Matching Braces](images/matchingbrace.png)

## Mac OSX and ncurses

Textadept supports the keybindings you are accustomed to for navigating text
fields in Mac OSX and entering commands in the Linux/BSD terminal.