.emacs.d/ag-ui.el
author Adam Gomaa <adam@gomaa.us>
Sun Dec 18 13:13:02 2011 -0500
changeset 521 67f37d330ad0
parent 123 b4ab1fa6219e
permissions -rw-r--r--
Remove project & _list_projects, I don't use them anymore.
     1 (auto-fill-mode nil)
     2 ;; Remove the scroll bar, toolbar, and menu bar.
     3 ;; Probably not needed since it's already in .Xresources
     4 (if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
     5 (if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
     6 (if (fboundp 'menu-bar-mode) (menu-bar-mode -1))
     7 
     8 (column-number-mode t)
     9 
    10 ;; Get rid of the bell error thingy
    11 (setq ring-bell-function 'ignore)
    12 
    13 (add-hook 'isearch-mode-end-hook 'my-goto-match-beginning)
    14 (defun my-goto-match-beginning ()
    15   (when isearch-forward (goto-char isearch-other-end)))
    16 
    17 (ido-mode t)
    18 ;; http://www.emacsblog.org/2008/05/19/giving-ido-mode-a-second-chance/
    19 (setq ido-enable-flex-matching t)
    20 (add-hook 'ido-setup-hook
    21           (lambda ()
    22             (define-key ido-completion-map [tab] 'ido-complete)))
    23 
    24 
    25 ;; http://www.emacsblog.org/2007/08/07/quick-tip-show-paren-mode/
    26 (show-paren-mode t)
    27 
    28 (provide 'ag-ui)