Display name
Display name

Reputation: 4481

How to issue Vim commands in command mode (`Enter` not working)

I installed neovim with pkg install neovim. I then downloaded the latest version of Nvim-R with curl -L "https://www.vim.org/scripts/download_script.php?src_id=26482" > NvimR.vmb. Finally, I opened the file with nvim NvimR.vmb.

Now I'm in the editor and I launch the command mode by pressing the : key on my keyboard. I then proceed to type packadd vimball into the command console. Finally I try to issue the packadd vimball command by hitting Enter on my keyboard and nothing happens. I look up in the editor panel and notice each time I hit Enter the cursor is just being moved around in the editor.

I don't want the cursor to move around in the editor. I want to issue my :packadd vimball command. How do I do this?

vim gif

Upvotes: 2

Views: 2004

Answers (1)

D. Ben Knoble
D. Ben Knoble

Reputation: 4673

Everything I see in that gif is precisely what I would expect to see given what you typed.

  1. You run :packadd vimballEnter—this does vim’s native packadd command (assuming nvim has that), and then returns you to the editing portion of the screen.
  2. Subsequent Enter presses are equivalent to j—move down a line.

All of that said, I dont know of any packages named vimball, but I don’t really work with that format. Perhaps you’ve misunderstood a plugin’s usage or vimball usage? Ask about that stuff on vi.stackexchange.com: we probably have better vi/m experts there.

Upvotes: 1

Related Questions