All Projects → strickinato → evil-briefcase

strickinato / evil-briefcase

Licence: GPL-3.0 license
Change cases quickly with vim motions in emacs

Programming Languages

emacs lisp
2029 projects

Projects that are alternatives of or similar to evil-briefcase

python-string-utils
A handy Python library to validate, manipulate and generate strings
Stars: ✭ 47 (+135%)
Mutual labels:  string-manipulation
Java-Programs
Java Practiced Problems including concepts of OOPS, Interface, String , Collection.
Stars: ✭ 51 (+155%)
Mutual labels:  string-manipulation
evil-textobj-syntax
This package is a port of vim-textobj-syntax for emacs. It provides evil text objects for consecutive items with same syntax highlight.
Stars: ✭ 19 (-5%)
Mutual labels:  evil
Juggernaut
The unstoppable programmers editor written in Rust and Javascript
Stars: ✭ 28 (+40%)
Mutual labels:  spacemacs
.spacemacs.d
aborn's spacemacs configuration.
Stars: ✭ 24 (+20%)
Mutual labels:  spacemacs
bigint
bigint is a C++ library which can handle Very very Big Integers. It can calculate factorial of 1000000... it can go any big. It may be useful in Competitive Coding and Scientific Calculations which deals with very very large Integers. It can also be used in Decryption process. It has many inbuilt functions which can be very useful.
Stars: ✭ 34 (+70%)
Mutual labels:  string-manipulation
r4strings
Handling Strings in R
Stars: ✭ 39 (+95%)
Mutual labels:  string-manipulation
string theory
Flexible modern C++ string library with type-safe formatting
Stars: ✭ 32 (+60%)
Mutual labels:  string-manipulation
node-red-contrib-string
Provides a string manipulation node with a chainable UI based on the concise and lightweight stringjs.com.
Stars: ✭ 15 (-25%)
Mutual labels:  string-manipulation
spacemacs
Content for the book - Clojure Development with Spacemacs
Stars: ✭ 86 (+330%)
Mutual labels:  spacemacs
R3ditor
An open-source project created to reverse-engineering some Resident Evil 3 files
Stars: ✭ 19 (-5%)
Mutual labels:  evil
string-toolkit
Just a package containing tools to manipulate a string.
Stars: ✭ 18 (-10%)
Mutual labels:  string-manipulation
practicalli.github.io
Landing Page for Practicalli for broadcasts, books and guides on Clojure, ClojureScript, Emacs, Spacemacs and more. Developed with ClojureScript and reagent, using figwheel.main
Stars: ✭ 15 (-25%)
Mutual labels:  spacemacs
vbml
Way to check, match and resist.
Stars: ✭ 27 (+35%)
Mutual labels:  string-manipulation
the-stringler
An OOP approach to string manipulation.
Stars: ✭ 36 (+80%)
Mutual labels:  string-manipulation
strong
A Lua library that makes your strings stronger!
Stars: ✭ 62 (+210%)
Mutual labels:  string-manipulation
sublimetext-stringutilities
Sublime Text 2/3 plugin for string manipulations
Stars: ✭ 81 (+305%)
Mutual labels:  string-manipulation
split-on-first
Split a string on the first occurrence of a given separator
Stars: ✭ 68 (+240%)
Mutual labels:  string-manipulation
emacs-config
Abelardo Jara-Berrocal's Emacs configuration files
Stars: ✭ 15 (-25%)
Mutual labels:  spacemacs
Libft
42 library of basic C functions - queues, lists, memory operations and more 😄
Stars: ✭ 21 (+5%)
Mutual labels:  string-manipulation

Evil Briefcase!

This package provides a vim motion to quickly switch between cases. Hate camelCase? SWAP IT!!!

Usage (spacemacs)

In your .spacemacs file (SPC f e d):

dotspacemacs-additional-packages
'(
  (evil-briefcase :location (recipe :fetcher github :repo "strickinato/evil-briefcase"))
)

Then in the user config later in the file:

(defun dotspacemacs/user-config ()
  (evil-briefcase-mode 1)
)

Can be used either as a motion:

zcE -- Make everything until the whitespace camelcased

zki( -- Make everthing inside the parentheses kebab kase

Or it can be used in visual mode:

vi(zk -- Select everything in the parentheses visually, then make it kebab kase

Keybindings

keybinding function case
zC evil-briefcase-camel-upper CamelCase
zc evil-briefcase-camel-lower camelCase
zS evil-briefcase-snake-upper SCREAMING_SNAKE_CASE
zs evil-briefcase-snake-lower snake_case
zK evil-briefcase-kebab-upper FAT-KEBAB-KASE
zk evil-briefcase-kebab-lower kebab-kase

Known Annoyances

This overwrites evil's current zs, which is evil-close-fold. I never use folding, but if you use code folding and don't rely on toggling, then you'll have to remap it back.

These functions are based of the amazing s.el. This made the package easy to write, but it also means that ceratin non text characters get stripped away. eg.

[:openTheBriefcase], with cursor on the B:

  zci[ #=> [open_the_briefcase] (we lose the colon)
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].