艾兰得海外并购再下一城,全资收购英国两家营养
百度 转念后,将麻芛粉装入每一个糕饼模,祝福吃到碧绿色糕点的家人都能健康、心情豁然开朗。
The letter-case tag has no summary.
21 questions
2
votes
3
answers
283
views
Is there a built-in way to ignore case only for command completion (but keep case for search)?
Is there some option(combination) which allows for:
case insensitive command completion
fully case sensitive search?
E.g., if I type :goins<tab>, I'd like to get :GoInstallBinaries as ...
0
votes
4
answers
97
views
What's the Vim's version of Emacs's upcase-initials-region?
What's the Vim's version of Emacs's upcase-initials-region?
Viz., how do I capitalize only the first letter in words (preferably without a regex)?
8
votes
1
answer
3k
views
Case-sensitive search with `smartcase` set
I have set smartcase in my init.vim so searching with /lowercase is case-insensitive, which is usually what I want. However, I sometimes want to do a case-sensitive search where my target is all ...
1
vote
1
answer
69
views
How can I replace a word while keeping the original casing?
Basically:
cat -> horse
CAT -> HORSE
Cat -> Horse
I know this is underspecified (e.g. unclear what cAt should become). However, is there a canonical solution for this?
3
votes
4
answers
4k
views
How to change word under cursor to upper case in command mode with shortcut?
I want to set up a shortcut to make word under the cursor upper case in the command mode. I know that you can get the word under the cursor with expand("<cword>"). But I am not sure how do I ...
1
vote
0
answers
691
views
Tag not found unless searched for
I have a very weird situation with my tags file not working as expected. My tag file is sorted case-insensitively (starts with !_TAG_FILE_SORTED\t2\t/foldcase/), and ignorecase is set.
When I put my ...
1
vote
2
answers
238
views
Change Case of last searched pattern
I often use # key to quickly search for a keyword. I want to change the case of the last searched pattern in the easiest possible way.
One way to do this is to use \U\1 in the substitution part and ...
7
votes
2
answers
3k
views
How do you make the command mode case insensitive?
For example, I might accidentally type something like :WQ and I want it to work like :wq when a hit enter
Another case is where I am typing a longer command name, for example NERDTreeTabsClose. (Note ...
0
votes
1
answer
50
views
How do I substitute two same words (of different cases) to another two words whilst retaining their original cases?
I am sorry that my English was not good enough to clearly describe the task in the title.
Here is a more descriptive attempt. Let us say I have the following text
\gls{tla}{TLA}
(As a side note, ...
0
votes
2
answers
885
views
How to make f{char} case insensitive?
Regarding this command:
f{char} To [count]'th occurrence of {char} to the right. The
cursor is placed on {char} |inclusive|.
{char} ...
5
votes
3
answers
2k
views
Caps Lock in insert mode only
Sometimes, such as when transcribing FORTRAN code, I find it useful to enter uppercase letters without holding down the Shift key.
However, enabling Caps Lock is a problem in command mode. Here is my ...
0
votes
2
answers
270
views
Prohibit unintentional ~ from F6 button
I have a mapping to remove trailing whitespace, defined like this: nnoremap <silent> <F6> :%s/\s\+$//<CR>''. It works fine, except that if I press Esc before pressing F6, instead of ...
4
votes
1
answer
1k
views
Disable case sensitive auto-completion, while "smartcase" search is enabled?
I like the behavior of smartcase while searching, and I like Vim's auto-completion options, but I don't like them together. Is there any way to keep smartcase enabled, but have auto-completion results ...
3
votes
2
answers
325
views
Is there a way to use ignore case only for autocompletion in insert mode?
I know I can :set ignorecase smartcase to get autompletion to be case-insensitive but this has the side-effect of making all searches case-insensitive unless they contain an uppercase character.
I ...
3
votes
2
answers
1k
views
Case Insensitive Search with g ex command?
How can you do a case insensitive search with line contexts displayed in vim while using the :g ex command?
I tried the following but it doesn't seem to work...
g/pattern/z#.1i|echo "================...