emacs and rotate
This commit is contained in:
parent
0ce7a2f33a
commit
a134cbdc2a
3 changed files with 14 additions and 1 deletions
|
|
@ -8,6 +8,13 @@
|
|||
(add-to-list 'load-path "~/.emacs.d/tabbar")
|
||||
(add-to-list 'load-path "~/.emacs.d/evil")
|
||||
|
||||
(require 'package)
|
||||
(when (< emacs-major-version 24)
|
||||
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
|
||||
(add-to-list 'package-archives
|
||||
'("melpa" . "http://melpa.milkbox.net/packages/") t)
|
||||
(package-initialize)
|
||||
|
||||
|
||||
(fset 'yes-or-no-p 'y-or-n-p)
|
||||
|
||||
|
|
@ -22,7 +29,9 @@
|
|||
(require 'tabbar)
|
||||
;(require 'highlight-symbol)
|
||||
(require 'auto-complete-config)
|
||||
(require 'cl)
|
||||
(evil-mode 1)
|
||||
(eval-after-load 'flymake '(require 'flymake-cursor))
|
||||
|
||||
|
||||
;; Hack to get *Messages* in viper-mode.
|
||||
|
|
@ -86,6 +95,9 @@
|
|||
;(vimpulse-map "gK" 'kill-buffer-and-window)
|
||||
;(vimpulse-map "gc" 'kill-buffer-and-window)
|
||||
;(define-key viper-insert-global-user-map "\C-d" 'delete-char))
|
||||
(define-key evil-normal-state-map "gn" 'tabbar-forward-tab)
|
||||
(define-key evil-normal-state-map "gp" 'tabbar-backward-tab)
|
||||
(define-key evil-normal-state-map "gc" 'kill-buffer-and-window)
|
||||
|
||||
(add-hook 'window-setup-hook 'delete-other-windows)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue