-
Notifications
You must be signed in to change notification settings - Fork 0
Makes substitutions using Michael Geddes' KeepCase functions easier
vim-scripts/Shortcut-functions-for-KeepCase-script-
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a mirror of http://www.vim.org/scripts/script.php?script_id=1300 This is a very simple script that allows you to easily do case-preserving text replacements over an arbitrary range. See vimscript #6 by Michael Geddes for the functions this script depends on. For example: :'<,'>call S('building','campus') will replace all occurrences of "building" with "campus", "BUILDING_ID" with "CAMPUS_ID", "getBuilding" with "getCampus", etc. across the currently selected range. Also included is the SS(pat,sub) function which uses KeepCaseSameLen for the substitutions instead of KeepCase. Thanks to Michael Geddes for a great script!
About
Makes substitutions using Michael Geddes' KeepCase functions easier
Resources
Stars
Watchers
Forks
Packages 0
No packages published