About your question which of the 2 editors are more easy?
There are many reasons why Nano is easier:
1. yes you have to guess/know what the symbol means that is supposed to mean ctrl but you ask yourself that 1 time after that you learned it and if you use all 10 years nano you won't forget it.
But you will forget the letter of the shortcut in a editor if you use it very seldom. So seeing that letter helps.
2. Esc :q! are 6 keys (2 times shift) vs 2 keys easier to do.
3. the quit function has a dialog for saving if it detects that you made changes, with vi you have to think and know that you have to either use ! or w for writing so you need to know 2 commands instead of 1, and think extra which one to use now. sure :q gives you a warning but no dialog you have to modify your command.
4. the other thing you want to do in a editor is to either modify a file or start writing a new one. nano you just type and good with vi you first have to change a mode, which again 1 more step.
Sure you could argue that more likely you edit a file than create a new one, so better edit tools are more important than the ability to just start typing without anything, but you have to then know many commands, even deleting a word becomes a challenge if you don't know the exact command.
You can say you only learned that backspace deletes a character but that is very basic knowledge that works even in the bash with commands you write.
5. when we are at it, be consistent, either have a vi powered terminal and a vi powered editor or have both non-modal. else you have to understand the non modal editing of words / commands and the modal way so you have to know both, and that is of course harder than only know 1 way of doing things.
There are many reasons why Nano is easier:
1. yes you have to guess/know what the symbol means that is supposed to mean ctrl but you ask yourself that 1 time after that you learned it and if you use all 10 years nano you won't forget it.
But you will forget the letter of the shortcut in a editor if you use it very seldom. So seeing that letter helps.
2. Esc :q! are 6 keys (2 times shift) vs 2 keys easier to do.
3. the quit function has a dialog for saving if it detects that you made changes, with vi you have to think and know that you have to either use ! or w for writing so you need to know 2 commands instead of 1, and think extra which one to use now. sure :q gives you a warning but no dialog you have to modify your command.
4. the other thing you want to do in a editor is to either modify a file or start writing a new one. nano you just type and good with vi you first have to change a mode, which again 1 more step.
Sure you could argue that more likely you edit a file than create a new one, so better edit tools are more important than the ability to just start typing without anything, but you have to then know many commands, even deleting a word becomes a challenge if you don't know the exact command.
You can say you only learned that backspace deletes a character but that is very basic knowledge that works even in the bash with commands you write.
5. when we are at it, be consistent, either have a vi powered terminal and a vi powered editor or have both non-modal. else you have to understand the non modal editing of words / commands and the modal way so you have to know both, and that is of course harder than only know 1 way of doing things.
Comment