DEV Community

Discussion on: My Journey to the Vast World of Text Editors

Collapse
 
610yesnolovely profile image
Harvey Thompson

Which ever editor you chose here are a couple of things that it should have:

  • HOKNOM - Hands On Keyboard Never On Mouse (I just made this up)
    ** Cursor, scrolling movement should be keyboard controlled.
    ** Cursor arrow keys are not as great because you have to move your hands.
    ** Vi solves this by changing mode between edit and movement.
    ** Emacs "solves" this by using Ctrl as a temporary movement switch (though b, n, p, f not h, j, k, l)
    *** For emacs, remapping Caps Lock to Ctrl may help reduce pinky fatigue.

  • Edit multiple files in multiple windows on screen
    ** Switching windows should be keyboard based

  • Platform agnostic

  • Programming language agnostic

  • Programmable (hopefully inside the editor with a REPL)

  • Encoding agnostic (should be able to handle UTF-8, UTF-16, DOS or Unix even binary/hex edit)

  • Ability to run builds / make / etc.

  • Ability to run shell commands as one-offs

  • Ability to run shell (or other interactive programs) in editor

  • Syntax highlighting

  • Auto-identation

  • Bonus: Completion / Intellisense-like abilities

If at all possible, live with your editor choice FOREVER (I chose an editor 27 years ago - might be Vi, might be Emacs, not saying 'cos that's not the point here)