V
V
Vasily2016-10-08 14:57:32
linux
Vasily, 2016-10-08 14:57:32

Why is VIM running in read-only mode?

I am connected via ssh(KiTTY) to debian 8 jessy. To make it easier to launch files, I use xdg-open. Installed the vim.basic editor with update-alternatives --config editor and set the .bashrc config to:

export VISUAL=vim(пробовал и nano, но без изменений)
 export EDITOR="$VISUAL"

But when I try to open a txt file with xdg-open, END appears at the bottom of the page and I cannot switch to INSERT mode. What is it connected with?
And one more question: how to configure the default programs for xdg in general, since this problem is also present with other files, and little is clear from the documentation.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question