mirror of https://github.com/Chizi123/.emacs.d.git

Chizi123
2019-01-10 db15ba02fcdc06feda4c393f2ec70913bc89854e
added new snippets for ENGR10003 assignment 1
7 files added
2 files modified
61 ■■■■ changed files
.gitignore 1 ●●●● patch | view | raw | blame | history
config.org 21 ●●●●● patch | view | raw | blame | history
snippets/latex-mode/ENGR10003 Assignment 1/A0 5 ●●●●● patch | view | raw | blame | history
snippets/latex-mode/ENGR10003 Assignment 1/A1 5 ●●●●● patch | view | raw | blame | history
snippets/latex-mode/ENGR10003 Assignment 1/A2 5 ●●●●● patch | view | raw | blame | history
snippets/latex-mode/ENGR10003 Assignment 1/A3 5 ●●●●● patch | view | raw | blame | history
snippets/latex-mode/overline 5 ●●●●● patch | view | raw | blame | history
snippets/org-mode/latex-snippet 8 ●●●●● patch | view | raw | blame | history
snippets/org-mode/table to matrix 6 ●●●●● patch | view | raw | blame | history
.gitignore
@@ -11,3 +11,4 @@
projectile-bookmarks.eld
projectile.cache
recentf
irony*/
config.org
@@ -3,7 +3,7 @@
Dependencies needed for Aspell, poppler PDF-tools, compilers and ghost-script provided by mingw64
#+BEGIN_SRC emacs-lisp
  (when (eq system-type 'windows-nt)
    (add-to-list 'exec-path "C:/msys64/usr/bin")
    ;; (add-to-list 'exec-path "C:/msys64/usr/bin")
    (add-to-list 'exec-path "C:/msys64/mingw64/bin")
    (add-to-list 'exec-path "c:/Program Files/Racket")
    (setenv "PATH" (mapconcat #'identity exec-path path-separator)))
@@ -565,27 +565,24 @@
#+END_SRC
**** company
#+BEGIN_SRC emacs-lisp
  (add-hook 'c-mode-common-hook
        (lambda ()
          (define-key c-mode-base-map  [(tab)] 'company-complete)))
    (use-package company-c-headers
    :ensure t
    :after company
    :config
    (add-hook 'c++-mode-hook 'company-mode)
    (add-hook 'c-mode-hook 'company-mode))
        :ensure t
        :after company
        :config
        (add-hook 'c++-mode-hook 'company-mode)
        (add-hook 'c-mode-hook 'company-mode))
    (use-package company-irony
      :ensure t
      :config
      (add-to-list 'company-backends '(company-c-headers
                       company-dabbrev-code
                       company-irony)))
                                       company-dabbrev-code
                                       company-irony)))
    (use-package irony
      :ensure t
      :config
      (setq w32-pipe-read-delay 0)
      (add-hook 'c++-mode-hook 'irony-mode)
      (add-hook 'c-mode-hook 'irony-mode)
      (add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options))
snippets/latex-mode/ENGR10003 Assignment 1/A0
New file
@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: A0
# key: A0
# --
\overline{A_0}\hspace{0.1cm}
snippets/latex-mode/ENGR10003 Assignment 1/A1
New file
@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: A1
# key: A1
# --
\overline{A_1}\hspace{0.1cm}
snippets/latex-mode/ENGR10003 Assignment 1/A2
New file
@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: A2
# key: A2
# --
\overline{A_2}\hspace{0.1cm}
snippets/latex-mode/ENGR10003 Assignment 1/A3
New file
@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: A3
# key: A3
# --
\overline{A_3}\hspace{0.1cm}
snippets/latex-mode/overline
New file
@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: Overline
# key: ov
# --
\overline{$1}$0
snippets/org-mode/latex-snippet
New file
@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: Latex snippet
# key: <l
# group: code snippets
# --
#+BEGIN_SRC latex
$0
#+END_SRC
snippets/org-mode/table to matrix
New file
@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: Org table to latex matrix
# key: lmatrix
# --
#+attr_latex: :mode math :environment matrix
$0