;; my very basic emacs config (custom-set-variables '(ansi-color-faces-vector [default default default italic underline success warning error]) '(ansi-color-names-vector ["black" "red3" "ForestGreen" "yellow3" "blue" "magenta3" "DeepSkyBlue" "gray50"]) '(custom-enabled-themes (quote (wheatgrass)))) (custom-set-faces ) (global-set-key "\C-e" 'load-file) ;; keybind for automatically starting elisp file loader. (global-unset-key (kbd "\C-x u")) (global-set-key "\C-u" 'undo) (tool-bar-mode -1) ;; disable the toolbar. (global-unset-key (kbd "\C-x h")) (global-set-key "\C-a" 'mark-whole-buffer) (global-unset-key (kbd "\C-x o")) (global-set-key "\M-o" 'other-window) (global-set-key "\C-e" 'ielm) (global-unset-key (kbd "\C-z")) ;; this freezing shit is annoying (global-set-key "\C-z" 'eshell) (defun setup-workspace() (split-window-horizontally) (other-window 1) (eww-browse-url "https://www.duckduckgo.com") (switch-to-buffer "*eww*") (split-window-vertically) (other-window 1) (command-execute 'eshell) (switch-to-buffer "*eshell*") (other-window 1)) (global-set-key "\C-s w" 'setup-workspace)