QuestionQ62Verified/Essential CommandsCopy linkReport a problemAsk AstroTutorSave questionHow do the i and a commands in the vi editor differ?Ai (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modes automatically.Bi (insert) inserts text before the current cursor position whereas a (append) inserts text after the cursor.Ci (independent rows) starts every new line at the first character whereas a (aligned rows) keeps the indentation of the previous line.Di (interrupt) temporarily suspends editing of a file to the background whereas a (abort) terminates editing.Show AnswerAnswerExplanationIn vi, i enters text-input mode before the current cursor position, whereas a appends text after the cursor. Oracle’s vi reference documents these commands as “insert before cursor” and “append after cursor.”Learn moreOracle vi(1) Reference ManualShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion