Default vim usage in Ubuntu Bionic feels regressed from 17.10
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
Using Ubuntu Bionic (server image pre-GA), coming from Centos 7 (i.e. this may not be limited to just Bionic), I find that the vim editor has some very annoying defaults. How can I disable the following;
- Auto-tab insertion in bash code when using if and pressing enter
- Search with '/' requires one to press enter to go back to editing mode and pressing something else - like cursor right - swaps back to the original location instead of the location where one is at.
Both these do not feel like standard/default vim
vim 18.04
add a comment |Â
up vote
0
down vote
favorite
Using Ubuntu Bionic (server image pre-GA), coming from Centos 7 (i.e. this may not be limited to just Bionic), I find that the vim editor has some very annoying defaults. How can I disable the following;
- Auto-tab insertion in bash code when using if and pressing enter
- Search with '/' requires one to press enter to go back to editing mode and pressing something else - like cursor right - swaps back to the original location instead of the location where one is at.
Both these do not feel like standard/default vim
vim 18.04
1
Ubuntu Development version / How to participate
â sudodus
Apr 21 at 5:43
@sudodus That's useful information in general, but if you're suggesting that this particular question should be closed this near to the release of 18.04, I don't think that's the case. Note that we do not actually regard all Ubuntu+1 questions as off-topic. I don't think this question is about a bug, and the behavior it is asking about is not going to change before the release.
â Eliah Kagan
Apr 21 at 10:45
@EliahKagan, I see your point, and I agree. (I did not vote for closing.)
â sudodus
Apr 21 at 15:25
I think this may be a bug or shortcoming in Bionic only, unrelated to VIM. ref discussion below. Also, does a feature freeze mean there are no more code changes, even if there are bugs?
â Roel
Apr 27 at 7:52
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Using Ubuntu Bionic (server image pre-GA), coming from Centos 7 (i.e. this may not be limited to just Bionic), I find that the vim editor has some very annoying defaults. How can I disable the following;
- Auto-tab insertion in bash code when using if and pressing enter
- Search with '/' requires one to press enter to go back to editing mode and pressing something else - like cursor right - swaps back to the original location instead of the location where one is at.
Both these do not feel like standard/default vim
vim 18.04
Using Ubuntu Bionic (server image pre-GA), coming from Centos 7 (i.e. this may not be limited to just Bionic), I find that the vim editor has some very annoying defaults. How can I disable the following;
- Auto-tab insertion in bash code when using if and pressing enter
- Search with '/' requires one to press enter to go back to editing mode and pressing something else - like cursor right - swaps back to the original location instead of the location where one is at.
Both these do not feel like standard/default vim
vim 18.04
edited Apr 27 at 21:35
dpb
4,90911545
4,90911545
asked Apr 21 at 1:17
Roel
1258
1258
1
Ubuntu Development version / How to participate
â sudodus
Apr 21 at 5:43
@sudodus That's useful information in general, but if you're suggesting that this particular question should be closed this near to the release of 18.04, I don't think that's the case. Note that we do not actually regard all Ubuntu+1 questions as off-topic. I don't think this question is about a bug, and the behavior it is asking about is not going to change before the release.
â Eliah Kagan
Apr 21 at 10:45
@EliahKagan, I see your point, and I agree. (I did not vote for closing.)
â sudodus
Apr 21 at 15:25
I think this may be a bug or shortcoming in Bionic only, unrelated to VIM. ref discussion below. Also, does a feature freeze mean there are no more code changes, even if there are bugs?
â Roel
Apr 27 at 7:52
add a comment |Â
1
Ubuntu Development version / How to participate
â sudodus
Apr 21 at 5:43
@sudodus That's useful information in general, but if you're suggesting that this particular question should be closed this near to the release of 18.04, I don't think that's the case. Note that we do not actually regard all Ubuntu+1 questions as off-topic. I don't think this question is about a bug, and the behavior it is asking about is not going to change before the release.
â Eliah Kagan
Apr 21 at 10:45
@EliahKagan, I see your point, and I agree. (I did not vote for closing.)
â sudodus
Apr 21 at 15:25
I think this may be a bug or shortcoming in Bionic only, unrelated to VIM. ref discussion below. Also, does a feature freeze mean there are no more code changes, even if there are bugs?
â Roel
Apr 27 at 7:52
1
1
Ubuntu Development version / How to participate
â sudodus
Apr 21 at 5:43
Ubuntu Development version / How to participate
â sudodus
Apr 21 at 5:43
@sudodus That's useful information in general, but if you're suggesting that this particular question should be closed this near to the release of 18.04, I don't think that's the case. Note that we do not actually regard all Ubuntu+1 questions as off-topic. I don't think this question is about a bug, and the behavior it is asking about is not going to change before the release.
â Eliah Kagan
Apr 21 at 10:45
@sudodus That's useful information in general, but if you're suggesting that this particular question should be closed this near to the release of 18.04, I don't think that's the case. Note that we do not actually regard all Ubuntu+1 questions as off-topic. I don't think this question is about a bug, and the behavior it is asking about is not going to change before the release.
â Eliah Kagan
Apr 21 at 10:45
@EliahKagan, I see your point, and I agree. (I did not vote for closing.)
â sudodus
Apr 21 at 15:25
@EliahKagan, I see your point, and I agree. (I did not vote for closing.)
â sudodus
Apr 21 at 15:25
I think this may be a bug or shortcoming in Bionic only, unrelated to VIM. ref discussion below. Also, does a feature freeze mean there are no more code changes, even if there are bugs?
â Roel
Apr 27 at 7:52
I think this may be a bug or shortcoming in Bionic only, unrelated to VIM. ref discussion below. Also, does a feature freeze mean there are no more code changes, even if there are bugs?
â Roel
Apr 27 at 7:52
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
I found the answer in another thread
Open ~/.vimrc
and add this;
:set nocompatible
This fixes all 3 issues to how they were in 17.10:
- No more odd reactions when you search with '/'
- No more odd tab/space inserts when editing
- No more odd character inserts when using arrow keys in edit mode
I believe this to be a bug in Ubuntu Bionic, at least in the pre-GA release.
Logged as bugs.launchpad.net/ubuntu/+source/vim/+bug/1767314
â Roel
Apr 27 at 9:36
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
I found the answer in another thread
Open ~/.vimrc
and add this;
:set nocompatible
This fixes all 3 issues to how they were in 17.10:
- No more odd reactions when you search with '/'
- No more odd tab/space inserts when editing
- No more odd character inserts when using arrow keys in edit mode
I believe this to be a bug in Ubuntu Bionic, at least in the pre-GA release.
Logged as bugs.launchpad.net/ubuntu/+source/vim/+bug/1767314
â Roel
Apr 27 at 9:36
add a comment |Â
up vote
2
down vote
accepted
I found the answer in another thread
Open ~/.vimrc
and add this;
:set nocompatible
This fixes all 3 issues to how they were in 17.10:
- No more odd reactions when you search with '/'
- No more odd tab/space inserts when editing
- No more odd character inserts when using arrow keys in edit mode
I believe this to be a bug in Ubuntu Bionic, at least in the pre-GA release.
Logged as bugs.launchpad.net/ubuntu/+source/vim/+bug/1767314
â Roel
Apr 27 at 9:36
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
I found the answer in another thread
Open ~/.vimrc
and add this;
:set nocompatible
This fixes all 3 issues to how they were in 17.10:
- No more odd reactions when you search with '/'
- No more odd tab/space inserts when editing
- No more odd character inserts when using arrow keys in edit mode
I believe this to be a bug in Ubuntu Bionic, at least in the pre-GA release.
I found the answer in another thread
Open ~/.vimrc
and add this;
:set nocompatible
This fixes all 3 issues to how they were in 17.10:
- No more odd reactions when you search with '/'
- No more odd tab/space inserts when editing
- No more odd character inserts when using arrow keys in edit mode
I believe this to be a bug in Ubuntu Bionic, at least in the pre-GA release.
edited Apr 27 at 21:38
dpb
4,90911545
4,90911545
answered Apr 27 at 8:07
Roel
1258
1258
Logged as bugs.launchpad.net/ubuntu/+source/vim/+bug/1767314
â Roel
Apr 27 at 9:36
add a comment |Â
Logged as bugs.launchpad.net/ubuntu/+source/vim/+bug/1767314
â Roel
Apr 27 at 9:36
Logged as bugs.launchpad.net/ubuntu/+source/vim/+bug/1767314
â Roel
Apr 27 at 9:36
Logged as bugs.launchpad.net/ubuntu/+source/vim/+bug/1767314
â Roel
Apr 27 at 9:36
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1026820%2fdefault-vim-usage-in-ubuntu-bionic-feels-regressed-from-17-10%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Ubuntu Development version / How to participate
â sudodus
Apr 21 at 5:43
@sudodus That's useful information in general, but if you're suggesting that this particular question should be closed this near to the release of 18.04, I don't think that's the case. Note that we do not actually regard all Ubuntu+1 questions as off-topic. I don't think this question is about a bug, and the behavior it is asking about is not going to change before the release.
â Eliah Kagan
Apr 21 at 10:45
@EliahKagan, I see your point, and I agree. (I did not vote for closing.)
â sudodus
Apr 21 at 15:25
I think this may be a bug or shortcoming in Bionic only, unrelated to VIM. ref discussion below. Also, does a feature freeze mean there are no more code changes, even if there are bugs?
â Roel
Apr 27 at 7:52