Modeless vs modal editors
I just started learning Linux and all my previous experience of programming has been using the Windows platform. I came across Vim editor and read that it is modal editor unlike notepad which is termed as a modeless editor.
Can you please explain what is the difference between modeless and modal editors in general?
vim editors user-interface
add a comment |
I just started learning Linux and all my previous experience of programming has been using the Windows platform. I came across Vim editor and read that it is modal editor unlike notepad which is termed as a modeless editor.
Can you please explain what is the difference between modeless and modal editors in general?
vim editors user-interface
add a comment |
I just started learning Linux and all my previous experience of programming has been using the Windows platform. I came across Vim editor and read that it is modal editor unlike notepad which is termed as a modeless editor.
Can you please explain what is the difference between modeless and modal editors in general?
vim editors user-interface
I just started learning Linux and all my previous experience of programming has been using the Windows platform. I came across Vim editor and read that it is modal editor unlike notepad which is termed as a modeless editor.
Can you please explain what is the difference between modeless and modal editors in general?
vim editors user-interface
vim editors user-interface
edited Dec 6 '12 at 6:33
jasonwryan
49.1k14134184
49.1k14134184
asked Dec 6 '12 at 6:10
Geek
2,430103959
2,430103959
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
A normal, "modeless" editor is like Notepad on Windows: there is only one mode, where you input text.
Vi, and it's successor Vim, are modal: there are two primary modes1, insert mode where you type text into the editor and it is committed to the document, and normal mode where you enter arguments via the keyboard that perform a variety of functions, including: moving the cursor around the document, searching, and manipulating the text in the document (for example, cutting and pasting).
The Wikipedia article on Vi has a good entry on the modal interface.
The primary appeal, originally a necessity in the early days of Unix computing prior to the widespread adoption of the mouse, is completely keyboard driven editing. This approach has now been more widely adopted in Unix-land, being used for example by a variety of web browsers.
This awesome project, Vim Clutch, provides a clear visualization of the concept of switching between modes.
1. There are also two other modes, command mode for entering commands as you would in a shell, and visual mode when selecting text to operate on.
2
Do not forget command line mode and visual mode.
– Bernhard
Dec 6 '12 at 7:02
Good point. I stuck to primary modes for simplicity's sake, but I will add them in as a footnote.
– jasonwryan
Dec 6 '12 at 7:16
the link "Vim Clutch" is dead
– Rashi
13 mins ago
@Rashi fixed...
– jasonwryan
10 mins ago
add a comment |
In user interface design, a mode is a distinct setting within a computer program or any physical machine interface, in which the same user input will produce perceived different results than it would in other settings. The best-known modal interface components are probably the Caps lock and Insert keys on the standard computer keyboard, both of which put the user's typing into a different mode after being pressed, then return it to the regular mode after being re-pressed.
An interface that uses no modes is known as a modeless interface.[1] Modeless interfaces intend to avoid mode errors[2] by making it impossible for the user to commit them.
3
This looks like it is copied from Wikipedia (unless you PRAMOD wrote that article, I don't know). If so, shouldn't that article be cited?
– Guildenstern
Jun 19 '17 at 20:15
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/3.0/"u003ecc by-sa 3.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%2f57705%2fmodeless-vs-modal-editors%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
A normal, "modeless" editor is like Notepad on Windows: there is only one mode, where you input text.
Vi, and it's successor Vim, are modal: there are two primary modes1, insert mode where you type text into the editor and it is committed to the document, and normal mode where you enter arguments via the keyboard that perform a variety of functions, including: moving the cursor around the document, searching, and manipulating the text in the document (for example, cutting and pasting).
The Wikipedia article on Vi has a good entry on the modal interface.
The primary appeal, originally a necessity in the early days of Unix computing prior to the widespread adoption of the mouse, is completely keyboard driven editing. This approach has now been more widely adopted in Unix-land, being used for example by a variety of web browsers.
This awesome project, Vim Clutch, provides a clear visualization of the concept of switching between modes.
1. There are also two other modes, command mode for entering commands as you would in a shell, and visual mode when selecting text to operate on.
2
Do not forget command line mode and visual mode.
– Bernhard
Dec 6 '12 at 7:02
Good point. I stuck to primary modes for simplicity's sake, but I will add them in as a footnote.
– jasonwryan
Dec 6 '12 at 7:16
the link "Vim Clutch" is dead
– Rashi
13 mins ago
@Rashi fixed...
– jasonwryan
10 mins ago
add a comment |
A normal, "modeless" editor is like Notepad on Windows: there is only one mode, where you input text.
Vi, and it's successor Vim, are modal: there are two primary modes1, insert mode where you type text into the editor and it is committed to the document, and normal mode where you enter arguments via the keyboard that perform a variety of functions, including: moving the cursor around the document, searching, and manipulating the text in the document (for example, cutting and pasting).
The Wikipedia article on Vi has a good entry on the modal interface.
The primary appeal, originally a necessity in the early days of Unix computing prior to the widespread adoption of the mouse, is completely keyboard driven editing. This approach has now been more widely adopted in Unix-land, being used for example by a variety of web browsers.
This awesome project, Vim Clutch, provides a clear visualization of the concept of switching between modes.
1. There are also two other modes, command mode for entering commands as you would in a shell, and visual mode when selecting text to operate on.
2
Do not forget command line mode and visual mode.
– Bernhard
Dec 6 '12 at 7:02
Good point. I stuck to primary modes for simplicity's sake, but I will add them in as a footnote.
– jasonwryan
Dec 6 '12 at 7:16
the link "Vim Clutch" is dead
– Rashi
13 mins ago
@Rashi fixed...
– jasonwryan
10 mins ago
add a comment |
A normal, "modeless" editor is like Notepad on Windows: there is only one mode, where you input text.
Vi, and it's successor Vim, are modal: there are two primary modes1, insert mode where you type text into the editor and it is committed to the document, and normal mode where you enter arguments via the keyboard that perform a variety of functions, including: moving the cursor around the document, searching, and manipulating the text in the document (for example, cutting and pasting).
The Wikipedia article on Vi has a good entry on the modal interface.
The primary appeal, originally a necessity in the early days of Unix computing prior to the widespread adoption of the mouse, is completely keyboard driven editing. This approach has now been more widely adopted in Unix-land, being used for example by a variety of web browsers.
This awesome project, Vim Clutch, provides a clear visualization of the concept of switching between modes.
1. There are also two other modes, command mode for entering commands as you would in a shell, and visual mode when selecting text to operate on.
A normal, "modeless" editor is like Notepad on Windows: there is only one mode, where you input text.
Vi, and it's successor Vim, are modal: there are two primary modes1, insert mode where you type text into the editor and it is committed to the document, and normal mode where you enter arguments via the keyboard that perform a variety of functions, including: moving the cursor around the document, searching, and manipulating the text in the document (for example, cutting and pasting).
The Wikipedia article on Vi has a good entry on the modal interface.
The primary appeal, originally a necessity in the early days of Unix computing prior to the widespread adoption of the mouse, is completely keyboard driven editing. This approach has now been more widely adopted in Unix-land, being used for example by a variety of web browsers.
This awesome project, Vim Clutch, provides a clear visualization of the concept of switching between modes.
1. There are also two other modes, command mode for entering commands as you would in a shell, and visual mode when selecting text to operate on.
edited 10 mins ago
answered Dec 6 '12 at 6:29
jasonwryan
49.1k14134184
49.1k14134184
2
Do not forget command line mode and visual mode.
– Bernhard
Dec 6 '12 at 7:02
Good point. I stuck to primary modes for simplicity's sake, but I will add them in as a footnote.
– jasonwryan
Dec 6 '12 at 7:16
the link "Vim Clutch" is dead
– Rashi
13 mins ago
@Rashi fixed...
– jasonwryan
10 mins ago
add a comment |
2
Do not forget command line mode and visual mode.
– Bernhard
Dec 6 '12 at 7:02
Good point. I stuck to primary modes for simplicity's sake, but I will add them in as a footnote.
– jasonwryan
Dec 6 '12 at 7:16
the link "Vim Clutch" is dead
– Rashi
13 mins ago
@Rashi fixed...
– jasonwryan
10 mins ago
2
2
Do not forget command line mode and visual mode.
– Bernhard
Dec 6 '12 at 7:02
Do not forget command line mode and visual mode.
– Bernhard
Dec 6 '12 at 7:02
Good point. I stuck to primary modes for simplicity's sake, but I will add them in as a footnote.
– jasonwryan
Dec 6 '12 at 7:16
Good point. I stuck to primary modes for simplicity's sake, but I will add them in as a footnote.
– jasonwryan
Dec 6 '12 at 7:16
the link "Vim Clutch" is dead
– Rashi
13 mins ago
the link "Vim Clutch" is dead
– Rashi
13 mins ago
@Rashi fixed...
– jasonwryan
10 mins ago
@Rashi fixed...
– jasonwryan
10 mins ago
add a comment |
In user interface design, a mode is a distinct setting within a computer program or any physical machine interface, in which the same user input will produce perceived different results than it would in other settings. The best-known modal interface components are probably the Caps lock and Insert keys on the standard computer keyboard, both of which put the user's typing into a different mode after being pressed, then return it to the regular mode after being re-pressed.
An interface that uses no modes is known as a modeless interface.[1] Modeless interfaces intend to avoid mode errors[2] by making it impossible for the user to commit them.
3
This looks like it is copied from Wikipedia (unless you PRAMOD wrote that article, I don't know). If so, shouldn't that article be cited?
– Guildenstern
Jun 19 '17 at 20:15
add a comment |
In user interface design, a mode is a distinct setting within a computer program or any physical machine interface, in which the same user input will produce perceived different results than it would in other settings. The best-known modal interface components are probably the Caps lock and Insert keys on the standard computer keyboard, both of which put the user's typing into a different mode after being pressed, then return it to the regular mode after being re-pressed.
An interface that uses no modes is known as a modeless interface.[1] Modeless interfaces intend to avoid mode errors[2] by making it impossible for the user to commit them.
3
This looks like it is copied from Wikipedia (unless you PRAMOD wrote that article, I don't know). If so, shouldn't that article be cited?
– Guildenstern
Jun 19 '17 at 20:15
add a comment |
In user interface design, a mode is a distinct setting within a computer program or any physical machine interface, in which the same user input will produce perceived different results than it would in other settings. The best-known modal interface components are probably the Caps lock and Insert keys on the standard computer keyboard, both of which put the user's typing into a different mode after being pressed, then return it to the regular mode after being re-pressed.
An interface that uses no modes is known as a modeless interface.[1] Modeless interfaces intend to avoid mode errors[2] by making it impossible for the user to commit them.
In user interface design, a mode is a distinct setting within a computer program or any physical machine interface, in which the same user input will produce perceived different results than it would in other settings. The best-known modal interface components are probably the Caps lock and Insert keys on the standard computer keyboard, both of which put the user's typing into a different mode after being pressed, then return it to the regular mode after being re-pressed.
An interface that uses no modes is known as a modeless interface.[1] Modeless interfaces intend to avoid mode errors[2] by making it impossible for the user to commit them.
answered Apr 3 '13 at 3:36
PRAMOD
411
411
3
This looks like it is copied from Wikipedia (unless you PRAMOD wrote that article, I don't know). If so, shouldn't that article be cited?
– Guildenstern
Jun 19 '17 at 20:15
add a comment |
3
This looks like it is copied from Wikipedia (unless you PRAMOD wrote that article, I don't know). If so, shouldn't that article be cited?
– Guildenstern
Jun 19 '17 at 20:15
3
3
This looks like it is copied from Wikipedia (unless you PRAMOD wrote that article, I don't know). If so, shouldn't that article be cited?
– Guildenstern
Jun 19 '17 at 20:15
This looks like it is copied from Wikipedia (unless you PRAMOD wrote that article, I don't know). If so, shouldn't that article be cited?
– Guildenstern
Jun 19 '17 at 20:15
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f57705%2fmodeless-vs-modal-editors%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