84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
Use VIM, then: vi filename to open a new file, but how to close this new file? :q and quit all
:bdelete or:bd
Multi-window vim sometimes feels uncomfortable, just open multi-terminal tmux
:tabc close the current window :tabo Close all windows
:vi filename 会关闭当前正在编辑的文件,打开filename,此时整个vi只打开了一个文件,:qOf course I quit
:vi filename
:q
If you want to open two files at the same time
Use multiple tags :tab new filename 或者 多窗口:new filename
:tab new filename
:new filename
I usually use :vs,把屏幕一分为二,:qto only exit the current
:vs
:tabnew :sp :vspYou deserve it
:tabnew
:sp
:vsp
:bdelete or:bd
Multi-window vim sometimes feels uncomfortable, just open multi-terminal tmux
:tabc close the current window
:tabo Close all windows
:vi filename
会关闭当前正在编辑的文件,打开filename,此时整个vi只打开了一个文件,:q
Of course I quitIf you want to open two files at the same time
Use multiple tags
:tab new filename
或者 多窗口:new filename
I usually use
:vs
,把屏幕一分为二,:q
to only exit the current:tabnew
:sp
:vsp
You deserve it