New answers tagged cursor
0
votes
How to use value under cursor in the shell command?
There is something to remember: Vim treats the commands differently. Some of them accept literals and cmdline-specials, so you can do
:r !echo <cword>
(or maybe :.!echo <cword>)
While ...
3
votes
Accepted
How to use value under cursor in the shell command?
If you are typing interactively in the vim command line you can hit CtrlrCtrlw to include the current word or CtrlrCtrla to include the current WORD.
If you are writing a function or a command you can ...
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 ...
1
vote
Accepted
How do you set the cursor style in Vim terminal windows?
Suppose &shell is set to /usr/bin/bash, then append
printf '\033[3 q' to ~/.bashrc; launch a new vim
instance and run :term and launch another vim instance
from that terminal window and run :term, ...
Top 50 recent answers are included
Related Tags
cursor × 110terminal × 16
cursor-movement × 14
vimrc × 11
neovim × 10
vimscript × 8
insert-mode × 7
cursor-motions × 6
scrolling × 6
key-bindings × 5
gvim × 5
cut-copy-paste × 5
normal-mode × 5
indentation × 4
terminal-buffer × 4
mouse × 4
highlight × 3
color × 3
regular-expression × 2
command-line × 2
autocmd × 2
visual-mode × 2
colorscheme × 2
microsoft-windows × 2
split × 2