aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* zsh: Unset variable after useAaron LI2017-03-111-2/+3
|
* zsh: Move cache to ~/.cache/zsh/Aaron LI2017-03-111-1/+1
|
* linux/_mpdconf -> _mpdconfAaron LI2017-03-082-494/+493
|
* mbsync: Use pass[1] instead of plain gpg to retrieve passwordsAaron LI2017-03-061-9/+8
| | | | [1] pass: https://www.passwordstore.org/
* Update command existence check functionAaron LI2017-02-282-2/+7
| | | | | | Credit: * Stackoverflow: Check if a program exists from a Bash script Credit: https://stackoverflow.com/a/677212/4856091
* gnupg: update cache TTL for gpg-agentAaron LI2017-02-281-4/+9
|
* profile: Start gpg-agent and use it for SSHAaron LI2017-02-281-0/+11
| | | | Credit: https://wiki.archlinux.org/index.php/GnuPG
* zsh: add function is_running()Aaron LI2017-02-282-1/+6
|
* spacemacs/mu4e: Use mbsync (replace offlineimap)Aaron LI2017-02-191-1/+1
|
* mbsyncrc: Update configurationsAaron LI2017-02-191-24/+12
|
* spacemacs/mu4e: Show more headers when view messagesAaron LI2017-02-121-5/+13
|
* profile: Do not explicitly set "TERM"Aaron LI2017-02-121-3/+1
| | | | | | Let the terminal application to set the appropriate terminal type, e.g., tmux will set its TERM to "screen-256color" which will work well with ZSH special key bindings.
* tmux: Set default terminal to "screen-256color"Aaron LI2017-02-121-0/+6
| | | | Workaround the special key (e.g., Home, End) bindings problem in zsh
* zsh: Add key bindings for history search in vi-modeAaron LI2017-02-082-4/+12
| | | | Credit: http://zshwiki.org/home/zle/bindkeys
* spacemacs: Set font only after graphical frame initializedAaron LI2017-02-071-6/+10
| | | | | | References: * https://github.com/syl20bnr/spacemacs/issues/6197 * https://github.com/syl20bnr/spacemacs/issues/4816
* Xresources: remove color settingsAaron LI2017-02-061-170/+1
|
* Minor tweaksAaron LI2017-02-062-2/+8
|
* zsh: Add more commonly used key bindingsAaron LI2017-02-061-0/+76
| | | | | Credit: https://github.com/robbyrussell/oh-my-zsh/blob/master/lib/key-bindings.zsh
* Ignore _spacemacs.d/layers/Aaron LI2017-01-221-1/+2
|
* Disable 'foxmail' account for offlineimapAaron LI2017-01-222-2/+3
|
* _zsh: Speed up git promptAaron LI2017-01-221-3/+1
| | | | | * Add option "--untracked-files=no" to "git status" * Do not check the ahead status
* _spacemacs: Configure "helm-bibtex"Aaron LI2016-12-141-6/+16
|
* _spacemacs: Enable and configure "bibtex" layerAaron LI2016-12-121-0/+9
|
* _spacemacs: Rewrite org configurationsAaron LI2016-12-122-7/+655
| | | | Credit: http://doc.norang.ca/org-mode.html
* _spacemacs: Disable Nyan cat progress barAaron LI2016-12-081-2/+1
|
* _spacemacs: Disable "emoji" layerAaron LI2016-12-081-1/+0
|
* _zsh: emacs: Force LC_CTYPE=zh_CN.UTF-8Aaron LI2016-12-081-14/+15
| | | | | The environment variable "LC_CTYPE=zh_CN.UTF-8" is required to be able to use Fcitx inside Emacs (GUI).
* _spacemacs/init.el: Enable persistent server; Some cleanupsAaron LI2016-12-071-7/+7
|
* _spacemacs: Use "spacemacs-dark" theme; Use slant powerline sepAaron LI2016-12-071-10/+6
|
* Add .gitignore file for _spacemacs.dAaron LI2016-12-071-0/+5
|
* _profile: Remove "LC_CTYPE" again, as well as "LC_MONETARY"Aaron LI2016-12-061-2/+0
|
* fontconfig: Re-order configs; Move "fonts.conf" as "50-user.conf"Aaron LI2016-12-0611-218/+103
| | | | | | | | | NOTE: Explicitly set the orders for Noto CJK fonts (SC, TC, JP, KR), in order to get rid of "LC_CTYPE" environment variable. Therefore, the preferred English fonts (e.g., Source Code Pro, Source Sans Pro) are by default used, avoiding the Chinese fonts being prepend at the beginning.
* _profile: Add back "LC_CTYPE=zh_CN.UTF-8"Aaron LI2016-12-061-0/+1
| | | | | | | | | | | | | | | | | | NOTE ---- FontConfig will check the language against system locales, in order to prepend/enable corresponding fonts. For example, Noto CJK font provides multiple variants for the same glyph regions, e.g., "Noto Sans CJK JP" and "Noto Sans CJK SC" may *both* be selected/matched to display Chinese, and the former may even get precedence which is unexpected (see also: Han Unification [1]). Therefore, "LC_CTYPE=zh_CN.UTF-8" should be added back, and explicitly select the wanted/correct font (e.g., "Noto Sans CJK SC") for specific language (e.g., "zh-cn"). [1] https://en.wikipedia.org/wiki/Han_unification
* fontconfig: Remove the general settings and some duplicationsAaron LI2016-12-061-28/+1
|
* fontconfig: Add configurations for Google Noto fontAaron LI2016-12-069-0/+902
| | | | | | | | | Noto: http://github.com/googlei18n/noto Noto-CJK: http://github.com/googlei18n/noto-cjk Credit: Fedora packages: google-noto-fonts, google-noto-cjk-fonts These configurations are almost taken from the above two packages.
* fontconfig: Rewrite user-wide font configurationsAaron LI2016-12-061-258/+139
| | | | | | | | | | | | | | | | | | This user font configuration file should be placed at: ~/.config/fontconfig/fonts.conf (original `~/.fonts.conf' is deprecated) and the user fonts should locate at: ~/.local/share/fonts (original `~/.fonts' will be deprecated) NOTE: The "LC_CTYPE" environment variable should be remove, because it affects the behaviors of FontConfig! With "LC_CTYPE=zh_CN.UTF-8", a Chinese font (or a font with Chinese language support) is always preprended to the generic font families (i.e., serif, sans-serif, monospace), which overrides the <alias><prefer> configurations. It is also tested that Fcitx works OK without "LC_CTYPE=zh_CN.UTF-8"
* _zsh: Remove "gpg-connect-agent"Aaron LI2016-12-061-3/+2
|
* _zsh: Move some environment variables to _profileAaron LI2016-12-062-8/+10
|
* _profile: Major cleanup; Add "umask"; Remove "LC_CTYPE"Aaron LI2016-12-061-49/+40
| | | | | | | | | | | | | | | | | | | | * Major cleanup: - Re-organize the settings - Some style/comments updates - New functions: "_exists()" and "_running()" - Remove "gpg-agent --daemon" - Remove "OSFONTDIR" * Add "umask" to "027" to be more private! * Add "LC_MONETARY=zh_CN.UTF-8" * Remove "LC_CTYPE", which affects the behaviors of FontConfig! (see below note) NOTE: With "LC_CTYPE=zh_CN.UTF-8", a Chinese font (or a font with Chinese language support) is always preprended to the generic font families (i.e., serif, sans-serif, monospace), which overrides the <alias><prefer> configurations. It is also tested that Fcitx works OK without "LC_CTYPE=zh_CN.UTF-8"
* _spacemacs: Remove the commented settings on "fill column indicator"Aaron LI2016-12-041-10/+0
|
* _spacemacs: Set the font of "variable-pitch"Aaron LI2016-12-041-2/+5
| | | | Credit: http://stackoverflow.com/a/28484419
* _spacemacs: Set "org-agenda-files" to be the "~/org" directoryAaron LI2016-12-041-4/+1
|
* _spacemacs: Do not track "mu4e" packageAaron LI2016-12-0419-9882/+0
|
* _spacemacs: Use "M+ 1mn" font instead of "Source Code Pro"Aaron LI2016-12-042-3/+3
| | | | | Credit: M+ fonts: http://mplus-fonts.osdn.jp/
* spacemacs: Add indentation settings for js and web modesAaron LI2016-10-291-1/+13
|
* spacemacs: Enable the "html" and "javascript" layersAaron LI2016-10-291-0/+2
| | | | For the "javascript" layer, also install NPM packages "tern" and "eslint"
* Install NPM packages to ~/.npm-packagesAaron LI2016-10-292-4/+8
| | | | | | Credit: * https://github.com/glenpike/npm-g_nosudo * https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md
* spacemacs: Enable "colors" layer with nyan cat progress bar! Nyan!Aaron LI2016-10-261-3/+5
|
* spacemacs: enable and config "ranger" layerAaron LI2016-10-081-0/+12
|
* spacemacs: adjust layer settingsAaron LI2016-10-081-2/+2
|