Slightly hipper than Hipster.
npm i -g hipper, then:
hipper, as in
Why use this?
- You're a dev who needs to ssh into a droplet and make a quick change.
- You don't want to take the time to learn
- Nano is ugly, has weird keybinds, and is disappearing from GNU.
- Because I'm cool and you like me.
Updated and modified to suit myself a little better. All credit goes to @dominictarr. Much of the README below is his, as well.
Contributing: please do! Syntax files are welcome. Anyone with regular expression skills, definitely welcome. Any other fixes or features, probably welcome.
If you're interested in improving highlighting or language support, check out
the files under the highlight directory, and if you add a language, please also
add it to
plugins/highlight.js in your PR.
hipper filename [options] --margin # Set to N >= 2 for line numbers. --page # PageUp/Down jump size. --version|-v # print version and exit --weird # enable weird backspace. # (if it deletes a whole word when you press backspace, enable this)
Hipper has simple controls.
- Selection (Shift + Arrows)
- Copy/Paste (
sudo apt-get install xclip)
Hipper does not have:
- Buffers (use dvtm or screen [tmux interferes with controls])
- Undo (use git)
- Friendly Warnings (deal with it)
hipper uses rc for configuration.
This means you can have a
- Arrows - Slow Movement.
- Ctrl-Arrows - Fast Movement.
- Shift-Movement - Select text
- Ctrl-F - Search forwards for text
- Ctrl-C - Copy
- Ctrl-X - Cut
- Ctrl-P,V - Paste
- Tab - Indent (to selected lines)
- Shift-Tab - Unindent (to selected lines)
- Ctrl-R - Redraw Screen.
- Ctrl-S - Save.
- Ctrl-Q - Quit.
Some terminals interfere with modifier keys. xterm works well.
If you use fancy terminals that have tabs and stuff then you may have trouble
selecting text with key combinations like
Doesn't wrap lines (just keep your lines short). Syntax highlighting is not great (try a keyword in a comment, for example).