1Reads and displays file contents with line numbers for examining code, logs, or text data.
4- Provide file path to read
5- Optional offset: start reading from specific line (0-based)
6- Optional limit: control lines read (default 2000)
7- Don't use for directories (use LS tool instead)
8- Supports image files (PNG, JPEG, GIF, BMP, SVG, WebP)
12- Displays contents with line numbers
13- Can read from any file position using offset
14- Handles large files by limiting lines read
15- Auto-truncates very long lines for display
16- Suggests similar filenames when file not found
17- Renders image files directly in terminal
22- Default limit: 2000 lines
23- Lines >2000 chars truncated
24- Binary files (except images) cannot be displayed
28- Handles Windows (CRLF) and Unix (LF) line endings
29- Works with forward slashes (/) and backslashes (\)
30- Auto-detects text encoding for common formats
34- Use with Glob to find files first
35- For code exploration: Grep to find relevant files, then View to examine
36- For large files: use offset parameter for specific sections
37- View tool automatically detects and renders image files
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list