.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.
code@2
     1
(auto-fill-mode nil)
code@123
     2
;; Remove the scroll bar, toolbar, and menu bar.
adam@473
     3
;; Probably not needed since it's already in .Xresources
gak9422e@0
     4
(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
gak9422e@0
     5
(if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
gak9422e@0
     6
(if (fboundp 'menu-bar-mode) (menu-bar-mode -1))
gak9422e@0
     7
code@2
     8
(column-number-mode t)
code@2
     9
code@2
    10
;; Get rid of the bell error thingy
code@2
    11
(setq ring-bell-function 'ignore)
code@2
    12
code@3
    13
(add-hook 'isearch-mode-end-hook 'my-goto-match-beginning)
code@3
    14
(defun my-goto-match-beginning ()
code@3
    15
  (when isearch-forward (goto-char isearch-other-end)))
code@78
    16
code@78
    17
(ido-mode t)
code@78
    18
;; http://www.emacsblog.org/2008/05/19/giving-ido-mode-a-second-chance/
code@78
    19
(setq ido-enable-flex-matching t)
code@123
    20
(add-hook 'ido-setup-hook
code@123
    21
          (lambda ()
code@78
    22
            (define-key ido-completion-map [tab] 'ido-complete)))
code@78
    23
code@78
    24
code@78
    25
;; http://www.emacsblog.org/2007/08/07/quick-tip-show-paren-mode/
code@78
    26
(show-paren-mode t)
code@78
    27
code@2
    28
(provide 'ag-ui)