Skip to content

Plugin for fast swap between upper and lower case in your command line. (ZSH-only)

Notifications You must be signed in to change notification settings

mtxr/zsh-change-case

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

ZSH Change Case Plugin

Table of contents

  1. Instalation
  2. Antibody plugin manager
  3. Using Git
  4. Usage

Instalation

Antibody plugin manager

To install using Antibody, just add this in your ~/.zshrc:

# your .zshrc file
antibody bundle mtxr/zsh-change-case

Using Git

Install zsh-change-case by cloning the repository:

$ git clone https://github.com/mtxr/zsh-change-case.git ${HOME}/.zsh-change-case

After cloning, just laod it to your ~/.zshrc adding this line:

# your .zshrc file
. ${HOME}/.zsh-change-case

Usage

I recomend you to use the following bindkeys (inspired by VSCode and Sublime Text):

  • Ctrl+K + Ctrl+U to uppercase
  • Ctrl+K + Ctrl+L to lowercase
bindkey '^K^U' _mtxr-to-upper # Ctrl+K + Ctrl+U
bindkey '^K^L' _mtxr-to-lower # Ctrl+K + Ctrl+L

In case of trouble, you probably need to unbind Ctrl+K. Just add this before the bindings you will use:

bindkey -r '^K'

Example

About

Plugin for fast swap between upper and lower case in your command line. (ZSH-only)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages