It’s common to split windows while working in emacs. By default, whenever we
split windows in emacs the newly created window will also have the same
buffer(same buffer in two windows). So it is always needed
to change to another buffer by C-x b after splitting it.
We can customize it by little elisp code as below.