New answers tagged command-line
1
vote
Show command prompt including commands issued before entering neovim
I suggest :suspend or Ctrl-z, which put vim in the background, returning you to the shell from which you launched it. Then use your shell's normal job-control commands to return (e.g., fg).
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&...
2
votes
Accepted
How to :edit executable from path?
I think this is what you want to do. I just tested it and it worked for me.
:edit `which command`
Wrap the argument to :edit in backticks rather than preceding it with a "!".
0
votes
How to use -complete=lua for command-completion?
Obviously, this is a Lua variable name (including variables of "function" type).
Or, if you prefer, "tab" completes from a keys list of a Lua table you are currently referencing (...
Top 50 recent answers are included
Related Tags
command-line × 413key-bindings × 46
external-command × 34
vimscript × 30
vimrc × 22
neovim × 19
search × 18
autocompletion × 15
normal-mode × 15
autocmd × 13
ex-mode × 13
buffers × 12
command × 12
regular-expression × 11
visual-mode × 10
replace × 10
gvim × 9
register × 9
bash × 9
cut-copy-paste × 8
terminal × 8
functions × 8
range × 8
split × 7
save × 7