New answers tagged

2 votes

how to accept tabnine suggestion?

You can check :h :coc-completion for a mapping suggestion. It goes like so: inoremap <expr> <cr> pumvisible() ? "\<C-y>" : "\<CR>" In popupmenu, <c-y>...
user avatar
  • 2,495
5 votes
Accepted

Why is my # mapping behaving oddly in TeX files?

This is probably because there's another multi-key mapping that starts with a #; this is added by the TeX-specific plugin you have and loaded only for those files. You can reproduce it with: inoremap #...
user avatar
0 votes

Where's the documentation for Ctrl-C while in [Command Line] buffer?

After :help q: and scrolling down a bit: CLOSE *E199* There are several ways to leave the command-line window: <CR> Execute the command-line under the cursor. ...
user avatar
  • 21k
1 vote

Where's the documentation for Ctrl-C while in [Command Line] buffer?

For example, type :h q:. It takes you to the file cmdline.txt near the top of the section #7 "Command-line window". The whole section is, obviously, 100% relevant to the topic. The <C-C&...
user avatar
  • 15.9k
3 votes
Accepted

What does underscore cursor (caret?) and half cursor (caret?) mean?

Vim allows the cursor shape to be customized. Depending on your system, Vim changes the cursor shape according to the mode it is in. By default, some of these are normal mode: a block cursor insert ...
user avatar
  • 1,373
1 vote

How to make vim position the cursor with custom mapping for <C-LeftMouse>?

Let's say for example that you are talking about the *N command for the custom bit. Then the following should work: nnoremap <C-LeftMouse> <LeftMouse>*N (when I tried this it worked ...
user avatar
  • 21k
2 votes

Asking for advice for fully committing to leader key keybinds

This does look like a bug in FTerm. As mentioned in the comments, usually in situations like this, normal mode mappings should not apply. This is usually achieved by setting the buftype to terminal. ...
user avatar
  • 901

Top 50 recent answers are included