I have started using the Micro editor:
and have created a syntax file for the gemini protocol.
Put this into ~/.config/micro/syntax/gemini.yaml and you should be good to go!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
filetype: gemini detect: filename: "\\.(gmi|gemini)$" rules: # Heading levels - special: "^#.*" - special: "^##.*" - special: "^###.*" # Link label - type: "^=>\\s*\\S+\\s+.*" # recolor link URL - constant: "^=>\\s*\\S+" # recolor the link prefix - special: "^=>" # Unordered lists - identifier: "^\\*.*" # Preformatted blocks - preproc: start: "^```$" end: "^```$" rules: - preproc: ""
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
~EOF~