Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <h3>Listing</h3> <p>To see a list of current buffers, I use:</p> <pre><code>:ls </code></pre> <hr> <h3>Opening</h3> <p>To open a new file, I use</p> <pre><code>:e ../myFile.pl </code></pre> <p>with enhanced tab completion (put <code>set wildmenu</code> in your <code>.vimrc</code>).</p> <p>Note: you can also use <code>:find</code> which will search a set of paths for you, but you need to customize those paths first.</p> <hr> <h3>Switching</h3> <p>To switch between all open files, I use</p> <pre><code>:b myfile </code></pre> <p>with enhanced tab completion (still <code>set wildmenu</code>).</p> <p>Note: <code>:b#</code> chooses the last visited file, so you can use it to switch quickly between two files.</p> <hr> <h3>Using windows</h3> <p><code>Ctrl-W s</code> and <code>Ctrl-W v</code> to split the current window horizontally and vertically. You can also use <code>:split</code> and <code>:vertical split</code> (<code>:sp</code> and <code>:vs</code>)</p> <p><code>Ctrl-W w</code> to switch between open windows, and <code>Ctrl-W h</code> (or <code>j</code> or <code>k</code> or <code>l</code>) to navigate through open windows.</p> <p><code>Ctrl-W c</code> to close the current window, and <code>Ctrl-W o</code> to close all windows except the current one.</p> <p>Starting vim with a <code>-o</code> or <code>-O</code> flag opens each file in its own split.</p> <hr> <p>With all these I don't need tabs in Vim, and my fingers find my buffers, not my eyes.</p> <p>Note: if you want all files to go to the same instance of Vim, start Vim with the <code>--remote-silent</code> option.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload