All Projects → AdamNiederer → 0xc

AdamNiederer / 0xc

Easy base conversion in emacs

Projects that are alternatives of or similar to 0xc

Yard Mode.el
Emacs minor mode for editing YARD tags
Stars: ✭ 29 (-30.95%)
Mutual labels:  emacs
Coldnew Emacs
coldnew's emacs config
Stars: ✭ 32 (-23.81%)
Mutual labels:  emacs
Simple Modeline
A simple mode-line for Emacs.
Stars: ✭ 35 (-16.67%)
Mutual labels:  emacs
Emacs Smart Hungry Delete
An emacs package to delete whitespace between words, parenthesis and other delimiters in a (not very) smart way.
Stars: ✭ 30 (-28.57%)
Mutual labels:  emacs
Wordnut
Emacs major mode interface to WordNet lexical database
Stars: ✭ 31 (-26.19%)
Mutual labels:  emacs
Org Reverse Datetree
Reversed date trees for Emacs Org mode
Stars: ✭ 33 (-21.43%)
Mutual labels:  emacs
Bib Rdf Pipeline
Scripts and configuration for converting MARC bibliographic records into RDF
Stars: ✭ 27 (-35.71%)
Mutual labels:  conversion
Fix Word
Transform words in Emacs (upcase, downcase, capitalize, etc.)
Stars: ✭ 39 (-7.14%)
Mutual labels:  emacs
Ivy Erlang Complete
ivy-erlang-complete is context sensitive completion for erlang without connecting to erlang nodes.
Stars: ✭ 32 (-23.81%)
Mutual labels:  emacs
Cryptii
Web app and framework offering modular conversion, encoding and encryption
Stars: ✭ 971 (+2211.9%)
Mutual labels:  conversion
Units Converter
A simple utility library to measure and convert between units
Stars: ✭ 31 (-26.19%)
Mutual labels:  conversion
Geekbook
G33KB00K3 - fun to read & fun to write -- 🤓 eXtreme eXtendable note taking system for nerds/geeks (including scientists!) docs: http://geekbook.rtfd.io = beautiful html generator of your markdown-based notes
Stars: ✭ 31 (-26.19%)
Mutual labels:  emacs
Homebrew Emacs Plus
Emacs Plus formulae for the Homebrew package manager
Stars: ✭ 965 (+2197.62%)
Mutual labels:  emacs
Ssp
C++ CSV parser
Stars: ✭ 30 (-28.57%)
Mutual labels:  conversion
Vchsm
C++ 11 algorithm implementation for voice conversion using harmonic plus stochastic models
Stars: ✭ 38 (-9.52%)
Mutual labels:  conversion
Hlinum Mode
This library extends linum-mode to highlight current line number.
Stars: ✭ 29 (-30.95%)
Mutual labels:  emacs
Elegant Emacs
A very minimal but elegant emacs (I think)
Stars: ✭ 961 (+2188.1%)
Mutual labels:  emacs
Basepro
使用MVPArms框架搭建的一个基类工程,便于日常项目开发。
Stars: ✭ 41 (-2.38%)
Mutual labels:  base
Grugru
Rotate text at point in Emacs.
Stars: ✭ 39 (-7.14%)
Mutual labels:  emacs
Organic
Outliner, organizer and notes management app.
Stars: ✭ 34 (-19.05%)
Mutual labels:  emacs

GPLv3 MELPA Build Status Coverage

0xc

(Pronounced "hex convert")

Base conversion made easy in emacs

Features

  • Base conversion!
  • Intelligent base inference
  • Replace-at-point methods
  • Simple representation of bases up to 36

Installation & Setup

0xc is avilable on Melpa. After installing with M-x package-install <RET> 0xc <RET>, all functions should be available.

Functions

  • 0xc-convert - Simple string-to-string base conversion. Accepts prefix options and allows interactive use.
  • 0xc-convert-point - Replace the number at point with a converted representation.
  • 0xc-live-convert - Open a new window and show various interpretations and conversions for a number as you type it.

Base Hinting

A number literal's base can be roughly determined via heuristics, but you can use the following hints to ensure 0xc gets it right:

  • 0x and 'h are hexadecimal literals
  • 0b and 'b are binary literals
  • 0t is a ternary literal
  • 0d and 'd are decimal literals
  • 0o and 'o are octal literals

Alternatively, you can prefix a base-n number with n:. 0xc will automatically remove any of these base hints when converting

Future

More tests are next. If you feel like beating me to it, open a pull request.

License

GPLv3+

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].