聊城市举行2018年“国际社工日”宣传活动
百度 除此之外,出版类课程分享、图书版权交流等活动也同期举行,以方便图书出版专业人士的交流提升。
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 ...
18
votes
4
answers
5k
views
How can I convert words to camelCase in a macro?
I have a list of words, like this:
these are
some
words that I want
to convert to
camel case
I need a way to turn, for example, camel case into camelCase within a macro (or a way to turn every line ...
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?
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
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 ...
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 ...
28
votes
1
answer
6k
views
How to make movements respect camelCase or snake_case?
It is common to use either camelCase or snake_case to separate multiple words which form an identifier. It would be nice if the "word" movements (b, w, e) would detect those inner-identifier ...
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 ...
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} ...
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, ...
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 ...