emacs - set default window size
authorPeng Li <seudut@gmail.com>
Sat, 9 Jul 2016 19:52:18 +0000 (03:52 +0800)
committerPeng Li <seudut@gmail.com>
Sat, 9 Jul 2016 19:52:18 +0000 (03:52 +0800)
emacs.d/config.org

index 13ae0ea..d1eff00 100644 (file)
@@ -44,7 +44,7 @@ Set the emacs load path
 
 #+END_SRC       
 
-** General Setting
+** Window Setting
 
 Disable scroll bar, tool-bar and menu-bar
 
@@ -86,6 +86,13 @@ Setting scroll right/left
   ;  (global-set-key (kbd "C-.") 'scoll-right)
 #+END_SRC
 
+Set default window size
+#+BEGIN_SRC emacs-lisp :tangle yes :results silent
+  (setq initial-frame-alist
+        '((width . 120)
+          (height . 50)))
+#+END_SRC
+
 * Package Management Tools
 
 ** Use-package