Skip to content
Snippets Groups Projects
Commit 4789dd69 authored by mark's avatar mark
Browse files

too long to remember the message

parent f065341c
Branches
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
;; This file is
;;; Code:
(setq debug-on-error t)
;; (setq debug-on-error t)
(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
(add-to-list 'load-path (expand-file-name "lisp" user-emacs-directory))
......@@ -99,13 +99,16 @@
(require-package 'org2ctex)
(require-package 'org-autolist)
(require-package 'org-plus-contrib)
(require 'org2ctex)
(org2ctex-toggle t)
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
(add-hook 'org-mode-hook 'turn-on-font-lock)
(add-hook 'message-mode-hook 'turn-on-orgstruct)
(add-hook 'message-mode-hook 'turn-on-orgstruct++)
(add-hook 'org-mode-hook (lambda () (org-autolist-mode)));;enable org autolist
(add-hook 'org-mode-hook (lambda () (setq truncate-lines nil)))
;; (add-hook 'org-mode-hook (lambda () (setq truncate-lines nil)))
(add-hook 'org-mode-hook 'iimage-mode)
(add-hook 'org-mode-hook 'visual-line-mode)
)
......
......@@ -34,9 +34,11 @@
(when *is-a-win*
(setq usr-include-path
'(
"c:/msys64/mingw64/x86_64-w64-mingw32/include"
"c:/msys64/mingw64/x86_64-w64-mingw32/include/c++"
)))
"C:\\Program Files\\mingw-w64\\mingw64\\x86_64-w64-mingw32\\include"
"C:\\Program Files\\mingw-w64\\mingw64\\include"
"C:\\Program Files\\mingw-w64\\mingw64\\lib\\gcc\\x86_64-w64-mingw32\\7.3.0\\include"
"C:\\Program Files\\mingw-w64\\mingw64\\lib\\gcc\\x86_64-w64-mingw32\\7.3.0\\include\\c++"
)))
(defun c-cpp/cc-mode ()
......
......@@ -8,7 +8,7 @@
;;; Get init.el
;;---------------------------------------------------------------------------
(defun mark/open-init-file()
(defun open-init-file()
"Find and open the init.el."
(interactive)
(find-file "~/.emacs.d/init.el"))
......
# -*- mode: snippet -*-
# name: fun_declaration
# key: f
# key: dcf/
# --
${1:type} ${2:name}(${3:args})${4: const};
\ No newline at end of file
# -*- mode: snippet -*-
# name: decline new function
# key: dcf/
# --
${type} ${name}(${});
# -*- mode: snippet -*-
# name: stdlib
# key: std
# key: lib
# --
#include <stdlib.h>
#include <stdlib.h>
\ No newline at end of file
# -*- mode: snippet -*-
# name: define_fun
# key: df
# key: df/
# --
${type} ${name}(${})
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment