New answers tagged key-bindings
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>...
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 #...
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. ...
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&...
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 ...
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 ...
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.
...
Top 50 recent answers are included
Related Tags
key-bindings × 1335vimrc × 218
vimscript × 118
insert-mode × 81
neovim × 70
normal-mode × 47
command-line × 46
terminal × 43
cursor-movement × 42
cursor-motions × 37
functions × 34
autocompletion × 33
visual-mode × 30
keyboard-layout × 26
search × 25
cut-copy-paste × 24
autocmd × 20
escape × 20
vim-windows × 19
filetype-tex × 19
gvim × 18
split × 17
count × 17
map-operator × 17
indentation × 16