Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #173299
| From | Charlie <ariestao1@ipstarmail.com.au> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: mc using nano when vim.tiny is my default editor? |
| Date | 2016-10-08 00:00 +0200 |
| Message-ID | <spLln-6oj-5@gated-at.bofh.it> (permalink) |
| References | <spKSl-6de-1@gated-at.bofh.it> <spL22-6h3-37@gated-at.bofh.it> <spLbH-6kI-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, 7 Oct 2016 17:46:15 -0400 Tony Baldwin sent:
> Apparently nothing, but when I do update-alternatives to set it, It
> shows that vim.tiny is currently the chosen default (visudo uses it)
> How do I set $EDITOR if not with update-alternatives?
After contemplation, my reply is:
I use vi.
In my ~/.config/mc/mc.ext I have
include/editor
Open=%var{EDITOR:vi} %f
and
# Default target for anything not described above
default/*
Open=%var{EDITOR:vi} %f
View=%var{EDITOR:vi} %f
Maybe that will assist you.
Be well,
Charlie
--
Registered Linux User:- 329524
***********************************************
What is the straight within the bent? -ZEN KOAN
***********************************************
Debian GNU/Linux - Magic indeed.
-----------------------------------------------------
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
mc using nano when vim.tiny is my default editor? Tony Baldwin <tonybaldwin@gmx.com> - 2016-10-07 23:30 +0200
Re: mc using nano when vim.tiny is my default editor? Adrian Bunk <bunk@stusta.de> - 2016-10-07 23:40 +0200
Re: mc using nano when vim.tiny is my default editor? Tony Baldwin <tonybaldwin@gmx.com> - 2016-10-07 23:50 +0200
Re: mc using nano when vim.tiny is my default editor? Adrian Bunk <bunk@stusta.de> - 2016-10-08 00:00 +0200
Re: mc using nano when vim.tiny is my default editor? Tony Baldwin <tonybaldwin@gmx.com> - 2016-10-08 00:40 +0200
Re: mc using nano when vim.tiny is my default editor? Anthony Baldwin <baldwinlinguas@gmx.com> - 2016-10-08 01:00 +0200
Re: mc using nano when vim.tiny is my default editor? Charlie <ariestao1@ipstarmail.com.au> - 2016-10-08 00:00 +0200
Re: mc using nano when vim.tiny is my default editor? Anthony Baldwin <baldwinlinguas@gmx.com> - 2016-10-08 00:50 +0200
Re: mc using nano when vim.tiny is my default editor? David Wright <deblis@lionunicorn.co.uk> - 2016-10-08 00:20 +0200
Re: mc using nano when vim.tiny is my default editor? Anthony Baldwin <baldwinlinguas@gmx.com> - 2016-10-08 01:00 +0200
Re: mc using nano when vim.tiny is my default editor? Bob Bernstein <poobah@ruptured-duck.com> - 2016-10-08 02:40 +0200
Re: mc using nano when vim.tiny is my default editor? Bob Bernstein <poobah@ruptured-duck.com> - 2016-10-08 02:50 +0200
csiph-web