How do you convert all text in Vim to lowercase? Is it even possible?
相关问题
- Emacs shell: save commit message
- How to change the first two uppercase characters o
- Insert text into current buffer from function
- Hot reload on save
- Substituting zero-width match in vim script
相关文章
- 如何让 vim 支持 .cshtml 文件的代码高亮
- Auto-save in VIM as you type
- How can I use gcc's -I command to add recursiv
- Vim: overloaded mapping for multiple modes
- How to use relative line numbering universally in
- How to copy the value of a vim option to a registe
- E185: Cannot find color scheme*
- How do I fix vim to properly indent folds containi
For examples and more info please read this: http://vim.wikia.com/wiki/Switching_case_of_characters
Many ways to skin a cat... here's the way I just posted about:
Likewise for upper case:
I prefer this way because I am using this construct (
:%s/[pattern]/replace/g
) all the time so it's more natural.I assume you want lowercase the text. Solution is pretty simple:
Explanation:
use this command mode option