Does installing vim disable a script from workingSetting vim filetype with modeline not working as...
Who discovered the covering homomorphism between SU(2) and SO(3)?
Why is Trump releasing (or not) his tax returns such a big deal?
In the twin paradox does the returning twin also come back permanently length contracted flatter than the twin on Earth?
Encountering former, abusive advisor at a conference
Why were germanium diodes so fast and germanium transisters so slow?
What is the difference between experimental and amateur built aircraft in the US?
How are Aircraft Noses Designed?
Can elves trance in armor without any downsides?
How do I get my boyfriend to remove pictures of his ex girlfriend hanging in his apartment?
Is there any research on the development of attacks against artificial intelligence systems?
How to figure out key from key signature?
Given that an Octatonic Scale has 8 notes, what are the names of the scale intervals e.g. for a diminished scale?
Why do these two ways of understanding constant acceleration give different results?
Could an American state survive nuclear war?
Sum of all digits in a string
In this day and age should the definition / categorisation of erotica be revised?
How to increment the value of a (decimal) variable (with leading zero) by +1?
Is it possible for a country to develop the equivalent of a Second Industrial Revolution while under a war of attrition?
What happens when supercritical fuel tanks deplete below critical point?
Rent a car for a day and leave it in another city in Italy
Largest number order in string
Are my triangles similar?
How were Kurds involved (or not) in the invasion of Normandy?
How can the mourner remarry within one month, if he has to wait two regalim?
Does installing vim disable a script from working
Setting vim filetype with modeline not working as expectedCron creates vim process but does not display vimVIM map not working.vimrc does not working as expectedOpen multiple files from ranger in vimHow can I stop vim from editing directories?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{
margin-bottom:0;
}
I can't open a sh file because it's set to open with vim by default. How to make the script work?
scripting vim
add a comment
|
I can't open a sh file because it's set to open with vim by default. How to make the script work?
scripting vim
You want to execute the script or open it with another editor?
– guillermo chamorro
1 hour ago
I want to execute the script. It did execute when I haven't installed vim yet.
– malaki106
1 hour ago
Which distribution and which desktop environment you're using?
– telcoM
1 hour ago
Linux mint 19.1
– malaki106
1 hour ago
add a comment
|
I can't open a sh file because it's set to open with vim by default. How to make the script work?
scripting vim
I can't open a sh file because it's set to open with vim by default. How to make the script work?
scripting vim
scripting vim
asked 2 hours ago
malaki106malaki106
11 bronze badge
11 bronze badge
You want to execute the script or open it with another editor?
– guillermo chamorro
1 hour ago
I want to execute the script. It did execute when I haven't installed vim yet.
– malaki106
1 hour ago
Which distribution and which desktop environment you're using?
– telcoM
1 hour ago
Linux mint 19.1
– malaki106
1 hour ago
add a comment
|
You want to execute the script or open it with another editor?
– guillermo chamorro
1 hour ago
I want to execute the script. It did execute when I haven't installed vim yet.
– malaki106
1 hour ago
Which distribution and which desktop environment you're using?
– telcoM
1 hour ago
Linux mint 19.1
– malaki106
1 hour ago
You want to execute the script or open it with another editor?
– guillermo chamorro
1 hour ago
You want to execute the script or open it with another editor?
– guillermo chamorro
1 hour ago
I want to execute the script. It did execute when I haven't installed vim yet.
– malaki106
1 hour ago
I want to execute the script. It did execute when I haven't installed vim yet.
– malaki106
1 hour ago
Which distribution and which desktop environment you're using?
– telcoM
1 hour ago
Which distribution and which desktop environment you're using?
– telcoM
1 hour ago
Linux mint 19.1
– malaki106
1 hour ago
Linux mint 19.1
– malaki106
1 hour ago
add a comment
|
1 Answer
1
active
oldest
votes
I had this issue on Ubuntu 16 where my scripts will open the editor instead of running. You need to change your preferences, see link below.
https://itsfoss.com/shell-script-opens-text-editor/
New contributor
Heysus Escobar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment
|
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f546225%2fdoes-installing-vim-disable-a-script-from-working%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I had this issue on Ubuntu 16 where my scripts will open the editor instead of running. You need to change your preferences, see link below.
https://itsfoss.com/shell-script-opens-text-editor/
New contributor
Heysus Escobar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment
|
I had this issue on Ubuntu 16 where my scripts will open the editor instead of running. You need to change your preferences, see link below.
https://itsfoss.com/shell-script-opens-text-editor/
New contributor
Heysus Escobar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment
|
I had this issue on Ubuntu 16 where my scripts will open the editor instead of running. You need to change your preferences, see link below.
https://itsfoss.com/shell-script-opens-text-editor/
New contributor
Heysus Escobar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I had this issue on Ubuntu 16 where my scripts will open the editor instead of running. You need to change your preferences, see link below.
https://itsfoss.com/shell-script-opens-text-editor/
New contributor
Heysus Escobar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Heysus Escobar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 1 hour ago
Heysus EscobarHeysus Escobar
261 bronze badge
261 bronze badge
New contributor
Heysus Escobar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Heysus Escobar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment
|
add a comment
|
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f546225%2fdoes-installing-vim-disable-a-script-from-working%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You want to execute the script or open it with another editor?
– guillermo chamorro
1 hour ago
I want to execute the script. It did execute when I haven't installed vim yet.
– malaki106
1 hour ago
Which distribution and which desktop environment you're using?
– telcoM
1 hour ago
Linux mint 19.1
– malaki106
1 hour ago