Changing the practice of quiting and opening vi (vim) editor?

后端 未结 5 683
灰色年华
灰色年华 2021-02-11 07:05

One of the primary distinction betweeen vi (vim) and emacs, is emacs is designed and supposed to be run at times without quitting, where as given the quick load time of vim, it

5条回答
  •  死守一世寂寞
    2021-02-11 07:09

    You can even drop down to a shell using :sh, and then get back to Vim using exit in the shell. For editing multiple files in the same Vim, you can use :vsplit filename or :split filename (for vertical and horizontal splits), and then use Esc+Ctrl+w+arrow keys to navigate between the different splits. This way you don't need tabs. Works especially well if you're working with small pieces of code.

提交回复
热议问题