(add-to-list 'load-path "~/.emacs.d/") (add-to-list 'load-path "~/.emacs.d/auto-install/") (require 'color-theme) ;(color-theme-initialize) ;(color-theme-oswald) (require 'mycolortheme) (mycolortheme) (add-to-list 'load-path "~/.emacs.d/yasnippet-0.6.1c/") (require 'yasnippet) (yas/initialize) (yas/load-directory "~/.emacs.d/yasnippet-0.6.1c/snippets") (load "~/.emacs.d/nxhtml/autostart.el") (when (require 'auto-complete nil t) (global-auto-complete-mode t) (setq ac-auto-start 3) (setq ac-dwim t) (set-default 'ac-sources '(ac-source-words-in-buffer ac-source-files-in-current-dir)) ; (set-face-background 'ac-menu-face "lightgray") ; (set-face-underline 'ac-menu-face "darkgray") ; (set-face-background 'ac-selection-face "steelblue") ; (define-key ac-complete-mode-map "\t" 'ac-expand) ; (define-key ac-complete-mode-map "\r" 'ac-complete) ; (define-key ac-complete-mode-map "\M-n" 'ac-next) ; (define-key ac-complete-mode-map "\M-p" 'ac-previous) ) (require 'auto-install) ;; some what show-paren-mode is not working initially then i used mic-paren ;(setq show-paren-delay 0) ;(setq show-paren-mode t) (require 'mic-paren) (paren-activate) (setq indicate-empty-lines t) (setq indent-tabs-mode t) (setq-default indent-tabs-mode t) (setq default-tab-width 4) (setq tab-width 4) (setq c-basic-indent 4) (desktop-save-mode 1) (recentf-mode 1) (setq x-select-enable-clipboard t) ;(setq interprogram-paste-function 'x-cut-buffer-or-selection-value) (global-font-lock-mode 1) (setq inhibit-startup-message t) (auto-compression-mode 1) ;; highlight matches from searches (setq isearch-highlight t) (setq search-highlight t) ;; secili kismin arkaplan rengini degistir (setq-default transient-mark-mode t) ;; replace highlighted text with what I type rather than just inserting at a point (delete-selection-mode t) (setq user-mail-address "ertug@karamatli.com" query-user-mail-address nil) (defconst show-trailing-whitespace nil) ;; column number (column-number-mode t) (size-indication-mode t) ;; format the title-bar to always include the buffer name (setq frame-title-format "emacs - %b - %f") (menu-bar-mode -1) ;(global-hl-line-mode t) ;(setq hl-line-sticky-flag t) ;; (require 'w3m-load) ;; (setq browse-url-browser-function 'w3m-browse-url) ;; (autoload 'w3m-browse-url "w3m" "Ask a WWW browser to show a URL." t) ;; (global-set-key "\C-xm" 'browse-url-at-point) ;; (autoload 'browse-url-interactive-arg "browse-url") ;; (setq w3m-use-cookies t) ;; (setq w3m-coding-system 'utf-8 ;; w3m-file-coding-system 'utf-8 ;; w3m-file-name-coding-system 'utf-8 ;; w3m-input-coding-system 'utf-8 ;; w3m-output-coding-system 'utf-8 ;; w3m-terminal-coding-system 'utf-8) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(g-user-email "ertugkaramatli@gmail.com") '(twitter-include-replies t) '(twitter-username "ertug")) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(mumamo-background-chunk-major ((t nil))) '(mumamo-background-chunk-submode1 ((t nil))))