Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though

This commit is contained in:
Ryan Ward
2026-05-07 11:29:34 -05:00
parent f4e2475c60
commit a41cbd8cc7
2433 changed files with 14208 additions and 9409 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
use crate::vim::{Direction, FindCharDestination, FindCharMotion};
use warpui::text::TextBuffer;
use galaxyui::text::TextBuffer;
/// Find the destination column for Vim's f/F/t/T motions on a single line.
///
+1 -1
View File
@@ -1,6 +1,6 @@
use itertools::Itertools;
use string_offset::CharOffset;
use warpui::text::TextBuffer;
use galaxyui::text::TextBuffer;
use crate::vim::{BracketChar, BracketEnd};
+1 -1
View File
@@ -1,5 +1,5 @@
use string_offset::CharOffset;
use warpui::text::TextBuffer;
use galaxyui::text::TextBuffer;
/// Returns the offset of the first newline above a paragraph start before the current position.
pub fn find_previous_paragraph_start<'a, T, C>(buffer: &'a T, offset: C) -> Option<CharOffset>
+1 -1
View File
@@ -4,7 +4,7 @@ use std::ops::Range;
use itertools::Itertools;
use string_offset::CharOffset;
use warpui::text::TextBuffer;
use galaxyui::text::TextBuffer;
use crate::{
vim::{BracketChar, BracketEnd, BracketType},
+1 -1
View File
@@ -1,7 +1,7 @@
use std::ops::Range;
use string_offset::CharOffset;
use warpui::text::TextBuffer;
use galaxyui::text::TextBuffer;
use crate::{find_next_paragraph_end, find_previous_paragraph_start};
+1 -1
View File
@@ -2,7 +2,7 @@ use std::ops::Range;
use itertools::Itertools;
use string_offset::CharOffset;
use warpui::text::TextBuffer;
use galaxyui::text::TextBuffer;
use crate::vim::QuoteType;
+1 -1
View File
@@ -1,7 +1,7 @@
use std::ops::Range;
use string_offset::CharOffset;
use warpui::text::TextBuffer;
use galaxyui::text::TextBuffer;
use crate::{vim::WordType, word_iterator::CharacterKind};
+4 -4
View File
@@ -1,5 +1,5 @@
use warp_core::safe_info;
use warpui::{keymap::Keystroke, Entity, ModelContext, ModelHandle, ViewContext};
use galaxy_core::safe_info;
use galaxyui::{keymap::Keystroke, Entity, ModelContext, ModelHandle, ViewContext};
use crate::register::{valid_register_name, BLACK_HOLE_REGISTER};
@@ -1744,8 +1744,8 @@ pub struct VimState<'a> {
pub showcmd: &'a str,
}
/// This struct is a wrapper around the VimFSA that turns it into a warpui::Entity. We want to keep
/// the VimFSA independent of our UI framework, so anything involving warpui should live here
/// This struct is a wrapper around the VimFSA that turns it into a galaxyui::Entity. We want to keep
/// the VimFSA independent of our UI framework, so anything involving galaxyui should live here
/// instead.
#[derive(Default)]
pub struct VimModel {
+1 -1
View File
@@ -3,7 +3,7 @@ use std::iter::Peekable;
use anyhow::Result;
use itertools::{peek_nth, Either, PeekNth};
use string_offset::CharOffset;
use warpui::text::{words::is_default_word_boundary, TextBuffer};
use galaxyui::text::{words::is_default_word_boundary, TextBuffer};
use crate::vim::{Direction, WordBound, WordType};