Skip to content

Text Editor

DasCondor edited this page Nov 15, 2026 · 1 revision

Text editor

Documentation snapshot from README.md at commit 20d7c81. Check the current source for updates.

📝 Text editor (Esc > Text editor)

A plain editor for KubeFactory's own settings files (policy.json, catalogs.json, log-providers.json, bob.json and Porter's app setups), and a read-only viewer for a container's file (Open in editor in the storage browser).

  • Theme: System (the default: follows your computer's light or dark mode), Light or Dark.
  • View: line numbers on or off, word wrap, font size.
  • Tools: find and replace, go to line, and in Edit: duplicate, delete or move a line, UPPERCASE / lowercase, trim trailing spaces, sort lines, toggle a # comment, undo and redo.
  • Keys: Standard (Ctrl+S save, Ctrl+F find, Ctrl+H replace, Ctrl+G go to line, Ctrl+D duplicate, Ctrl+Shift+K delete line, Alt+Up/Down move, Ctrl+/ comment, Ctrl+= / Ctrl+- size), Vim (normal and insert modes; h j k l w b 0 ^ $ gg G x dd yy p P u Ctrl+R, i a A I o O, / search with n N, and :w :q :q! :wq :x :<line> :set nu / nonu / wrap / nowrap) or Nano (^O write out, ^X exit, ^W where is, ^\ replace, ^K cut, ^U paste, ^_ go to line, M-U / M-E undo / redo, with its help line along the bottom).
  • Safety: JSON is checked before it is saved; the previous version is kept as .bak; closing with unsaved changes asks first. A container's file is never written: storage inspection stays read-only. Files that hold credentials (portainer.json, apps/vpn.env) are not offered, so a key is never on screen: edit those outside the game.

The choices are kept in Settings (Text editor) and in the editor's own bar.

Clone this wiki locally