pub enum ZoomIndicator {
Both,
Modeline,
Tabline,
None,
}Expand description
:set pane.zoom-indicator=... — where the zoom marker shows while
a pane is zoomed (<C-w>z). Introduced in ZP.4.
One option rather than a boolean per surface: zoom-indication
is one user concept, and splitting it across the modeline
and tabline config groups would read as two independent
knobs when it is one decision.
The two surfaces are not redundant. The modeline marker sits on the zoomed pane itself, where the state applies; the tabline marker is the only one that can tell you a background tab is zoomed before you switch to it, since zoom is per-tab state.
Variants§
Both
Marker on both the zoomed pane’s modeline and its tab.
Modeline
Modeline only.
Tabline
Tabline only.
None
No marker anywhere.
Implementations§
Source§impl ZoomIndicator
impl ZoomIndicator
Source§impl ZoomIndicator
impl ZoomIndicator
Sourcepub fn shows_modeline(self) -> bool
pub fn shows_modeline(self) -> bool
Whether the zoomed pane’s modeline carries the marker.
Sourcepub fn shows_tabline(self) -> bool
pub fn shows_tabline(self) -> bool
Whether the zoomed tab’s tabline entry carries the marker.
Trait Implementations§
Source§impl Clone for ZoomIndicator
impl Clone for ZoomIndicator
Source§fn clone(&self) -> ZoomIndicator
fn clone(&self) -> ZoomIndicator
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ZoomIndicator
Source§impl Debug for ZoomIndicator
impl Debug for ZoomIndicator
Source§impl Default for ZoomIndicator
impl Default for ZoomIndicator
Source§fn default() -> ZoomIndicator
fn default() -> ZoomIndicator
impl Eq for ZoomIndicator
Source§impl PartialEq for ZoomIndicator
impl PartialEq for ZoomIndicator
impl StructuralPartialEq for ZoomIndicator
Auto Trait Implementations§
impl Freeze for ZoomIndicator
impl RefUnwindSafe for ZoomIndicator
impl Send for ZoomIndicator
impl Sync for ZoomIndicator
impl Unpin for ZoomIndicator
impl UnsafeUnpin for ZoomIndicator
impl UnwindSafe for ZoomIndicator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.