Permalink
Browse files

a whole lot of things emacs and vim related

  • Loading branch information...
dakrone committed Oct 23, 2010
1 parent 491ee1f commit 276c4fe729f368eea1199197b3055f94af478a2d
View
@@ -2,6 +2,7 @@
(use 'clojure.stacktrace)
(require '[clj-stacktrace.repl :as stacktrace])
+;(use 'cd-client.core)
; Use pprint, depending on what version of Clojure I'm in
(if (< (:minor *clojure-version*) 2)
View
@@ -42,7 +42,7 @@
;; TODELETE: (require 'project-buffer-mode)
;; Command-enter -> fullscreen
-(global-set-key (kbd "M-RET") 'ns-toggle-fullscreen)
+(global-set-key (kbd "M-S-RET") 'ns-toggle-fullscreen)
; Dim parens
@@ -87,6 +87,18 @@
(match-end 1) "ƒ")
nil))))))
+;; use spaces instead of smart tabs for clojure-mode
+(eval-after-load 'clojure-mode '(setq-default indent-tabs-mode nil))
+
+;; Lazytest indention in clojure
+(eval-after-load 'clojure-mode
+ '(define-clojure-indent
+ (describe 'defun)
+ (testing 'defun)
+ (given 'defun)
+ (it 'defun)
+ (do-it 'defun)))
+
; This code makes % act like the buffer name, similar to Vim
(define-key minibuffer-local-map "%"
(function
@@ -351,7 +363,7 @@
(define-key global-map "\C-ca" 'org-agenda)
(setq org-log-done t)
-(setq journal-root-dir "/Users/zkim/Dropbox/org/")
+(setq journal-root-dir "/Users/hinmanm/Dropbox/org/")
(defun today-file-name () (concat journal-root-dir (format-time-string "%Y-%m-%d") ".org"))
(defun today-org ()
@@ -494,28 +506,29 @@
(require 'yaml-mode)
-(load-file "~/.emacs.d/plugins/cedet/common/cedet.el")
-(global-ede-mode t)
-(semantic-load-enable-minimum-features)
-(require 'semantic-ia)
+;(load-file "~/.emacs.d/plugins/cedet/common/cedet.el")
+;(global-ede-mode t)
+;(semantic-load-enable-minimum-features)
+;(require 'semantic-ia)
-(add-to-list 'load-path "~/.emacs.d/plugins/ecb240")
-(require 'ecb)
-(require 'ecb-autoloads)
-(setq ecb-tip-of-the-day nil)
+;(add-to-list 'load-path "~/.emacs.d/plugins/ecb240")
+;(require 'ecb)
+;(require 'ecb-autoloads)
+;(setq ecb-tip-of-the-day nil)
;(ecb-activate)
(setq inhibit-startup-screen t)
-(today-org)
-(setq initial-buffer-choice (today-file-name))
+;(today-org)
+;(setq initial-buffer-choice (today-file-name))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(ecb-layout-window-sizes (quote (("left8" (0.24203821656050956 . 0.2857142857142857) (0.24203821656050956 . 0.22448979591836735) (0.24203821656050956 . 0.2857142857142857) (0.24203821656050956 . 0.1836734693877551)))))
- '(ecb-options-version "2.40"))
+ '(ecb-options-version "2.40")
+ '(org-agenda-files (quote ("~/Dropbox/org/2010-10-07.org"))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
@@ -546,8 +559,8 @@
(load-file "~/.emacs.d/.keys")
; Viper-mode
-(require 'viper)
-(setq viper-mode t)
-(setq viper-always t)
-(add-hook 'fundamental-mode-hook '(lambda () (viper-mode t)))
-(add-to-list 'viper-vi-state-mode-list 'help-mode)
+;(require 'viper)
+;(setq viper-mode t)
+;(setq viper-always t)
+;(add-hook 'fundamental-mode-hook '(lambda () (viper-mode t)))
+;(add-to-list 'viper-vi-state-mode-list 'help-mode)
View
2 .irbrc
@@ -9,4 +9,4 @@ end
MyIRB.start
# Enable purdy hirb output for ActiveRecord things
-Hirb::View.enable if rails?
+#Hirb::View.enable if rails?
View
@@ -10,7 +10,6 @@ rainbow.vba: call delete('/Users/hinmanm/.vim/after/syntax/c/rainbow.vim')
ctk(2).vba: call delete('/Users/hinmanm/.vim/plugin/ctk.vim')|call delete('/Users/hinmanm/.vim/doc/ctk.txt')|call delete('/Users/hinmanm/.vim/.compiler_info')
vimwiki_0_9_4.vba: call delete('/Users/hinmanm/.vim/autoload/vimwiki.vim')|call delete('/Users/hinmanm/.vim/autoload/vimwiki_lst.vim')|call delete('/Users/hinmanm/.vim/autoload/vimwiki_html.vim')|call delete('/Users/hinmanm/.vim/doc/vimwiki.txt')|call delete('/Users/hinmanm/.vim/ftplugin/vimwiki.vim')|call delete('/Users/hinmanm/.vim/indent/vimwiki.vim')|call delete('/Users/hinmanm/.vim/plugin/vimwiki.vim')|call delete('/Users/hinmanm/.vim/syntax/vimwiki.vim')|call delete('/Users/hinmanm/.vim/syntax/vimwiki_default.vim')|call delete('/Users/hinmanm/.vim/syntax/vimwiki_media.vim')
vimwiki_0_9_6.vba: call delete('/Users/hinmanm/.vim/syntax/vimwiki.vim')|call delete('/Users/hinmanm/.vim/syntax/vimwiki_default.vim')|call delete('/Users/hinmanm/.vim/syntax/vimwiki_media.vim')|call delete('/Users/hinmanm/.vim/ftplugin/vimwiki.vim')|call delete('/Users/hinmanm/.vim/plugin/vimwiki.vim')|call delete('/Users/hinmanm/.vim/autoload/vimwiki.vim')|call delete('/Users/hinmanm/.vim/autoload/vimwiki_html.vim')|call delete('/Users/hinmanm/.vim/autoload/vimwiki_lst.vim')|call delete('/Users/hinmanm/.vim/doc/vimwiki.txt')
-supertab.vba: call delete('/Users/hinmanm/.vim/doc/supertab.txt')|call delete('/Users/hinmanm/.vim/plugin/supertab.vim')
vimwiki-0-9-801.vba: call delete('/Users/hinmanm/.vim/autoload/vimwiki.vim')|call delete('/Users/hinmanm/.vim/autoload/vimwiki_html.vim')|call delete('/Users/hinmanm/.vim/autoload/vimwiki_lst.vim')|call delete('/Users/hinmanm/.vim/doc/vimwiki.txt')|call delete('/Users/hinmanm/.vim/ftplugin/vimwiki.vim')|call delete('/Users/hinmanm/.vim/plugin/vimwiki.vim')|call delete('/Users/hinmanm/.vim/syntax/vimwiki.vim')|call delete('/Users/hinmanm/.vim/syntax/vimwiki_default.vim')|call delete('/Users/hinmanm/.vim/syntax/vimwiki_media.vim')
ctk.vba: call delete('/Users/hinmanm/.vim/.compiler_info')|call delete('/Users/hinmanm/.vim/plugin/ctk.vim')|call delete('/Users/hinmanm/.vim/doc/ctk.txt')
markdown-1.1.0.vba: call delete('/Users/hinmanm/.vim/ftdetect/markdown.vim')|call delete('/Users/hinmanm/.vim/snippets/markdown.snippets')|call delete('/Users/hinmanm/.vim/syntax/markdown.vim')
@@ -28,3 +27,5 @@ twitvim-0.5.5.vba: call delete('/Users/hinmanm/.vim/plugin/twitvim.vim')|call de
vimwiki-1-1.vba: call delete('/Users/hinmanm/.vim/autoload/vimwiki.vim')|call delete('/Users/hinmanm/.vim/autoload/vimwiki_diary.vim')|call delete('/Users/hinmanm/.vim/autoload/vimwiki_html.vim')|call delete('/Users/hinmanm/.vim/autoload/vimwiki_lst.vim')|call delete('/Users/hinmanm/.vim/autoload/vimwiki_tbl.vim')|call delete('/Users/hinmanm/.vim/doc/vimwiki.txt')|call delete('/Users/hinmanm/.vim/ftplugin/vimwiki.vim')|call delete('/Users/hinmanm/.vim/plugin/vimwiki.vim')|call delete('/Users/hinmanm/.vim/syntax/vimwiki.vim')|call delete('/Users/hinmanm/.vim/syntax/vimwiki_default.vim')|call delete('/Users/hinmanm/.vim/syntax/vimwiki_media.vim')
vimwiki-1-1-1.vba: call delete('/Users/hinmanm/.vim/autoload/vimwiki.vim')|call delete('/Users/hinmanm/.vim/autoload/vimwiki_diary.vim')|call delete('/Users/hinmanm/.vim/autoload/vimwiki_html.vim')|call delete('/Users/hinmanm/.vim/autoload/vimwiki_lst.vim')|call delete('/Users/hinmanm/.vim/autoload/vimwiki_tbl.vim')|call delete('/Users/hinmanm/.vim/doc/vimwiki.txt')|call delete('/Users/hinmanm/.vim/ftplugin/vimwiki.vim')|call delete('/Users/hinmanm/.vim/plugin/vimwiki.vim')|call delete('/Users/hinmanm/.vim/syntax/vimwiki.vim')|call delete('/Users/hinmanm/.vim/syntax/vimwiki_default.vim')|call delete('/Users/hinmanm/.vim/syntax/vimwiki_media.vim')
command-t-0.8.1.vba: call delete('/Users/hinmanm/.vim/ruby/command-t/controller.rb')|call delete('/Users/hinmanm/.vim/ruby/command-t/extconf.rb')|call delete('/Users/hinmanm/.vim/ruby/command-t/finder.rb')|call delete('/Users/hinmanm/.vim/ruby/command-t/match_window.rb')|call delete('/Users/hinmanm/.vim/ruby/command-t/prompt.rb')|call delete('/Users/hinmanm/.vim/ruby/command-t/scanner.rb')|call delete('/Users/hinmanm/.vim/ruby/command-t/settings.rb')|call delete('/Users/hinmanm/.vim/ruby/command-t/stub.rb')|call delete('/Users/hinmanm/.vim/ruby/command-t/vim/screen.rb')|call delete('/Users/hinmanm/.vim/ruby/command-t/vim/window.rb')|call delete('/Users/hinmanm/.vim/ruby/command-t/vim.rb')|call delete('/Users/hinmanm/.vim/ruby/command-t/ext.c')|call delete('/Users/hinmanm/.vim/ruby/command-t/match.c')|call delete('/Users/hinmanm/.vim/ruby/command-t/matcher.c')|call delete('/Users/hinmanm/.vim/ruby/command-t/ext.h')|call delete('/Users/hinmanm/.vim/ruby/command-t/match.h')|call delete('/Users/hinmanm/.vim/ruby/command-t/matcher.h')|call delete('/Users/hinmanm/.vim/ruby/command-t/ruby_compat.h')|call delete('/Users/hinmanm/.vim/ruby/command-t/depend')|call delete('/Users/hinmanm/.vim/doc/command-t.txt')|call delete('/Users/hinmanm/.vim/plugin/command-t.vim')
+supertab.vba: call delete('/Users/hinmanm/.vim/doc/supertab.txt')|call delete('/Users/hinmanm/.vim/plugin/supertab.vim')
+twitvim-0.5.6.vba: call delete('/Users/hinmanm/.vim/plugin/twitvim.vim')|call delete('/Users/hinmanm/.vim/doc/twitvim.txt')
Oops, something went wrong.

0 comments on commit 276c4fe

Please sign in to comment.