#1.split screens and editing multiple files:vim -o file1 file2 to start vim in split-mode editing two filesif already inside vim working with one file, use :sp command to split/open new file:sp filename #opens a new file and split screen in vim:n new_file #opens a new file and replace current file:b new_file #opens a new file and replace current file:args #to see which files are open with

#2. use vim's tabs to edit multiple files- far superior to buffer ( for vim 7.1+):tabe filename #opens a file in a new tab (a new thread of vim):tabn or gt #go to next file in tab:tabp or gT #go to previous file in tab:ls #to see a list of current tabs/buffers:1b #to switch to the 1st tab/buffer same as gt/tabn cmds:2b #to switch to the 2nd tab/buffer same as gt/tabn cmds:help tabe #to see tab's help

# The copy in your home directory (~/.bashrc) is yours, please# feel free to customise it to create a shell# environment to your liking. If you feel a change# would be benificial to all, please feel free to send# a patch to the cygwin mailing list.

# User dependent .bashrc file

# Shell Options# #############

# See man bash for more options...

# Don't wait for job termination notification# set -o notify

# Don't use ^D to exit# set -o ignoreeof

# Use case-insensitive filename globbing# shopt -s nocaseglob

# Make bash append rather than overwrite the history on disk# shopt -s histappend

# When changing directory small typos can be ignored by bash# for example, cd /vr/lgo/apaache would find /var/log/apache# shopt -s cdspell

# Some example alias instructions# If these are enabled they will be used instead of any instructions# they may mask. For example, alias rm='rm -i' will mask the rm# application. To override the alias instruction use a \ before, ie# \rm will call the real rm not the alias.