Skip to content

johnzeng/Smart-deleteion-vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Smart-deletion-vim

feature

Allow you to delete to '_' in 'ABC_DEF_HIJ' style word or upper case in camel case style word.

example 1

HELLO_WORLD_VIM|

Your course is on '|' position. Now type (the default key binding for this plugin), you will get

HELLO_WORLD_|

Type again, you will get

HELLO_WORLD|

example 2

thisIsHelloWorld|

Your course is on '|' position. Now type (the default key binding for this plugin), you will get

thisIsHello|

Type again, you will get

thisIs|

#config

##keybinding

let g:smart_delete_key_map=''

this key will be mapped to trigger this script

make sure your key binding is legal in vim insert mode, some key bindings might be ignore by vim ....

About

Make your delete smartly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages