GithubHelp home page GithubHelp logo

tryforsure / hexitor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from briansteffens/hexitor

0.0 2.0 0.0 38 KB

Hex editor for the terminal

License: GNU General Public License v2.0

Makefile 0.81% C 99.19%

hexitor's Introduction

hexitor

A terminal hex editor.

A screenshot

Installation

If you're using Arch, hexitor is available on the AUR: https://aur.archlinux.org/packages/hexitor/

Otherwise, make sure you have gcc, make, git, and ncurses installed and then:

git clone https://github.com/briansteffens/hexitor
cd hexitor
make
sudo make install

To uninstall:

sudo make uninstall

Usage

Opening a file

hexitor <some_file>

Movement

  • Use the arrow keys or hjkl to move the cursor around the editor.
  • Page up, page down, home, and end work as expected.
  • Type :123 and hit enter to move to the 123rd byte in the file.
  • Use q and w to move back and forth one byte at a time.
  • Use gg to move to the beginning of the buffer.
  • Use G to move to the end of the buffer.

Searching

Type a forward-slash followed by a series of hex digits to search for that sequence of bytes in the buffer. For example, /05 0f would search for the bytes 05 0f. Use n to jump to the next occurrence of the search term and use N to jump to the previous occurrence of the search term.

Editing bytes

The keys 0-9 and a-f will overwrite the current nibble (half-byte).

Saving changes

  • Type :w and hit enter to save the file.
  • Type :w <some_other_file> and hit enter to save changes to a different file.

Quitting

Type :q and hit enter to quit.

hexitor's People

Contributors

briansteffens avatar ckorn avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.