select-editor does not change editor from default nano to other editor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sensible-utils (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: sensible-utils
I'm trying to change the default editor to vim from console, but nano is always set independently of my choice.
user@host:~$ select-editor
Select an editor. To change later, run 'select-editor'.
1. /bin/ed
2. /bin/nano <---- easiest
3. /usr/bin/
4. /usr/bin/vim.basic
5. /usr/bin/vim.tiny
Choose 1-5 [2]: 4
user@host:~$ select-editor
Select an editor. To change later, run 'select-editor'.
1. /bin/ed
2. /bin/nano <---- easiest
3. /usr/bin/
4. /usr/bin/vim.basic
5. /usr/bin/vim.tiny
Choose 1-5 [2]:
Running sensible-editor starts vim .... installed vim is:
dpkg -s vim
Package: vim
Status: install ok installed
Priority: optional
Section: editors
Installed-Size: 1884
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Version: 2:7.2.330-1ubuntu4
Replaces: vim-common (<< 1:7.1-175+1)
Provides: editor
Depends: vim-common (= 2:7.2.330-
Suggests: ctags, vim-doc, vim-scripts
Conflicts: vim-common (<< 1:7.1-175+1)
Description: Vi IMproved - enhanced vi editor
Vim is an almost compatible version of the UNIX editor Vi.
.
Many new features have been added: multi level undo, syntax
highlighting, command line history, on-line help, filename
completion, block operations, folding, Unicode support, etc.
.
This package contains a version of vim compiled with a rather
standard set of features. This package does not provide a GUI
version of Vim. See the other vim-* packages if you need more
(or less).
Homepage: http://
Original-
Is select-editor the wrong way to set the editor in 10.10 / x86_64 ?
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: sensible-utils 0.0.4ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-23-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Mon Dec 20 10:18:27 2010
Dependencies:
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=de_DE.utf8
SHELL=/bin/bash
SourcePackage: sensible-utils
Thank you for your bug report. I'm a bit confused about the problem, though:
> I'm trying to change the default editor to vim from console, but nano is always set independently of my choice.
> [...]
> Running sensible-editor starts vim ....
So, everything works as it is supposed to be...? You run select-editor and select vim, then you run sensible-editor and it starts vim. What would you like to happen instead?