Customizing emacs in .emacs file -
i want emacs start specific settings default. found need edit .emacs file in home directory , use lisp language. errors. need have:
- windows split vertical line (i work in c++ headers , source files)
- column number mode
- cua-mode enabled (to work normal copy, cut & paste shortcuts)
that's have in .emacs file:
(column-number-mode) (load "cua-mode") (cua-mode t) (split-window-right)
i'ver tried coding 2 middle settings in 1 - (cua-mode). didn't work out well.
the column-number-mode works, cua not load , window split horizontally (top , bottom window). error? feedback.
from comments question:
if you're using emacs 24.1 or later,
(column-number-mode) (load "cua-mode") (cua-mode t) (split-window-right)
but if you're using earlier version,
(column-number-mode) (load "cua-mode") (cua-mode t) (split-window-horizontally)
by way, split-window-horizontally works in later versions of emacs (i'm using emacs 25.2.1).
Comments
Post a Comment