« Abreviaciones dentro del Editor Vim ,Search and Replace textque son los Wilcards o comodines and tips advice commands »

Mutiple Windows with VIM


  12:41:00 by admin, Categories: Editores, Vi, Vim, otros.

multiple windows

If you want, you can probably do everything from one vim session! :) Here are some commands to turn one vim session (inside one xterm) into multiple windows.

 :e filename      - edit another file
 :split filename  - split window and load another file
 ctrl-w up arrow  - move cursor up a window
 ctrl-w ctrl-w    - move cursor to another window (cycle)
 ctrl-w_          - maximize current window
 ctrl-w=          - make all equal size
 10 ctrl-w+       - increase window size by 10 lines
 :vsplit file     - vertical split
 :sview file      - same as split, but readonly
 :hide            - close current window
 :only            - keep only this window open
 :ls              - show current buffers
 :b 2             - open buffer #2 in this window

source : https://www.cs.oberlin.edu/~kuperman/help/vim/home.html

No feedback yet

Aqui relato cada una de las experiencias con LINUX



All LinuXnet

Random photo

Image post

  XML Feeds

powered by b2evolution free blog software