Questions tagged [mode]

The tag has no usage guidance.

3 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0 votes
2 answers
87 views

How to force the Read-only mode?

Greetings Today I was learning the different methods for opening a file in Vim, and I recently learned the view [filename] or [vim_launcher] -R [file_name], while both of these commands are great, ...
KhodeNima's user avatar
  • 131
0 votes
0 answers
36 views

Why does vim insert an underlined e that can only be escaped with <esc>?

It seems like I have found a really strange mode by accident in vim, if you hit <C-;> in vim, it replaces whatever character at the cursor with an underlined e, and if I type it, it replaces ...
user avatar
0 votes
1 answer
133 views

How to set the mode from a vimscript?

If I save the result of :call mode() in a variable, how can I restore that mode later?
minseong's user avatar
  • 2,291