Code Monkey home page Code Monkey logo

hex.vim's Introduction

hex.vim

A simple vim plugin for hex editing in vim

Installation

Dependencies

This plugin requires xxd to be installed

Installation

To install the plugin do the following depending on your plugin manager:

Vundle

Add the following to your .vimrc

Plugin 'depsterr/hex.vim'

Then run the following commands in vim

:source %
:PluginInstall

NeoBundle

Add the following to your .vimrc

NeoBundle 'depsterr/hex.vim'

Then run the following commands in vim

:source %
:NeoBundleInstall

Vimplug

Add the following to your .vimrc

Plug 'depsterr/hex.vim'

Then run the following commands in vim

:source %
:PlugInstall

Pathogen

Run the following commands

cd ~/.vim/bundle
git clone https://github.com/depsterr/hex.vim

Usage

Use the following command to switch the current buffer between normal and hex view

:HexToggle

The plugin handles writing itself, there is no need to toggle to raw data before writing to the file.

If you wish to map this to a key simply add the following to your .vimrc

map <key> :HexToggle<CR>

You will of course need to replace <key> with the key you wish to use.

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.