Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
4a053bc
add cursorcolumn and cursorline to base16_transparent theme
salman-farooq-sh Jul 5, 2024
0e7a427
Merge branch 'helix-editor:master' into master
salman-farooq-sh Aug 15, 2024
e7ec19d
Merge branch 'helix-editor:master' into master
salman-farooq-sh Aug 23, 2024
102caaf
Merge branch 'helix-editor:master' into master
salman-farooq-sh Aug 27, 2024
6fb1aa2
Merge branch 'helix-editor:master' into master
salman-farooq-sh Sep 5, 2024
c185d40
remove-margins-from-overlay
salman-farooq-sh Sep 5, 2024
b12a522
Merge branch 'helix-editor:master' into master
salman-farooq-sh Sep 14, 2024
521d84f
Merge branch 'helix-editor:master' into master
salman-farooq-sh Sep 18, 2024
2f94246
Merge branch 'helix-editor:master' into master
salman-farooq-sh Sep 24, 2024
b606937
Merge branch 'helix-editor:master' into master
salman-farooq-sh Sep 25, 2024
ae4eaf0
Merge branch 'helix-editor:master' into master
salman-farooq-sh Sep 29, 2024
a5f0355
Merge branch 'helix-editor:master' into master
salman-farooq-sh Sep 30, 2024
46cf662
Merge branch 'helix-editor:master' into master
salman-farooq-sh Oct 14, 2024
5ad7319
remove-bottom-clip
salman-farooq-sh Oct 20, 2024
5cd7b0d
Merge branch 'master' of https://github.com/salman-farooq-sh/helix
salman-farooq-sh Oct 20, 2024
ef646f0
Merge branch 'helix-editor:master' into master
salman-farooq-sh Oct 20, 2024
feb4132
Merge branch 'helix-editor:master' into master
salman-farooq-sh Oct 31, 2024
2f134f5
Merge branch 'helix-editor:master' into master
salman-farooq-sh Nov 30, 2024
fc72600
Merge branch 'helix-editor:master' into master
salman-farooq-sh Dec 3, 2024
6717f50
Merge branch 'helix-editor:master' into master
salman-farooq-sh Dec 21, 2024
ee5f956
cleanup-and-comments
salman-farooq-sh Dec 21, 2024
7ad3d99
typo-correction
salman-farooq-sh Dec 22, 2024
4939e5a
slightly-adjust-comment-wording
salman-farooq-sh Dec 22, 2024
63f5b06
ui/picker.rs: remove a comment
salman-farooq-sh Dec 22, 2024
fe959c8
Merge branch 'helix-editor:master' into master
salman-farooq-sh Jan 1, 2025
e63f016
undo-picker-preview-ratio-change
salman-farooq-sh Jan 1, 2025
d24eaa1
undo-fullscreen-without-status-line-and-bring-back-old-code
salman-farooq-sh Jan 1, 2025
09685a0
make-overlaid-content-conditionally-take-all-the-space
salman-farooq-sh Jan 1, 2025
0009e15
Merge pull request #4 from salman-farooq-sh/master
RokKos Nov 13, 2025
abdf9b8
docs(readme): adding reference/credit to the original PR
RokKos Nov 13, 2025
50bb41a
wip: trying to get the editor config passed in
RokKos Dec 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ This fork of Helix implements the following pull requests. Future pull requests
22. https://github.com/helix-editor/helix/pull/14453 (ruler chars)
23. https://github.com/helix-editor/helix/pull/12902 (File Explorer: create/delete/copy/move/rename)
24. https://github.com/helix-editor/helix/pull/13963 (auto reload buffers on focus / changes)
25. https://github.com/helix-editor/helix/pull/12311 (Make overlays (e.g. pickers) fullscreen)

## Setup

Expand Down Expand Up @@ -508,3 +509,13 @@ periodic.interval = 5000
focus-gained = true
periodic.enable = true
periodic.interval = 5000
```

### Picker Full Screen

Enables that pickers cover full screen instead of only 90%

```toml
[editor]
pickers-full-screen = true
```
3 changes: 2 additions & 1 deletion book/src/editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
| `editor-config` | Whether to read settings from [EditorConfig](https://editorconfig.org) files | `true` |
| `rainbow-brackets` | Whether to render rainbow colors for matching brackets. Requires tree-sitter `rainbows.scm` queries for the language. | `false` |
| `kitty-keyboard-protocol` | Whether to enable Kitty Keyboard Protocol. Can be `enabled`, `disabled` or `auto` | `"auto"` |
| `pickers-full-screen` | if pickers should be full screen. | `false` |

[^3]: In most cases, you also need to enable the `auto-format` setting under `languages.toml`. You can find the reasoning [here](https://github.com/helix-editor/helix/discussions/9043#discussioncomment-7811497).

Expand Down Expand Up @@ -293,10 +294,10 @@ name = "rust"

### `[editor.auto-reload]` Section

Controls auto reloading of externally modified files.

| Key | Description | Default |
|--|--|---------|
|--|--|---------|
| `focus-gained` | Enable automatic reloading of externally modified files when Helix is focused. Requires [focus event support](https://github.com/helix-editor/helix/wiki/Terminal-Support) from your terminal | `false` |
| `periodic.enable` | Enable periodic auto reloading of externally modified files | `false` |
| `periodic.interval` | Time interval in milliseconds between auto reload checks | `3000` |
Expand Down
11 changes: 9 additions & 2 deletions helix-term/src/ui/overlay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ use tui::buffer::Buffer;

use crate::compositor::{Component, Context, Event, EventResult};

pub const FULL_OVERLAID_MAX_WIDTH: u16 = 240;

/// Contains a component placed in the center of the parent component
pub struct Overlay<T> {
/// Child component
Expand All @@ -16,10 +18,15 @@ pub struct Overlay<T> {
}

/// Surrounds the component with a margin of 5% on each side, and an additional 2 rows at the bottom
pub fn overlaid<T>(content: T) -> Overlay<T> {
pub fn overlaid<T>(content: T, ctx: &Context) -> Overlay<T> {
Overlay {
content,
calc_child_size: Box::new(|rect: Rect| clip_rect_relative(rect.clip_bottom(2), 90, 90)),
calc_child_size: Box::new(|rect: Rect| {
let overlay_full_screen =
ctx.editor.config().pickers_full_screen && rect.width < FULL_OVERLAID_MAX_WIDTH;
let percentage = if overlay_full_screen { 100 } else { 90 };
clip_rect_relative(rect.clip_bottom(2), percentage, percentage)
}),
}
}

Expand Down
3 changes: 3 additions & 0 deletions helix-view/src/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,8 @@ pub struct Config {
/// Completion Highlight configuration
#[serde(default)]
pub completion_highlight: CompletionHighlight,
/// If pickers should be full screen
pub pickers_full_screen: bool,
}

#[derive(Debug, Default, PartialEq, Eq, PartialOrd, Ord, Deserialize, Serialize, Clone, Copy)]
Expand Down Expand Up @@ -1643,6 +1645,7 @@ impl Default for Config {
gradient_borders: GradientBorderConfig::default(),
notifications: NotificationConfig::default(),
completion_highlight: CompletionHighlight::default(),
pickers_full_screen: false,
}
}
}
Expand Down