可能一生都学不完吧。
so it is very easy to edit!
(use-package dired+
:init
(setq diredp-hide-details-initially-flag nil)
:config
(diredp-toggle-find-file-reuse-dir 1))
(require-package 'cl-lib)
(eval-when-compile (require 'cl))
http://liu233w.github.io/blog/2016/09/29/org-python-windows/
;; 设置编码
(cond
((eq system-type 'windows-nt) ; 或者 (spacemacs/system-is-mswindows)
;;
(set-language-environment "chinese-gbk")
(prefer-coding-system 'utf-8)
(set-terminal-coding-system 'gbk)
;;
(modify-coding-system-alist 'process "*" 'gbk)
(defun liu233w/windows-shell-mode-coding ()
(set-buffer-file-coding-system 'gbk)
(set-buffer-process-coding-system 'gbk 'gbk))
(add-hook 'shell-mode-hook #'liu233w/windows-shell-mode-coding)
(add-hook 'inferior-python-mode-hook #'liu233w/windows-shell-mode-coding)
;;
(defun liu233w//python-encode-in-org-babel-execute (func body params)
"org-babel 执行代码时不会自动编码文件,这里通过动态作用域覆
盖默认选项来编码文件。"
;; 此问题的详细信息请参考:Liu233w/.spacemacs.d#6
(let ((coding-system-for-write 'utf-8))
(funcall func body params)))
(advice-add #'org-babel-execute:python :around
#'liu233w//python-encode-in-org-babel-execute))
;; --
(t
(set-language-environment "UTF-8")
(prefer-coding-system 'utf-8)))
7c127350d1141abbf3873188911cf399cbfd9f44
(use-package company
:ensure t
:init
(setq company-minimum-prefix-length 2)
(setq company-dabbrev-ignore-case t)
:config
(add-hook 'after-init-hook 'global-company-mode)
(define-key company-active-map (kbd "TAB") 'company-complete-common-or-cycle)
(define-key company-active-map [tab] 'company-complete-common-or-cycle)
(define-key company-active-map (kbd "") 'company-complete-common-or-cycle)
(global-set-key (kbd "C-c y") 'company-yasnippet)
)
(require 'package)
(setq package-enable-at-startup nil
package-archives '(("gnu" . "http://elpa.emacs-china.org/gnu/")
("melpa" . "http://elpa.emacs-china.org/melpa/")
("org" . "http://elpa.emacs-china.org/org/")
("sunrise-commander" . "http://elpa.emacs-china.org/sunrise-commander/")
("user42" . "http://elpa.emacs-china.org/user42/")
))
(package-initialize)
;; Bootstrap `use-package'
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(require 'use-package)
(setq use-package-always-ensure t)
(use-package diminish)
unable to eval code-blocks:
https://emacs.stackexchange.com/questions/28441/org-mode-9-unable-to-eval-code-blocks
cd .emacs.d
cd elpa
cd org-20161102
rm *.elc
;;WIn7下使用Emacs-25会遇到卡顿,解决方法为使用 Microsoft YaHei Mono 字体。
(custom-set-faces
'(default ((t (:family "Microsoft YaHei Mono" :foundry "outline" :slant normal :weight normal :height 98 :width normal)))))
;;如使用Microsoft YaHei Mono,则可使用如下设置
;; Chinese Font
(dolist (charset '(kana han symbol cjk-misc bopomofo))
(set-fontset-font (frame-parameter nil 'font) charset (font-spec :family "Microsoft YaHei" :size 14)))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.