浏览代码

IRC and tabs

Simon Watson 3 年之前
父节点
当前提交
54cf5079b9
共有 1 个文件被更改,包括 9 次插入1 次删除
  1. 9 1
      emacs/.emacs-mac

+ 9 - 1
emacs/.emacs-mac

@@ -57,7 +57,9 @@
 
 ;; Enable tab behavior like vi
 (straight-use-package '(evil-tabs :type git :host github
-                                   :repo "krisajenkins/evil-tabs"))
+                                  :repo "krisajenkins/evil-tabs"))
+(require 'evil-tabs)
+(global-evil-tabs-mode t)
 
 (require 'auto-complete)
 (global-auto-complete-mode t)
@@ -110,6 +112,12 @@
 (display-time-mode t)
 (display-line-numbers-mode t)
 
+;;; Custom commands
+(load "/Users/swatson/.emacs.d/.erc-auth.el")
+(defun connect-to-libera-erc () (interactive)
+  (erc :server "irc.libera.chat" :port "6667"
+                                :nick "speskk" :password *libera-chat*))
+
 (custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.