feat: add file editor vim mode (#1437)

Co-authored-by: Bohdan Triapitsyn <artmore@protonmail.com>
This commit is contained in:
Champii
2026-06-08 19:10:32 +03:00
committed by GitHub
co-authored by Bohdan Triapitsyn
parent d9b9b56599
commit f45fe05f33
18 changed files with 197 additions and 17 deletions
@@ -143,6 +143,20 @@ export function createFlexokiCodeMirrorTheme(theme: Theme): Extension {
left: 'auto',
width: 'auto',
},
'.cm-panels-bottom': {
position: 'static' as const,
width: '100%',
pointerEvents: 'auto',
},
'.cm-panels-bottom .cm-vim-panel': {
borderTop: `1px solid ${theme.colors.interactive.border}`,
backgroundColor: theme.colors.surface.elevated,
color: theme.colors.surface.mutedForeground,
fontFamily: 'var(--font-mono)',
fontSize: '12px',
minHeight: '22px',
padding: '2px 8px',
},
/* ── Floating search panel ── */
'.cm-panel.cm-search': {