Skip to content

Instantly share code, notes, and snippets.


lijigang lijigang

View GitHub Profile
lijigang / init-agenda-block.el
Created May 5, 2020
orgmode configuraion of agenda (colorful block)
View init-agenda-block.el
;; agenda 里面时间块彩色显示
;; From:
(defun ljg/org-agenda-time-grid-spacing ()
"Set different line spacing w.r.t. time duration."
(let* ((background (alist-get 'background-mode (frame-parameters)))
(background-dark-p (string= background "dark"))
(colors (list "#1ABC9C" "#2ECC71" "#3498DB" "#9966ff"))
lijigang / init.el
Created May 5, 2020
orgmode configuration of agenda (sunrise and sunset)
View init.el
;; learn from
(setq org-agenda-include-diary t)
(setq org-agenda-diary-file "your/path/to/standard-diary")
(setq diary-file "your/path/to/standard-diary")
;; 设置本地经纬度坐标
(setq calendar-latitude 39.9042)
(setq calendar-longitude 116.4074)
lijigang / ljg.svimrc
Last active Aug 8, 2019
safari vim extension config
View ljg.svimrc
let mapleader = ","
map "u" lastClosedTab
map "d" quit
map "h" previousTab
map "l" nextTab
You can’t perform that action at this time.