New answers tagged

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).
user avatar
  • 21k
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.8k
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 "!".
user avatar
  • 166
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 (...
user avatar
  • 15.8k

Top 50 recent answers are included