Add more vimmy keybindings
git-svn-id: http://photonzero.com/dotfiles/trunk@56 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
parent
c4f489c4c1
commit
10e42d54e2
3 changed files with 15 additions and 62 deletions
|
|
@ -1,3 +1,7 @@
|
|||
(if (< emacs-major-version 23)
|
||||
(defun characterp (obj)
|
||||
(and (char-or-string-p obj) (not (stringp obj)))))
|
||||
|
||||
(add-to-list 'load-path "~/.emacs.d")
|
||||
(add-to-list 'load-path "~/.emacs.d/auto-complete")
|
||||
|
||||
|
|
@ -14,6 +18,7 @@
|
|||
(setq ac-dwim t)
|
||||
(setq ac-expand-on-auto-complete nil)
|
||||
(setq ac-use-fuzzy t)
|
||||
(setq viper-search-wrap-around t)
|
||||
;(define-key ac-completing-map "\t" 'ac-fuzzy-complete)
|
||||
;(define-key ac-completing-map "\r" nil)
|
||||
|
||||
|
|
@ -46,6 +51,13 @@
|
|||
|
||||
(tabbar-mode)
|
||||
|
||||
(add-to-list 'ex-token-alist '("ls" (list-buffers)))
|
||||
(vimpulse-map "gn" 'tabbar-forward-tab)
|
||||
(vimpulse-map "gp" 'tabbar-backward-tab)
|
||||
(vimpulse-map "gw" 'vimpulse-search-forward-for-symbol-at-point)
|
||||
;(define-key viper-insert-global-user-map "\C-d" 'delete-char))
|
||||
(add-hook 'window-setup-hook 'delete-other-windows)
|
||||
|
||||
; Basic frame defaults
|
||||
(let ((background-color "#2F2F2F")
|
||||
(foreground-color "LightGrey")
|
||||
|
|
@ -69,7 +81,6 @@
|
|||
(color-theme-initialize)
|
||||
;(require 'color-theme-barak)
|
||||
|
||||
(if window-system
|
||||
(color-theme-barak))
|
||||
(color-theme-barak)
|
||||
|
||||
;(defun my-emacs-startup-hook () (my-close-scratch)) (add-hook 'emacs-startup-hook 'my-emacs-startup-hook)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue