forked from EnigmaCurry/emacs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanish.el.orig
52 lines (45 loc) · 1.94 KB
/
manish.el.orig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
;(add-to-list 'load-path "~/.emacs.d/slime/") ; your SLIME directory
;(setq inferior-lisp-program "/usr/bin/sbcl") ; your Lisp system
;(require 'slime)
;(require 'slime-autoloads)
;(slime-setup)
;(slime-setup '(slime-scratch slime-editing-commands))
;(slime-setup '(slime-repl)) ; almost everything
<<<<<<< HEAD
(require 'git)
(require 'git-blame)
(fset 'lisp-copy-defun
[?\C-r ?\( ?d ?e ?f ?\C-m right ?\C-\M-a ?\C-\M-@ ?\M-w ?\C-x ?o ?\M-> return ?\C-y ?\C-\M-a ?\C-\M-@ ?\C-\M-q ?\M-> ?\C-x ?\C-s ?\C-x ?o])
=======
(defvar *home-dir* "/home/manish/")
(add-to-list 'load-path (concatenate 'string *home-dir* ".emacs.d/lisp/redshank"))
(global-set-key [f5] 'mark-sexp)
(require 'redshank-loader )
(eval-after-load "redshank-loader"
`(redshank-setup '(lisp-mode-hook
slime-repl-mode-hook) t))
(setq auto-mode-alist (append '(
("\\.py$" . python-mode)
("\\.conf$" . conf-mode)
("\\.sh$" . shell-script-mode)
("\\.txt$" . text-mode)
("\\.lua$" . lua-mode) ; Lua ;)
("\\.js$" . javascript-mode)
("\\.lisp" . lisp-mode)
) auto-mode-alist))
(autoload 'paredit-mode "paredit"
"Minor mode for pseudo-structurally editing Lisp code."
t)
(autoload 'redshank-mode "redshank"
"Minor mode for editing and refactoring (Common) Lisp code."
t)
(autoload 'turn-on-redshank-mode "redshank"
"Turn on Redshank mode. Please see function `redshank-mode'."
t)
(add-hook 'slime-repl-mode-hook 'turn-on-redshank-mode)
(add-hook 'slime-repl-mode-hook 'paredit-mode)
(add-hook 'lisp-mode-hook 'paredit-mode)
(add-hook 'lisp-mode-hook 'turn-on-redshank-mode)
(setq user-mail-address "[email protected]")
(setq user-full-name "Manish M Yathnalli")
>>>>>>> 5d1f6467c391822b6b6f7ada61b854effafb8271