Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 804 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 804 Bytes

casechange.vim

demo

Introduction

CaseChange is a plugin for rotating through different casing styles. It aims to fix the behaviour of ~ in visual mode.

Usage

Select the block of text you want to apply CaseChange to and press ~

helloWorld
HelloWorld
HELLO_WORLD
hello_world
hello-world

For example, if you wish to change the current word, you could press viw~ and then keep pressing ~ until you get to the right case.

Keymaps

The only keymap that this plugin sets is ~, you can prevent this by setting:

let g:casechange_nomap = 1

License

Copyright (c) Ignacio Catalina. Distributed under the same terms as Vim itself. See :help license.