AdamNiederer / 0xc
Easy base conversion in emacs
Stars: ✭ 42
Labels
Projects that are alternatives of or similar to 0xc
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
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
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].