Questions tagged [ex-mode]

Vim's ex mode is similar to the command line mode which is designed for Batch processing.

5 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers

Why does vim ex mode 'print' command insert a space on empty lines?

Take the following example: $ printf "a\n\nb\n" | vim -E -c "%p" -c 'q!' /dev/stdin | hexdump -C 00000000 61 0a 20 0a 62 0a |a. .b.| 00000006 I would not expect that ...
PiQuer's user avatar
  • 151
1 vote
0 answers

How does .vimrc relate to ~/.config/nvim/init.lua?

When I heard neovim had a "native language client", I wanted to trying moving it. Previously, I was using a language server loaded through vim-plug. This was always problematic. When I ...
Evan Carroll's user avatar
  • 1,244
1 vote
0 answers

Is there a way to use ex mode similar to ed, with append only lines and all curses like features disabled?

I'd like to use ex similar to how ed behaves on an old teleprinter, so without ANSI Control sequences and CRT manipulations. This way it would be easier to interact with it from a Braille terminal, ...
j-pb's user avatar
  • 111
1 vote
0 answers

Can I use feedkeys() inside of a keyloop implemented by getchar()

I implemented a fuzzy filter, which accept a list argument, open a window with a scratch buffer whose content set to the list, then waiting for use input and do filtering. Here is why I ask this ...
qeatzy's user avatar
  • 960
0 votes
0 answers

How do you end the command when using :c?

When using the ex command change (c), carriage returns become part of the input, so how do you indicate that you are done entering text? (I notice that if I hit the backspace, it finishes the command,...
Tyler Durden's user avatar
  • 2,091