Questions tagged [ex-mode]

4 questions
79
votes
5 answers

To disable "Entering Ex mode" in Vim

I get the following 10X times a day by accident. Entering Ex mode. Type "visual" to go to Normal mode. How can you disable the combo which causes it in Vim?
Léo Léopold Hertz 준영
  • 134,464
  • 179
  • 445
  • 697
7
votes
2 answers

Vim - ex mode command - is there any way to move the cursor position?

In a one line Vim ex command: I am trying to do a command and then move to another location and execute the same command. is there any way to move the cursor position (need both left/right and up/down)?
Trevor Boyd Smith
  • 18,164
  • 32
  • 127
  • 177
2
votes
1 answer

Where is the vim semi colon mode for Atom text editor?

I have vim-mode-plus installed on atom, however I can't execute commands like ":w" or ":wq" etc. I believe the mode is called "ex mode". However I thought "semi colon mode" may translate better for some beginning vimmers (vimmers == vim users).
Parm
  • 538
  • 1
  • 7
  • 19
1
vote
1 answer

How to jump to a string in vim ex mode using a bash script

I want to move to the word "internal" in a text file "file1" and delete everything from there to the end of file from within a bash script. This is my vim command sequence : /internal execute "normal !dG" w When I save this in a text file and pass…
cbjuju
  • 39
  • 6