The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

vi editor doesn't work in i3?

asked 2012-10-16 14:51:24 +0000

688a gravatar image

updated 2012-10-16 14:51:47 +0000

Hi there. Just want to know, how to set vi editor working in i3? If I typed 'vi' in mod+d, the i3 would be kinda crash! If I typed 'vi' in terminal (which is urxvt), the editor doesn't show correctly. What should I do to make it right? Thx.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2012-10-16 14:58:26 +0000

Michael gravatar image

dmenu (started when you press mod+d) will not launch a terminal when you enter terminal commands. Launching an interactive terminal editor like vi is not a good idea.

Instead, start graphical applications with dmenu (like GVim) or start a terminal (urxvt, xterm, …) and then start vi within that terminal.

edit flag offensive delete link more

Comments

Thx dude. But I'm also having a problem starting vi in terminal. I don't know how to say the problem. When I start vi with a file(for example the i3 config file), the content of the file would not display properly. But if I use vim in terminal, it is fine.

688a gravatar image688a ( 2012-10-16 15:49:01 +0000 )edit

Question Tools

Stats

Asked: 2012-10-16 14:51:24 +0000

Seen: 352 times

Last updated: Oct 16 '12