Switching modesĪlthough Emacs mode is the default, if you have your $EDITOR set to vi (or any editor that contain “vi” such as vim), vi mode will be enabled. I won’t get down to the nitty-gritty of how line editors work, if you are interested, you can find more information about zle (Zsh line editor) and about Readline (used by Bash). I recommend starting with Emacs mode, mastering it, and later trying the vi mode. There are two modes of operation available to the Zsh (and Bash) line editor, one (the default) based on Emacs, and the other based on vi. It’s the first part of the shell you probably interacted with, as it handles all the commands you type.Įvery shell provides some kind of line editing capabilities, including entering and deleting characters, word navigation, deleting lines, etc. A line editor is a text editor that allows users to edit lines that represent commands.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |