Skip to content

Instantly share code, notes, and snippets.

@f0xxx
f0xxx / build_emacs.sh
Created January 14, 2021 11:27 — forked from kiennq/build_emacs.sh
Build emacs-snapshot on Ubuntu 18.04
git clone --single-branch --depth=1 https://github.com/emacs-mirror/emacs.git
cd emacs/
sudo apt install -y autoconf make gcc texinfo libxpm-dev \
libjpeg-dev libgif-dev libtiff-dev libpng-dev libgnutls28-dev \
libncurses5-dev libjansson-dev libharfbuzz-dev
./autogen.sh
./configure --with-json --with-modules --with-harfbuzz --with-compress-install \
--with-threads --with-included-regex --with-zlib --with-cairo --without-rsvg\
--without-sound --without-imagemagick --without-toolkit-scroll-bars \
--without-gpm --without-dbus --without-makeinfo --without-pop \
[Configuration]
InstallDir=D:\tools\totalcmd32
languageini=wcmd_chn.lng
Mainmenu=wcmd_chn.mnu
UseNewDefFont=0
firstmnu=1534
FirstTime=0
SeparateTree=0
PanelsVertical=0
LastSearchOptions=32
@f0xxx
f0xxx / cVimConfig
Last active April 17, 2018 09:41
cVimConfig
map b :buffer<Space>
map h :history!<Space>
map <M-j> moveTabLeft
map <M-k> moveTabRight
map <A-j> moveTabLeft
map <A-k> moveTabRight
map <A-h> goBack
map <A-l> goForward
map <F11> lastUsedTab
map <F9> :tabnew<Space>
@f0xxx
f0xxx / .spacemacs
Last active December 3, 2020 06:30
;; -*- mode: emacs-lisp; lexical-binding: t -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Layer configuration:
This function should only modify configuration layer settings."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
;; `+distribution'. For now available distributions are `spacemacs-base'