Skip to content

VIM-like CLI text editor with remote edit capabilities

Notifications You must be signed in to change notification settings

xor-bits/text-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

text-editor

VIM/NeoVIM/Emacs Evil Mode/Helix/Kakoune -like cross-platform terminal based text editor

The plan is to create a text editor that can edit (almost) anything and (almost) anywhere. Like a local config file, or a level.dat NBT file in a remote server over both SSH and Docker.

Remote editing should work like TRAMP in Emacs.

Buffers have a mode for the content type, like text, hex, NBT, or other binary formats.

Example usage

# just a normal local file
text-editor src/main.rs

# use sudo to edit /etc/fstab
text-editor sudo:/etc/fstab

# connect to user1@host1 using ssh, then connect to user2@host2 from host1 and open 'file'
text-editor ssh:user1@host1|ssh:user2@host2:file

Screenshots

normal file editing

image

file explorer and editor over ssh

image

command suggestions

image

TODOs

  • file editing
  • remote (ssh/sudo/docker/..) file editing
  • SSH/sudo askpass somehow
  • multiple buffers
  • file picker
  • buffer picker
  • welcome message
  • selections
  • hex editor
  • NBT editor
  • text-editor configuration
  • syntax highlighting
  • LSP

Releases

No releases published

Packages

No packages published