Last active
August 21, 2018 08:47
-
-
Save NimoTh/52f24a259494a8035705c5f73cc60078 to your computer and use it in GitHub Desktop.
Configs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Added by Package.el. This must come before configurations of | |
;; installed packages. Don't delete this line. If you don't want it, | |
;; just comment it out by adding a semicolon to the start of the line. | |
;; You may delete these explanatory comments. | |
(package-initialize) | |
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
'(column-number-mode t) | |
'(compile-command | |
"clang++ -std=c++11 -stdlib=libc++ -Wall -pedantic -lsqlite3 -o ") | |
'(custom-enabled-themes (quote (monokai))) | |
'(custom-safe-themes | |
(quote | |
("05c3bc4eb1219953a4f182e10de1f7466d28987f48d647c01f1f0037ff35ab9a" default))) | |
'(custom-theme-load-path | |
(quote | |
("/Users/martin/.emacs.d/elpa/monokai-theme-20150521.2257/" custom-theme-directory t)) t) | |
'(delete-selection-mode t) | |
'(gdb-many-windows t) | |
'(git-commit-style-convention-checks (quote (non-empty-second-line overlong-summary-line))) | |
'(global-semantic-decoration-mode t) | |
'(global-semantic-highlight-func-mode t) | |
'(global-semantic-idle-completions-mode t nil (semantic/idle)) | |
'(global-semantic-idle-summary-mode t) | |
'(global-semantic-stickyfunc-mode t) | |
'(indent-tabs-mode nil) | |
'(inhibit-startup-screen t) | |
'(menu-bar-mode t) | |
'(ns-pop-up-frames nil) | |
'(package-archives | |
(quote | |
(("gnu" . "http://elpa.gnu.org/packages/") | |
("melpa" . "http://melpa.org/packages/")))) | |
'(package-selected-packages | |
(quote | |
(goto-last-change magit git-commit neotree monokai-theme cmake-mode))) | |
'(recentf-mode t) | |
'(require-final-newline t) | |
'(save-place-mode t nil (saveplace)) | |
'(semantic-mode t) | |
'(server-mode t) | |
'(show-paren-mode t) | |
'(tool-bar-mode nil)) | |
(custom-set-faces | |
;; custom-set-faces was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
'(default ((t (:inherit nil :stipple nil :background "#272822" :foreground "#F8F8F2" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 130 :width normal :foundry "nil" :family "Menlo"))))) | |
;; ************************************************* | |
;; * * | |
;; * End of generated customize * | |
;; * * | |
;; ************************************************* | |
;; basic initialization, (require) non-ELPA packages, etc. | |
(setq package-enable-at-startup nil) | |
(package-initialize) | |
;; (require) your ELPA packages, configure them as normal | |
(require 'neotree) | |
;; Copy environment variables from shell | |
(when (memq window-system '(mac ns)) | |
(exec-path-from-shell-initialize)) | |
;; ************************************************* | |
;; * * | |
;; * My enhancement functions * | |
;; * * | |
;; ************************************************* | |
(defun quick-copy-line () | |
"Copy the whole line that point is on and move to the beginning of the next line. | |
Consecutive calls to this command append each line to the | |
kill-ring." | |
(interactive) | |
(let ((beg (line-beginning-position 1)) | |
(end (line-beginning-position 2))) | |
(if (eq last-command 'quick-copy-line) | |
(kill-append (buffer-substring beg end) (< end beg)) | |
(kill-new (buffer-substring beg end)))) | |
(beginning-of-line 2)) | |
(defun quick-cut-line () | |
"Cut the whole line that point is on. Consecutive calls to this command append each line to the kill-ring." | |
(interactive) | |
(let ((beg (line-beginning-position 1)) | |
(end (line-beginning-position 2))) | |
(if (eq last-command 'quick-cut-line) | |
(kill-append (buffer-substring beg end) (< end beg)) | |
(kill-new (buffer-substring beg end))) | |
(delete-region beg end)) | |
(beginning-of-line 1) | |
(setq this-command 'quick-cut-line)) | |
(defun copy-line (arg) | |
"Copy lines (as many as prefix argument) in the kill ring. | |
Ease of use features: | |
- Move to start of next line. | |
- Appends the copy on sequential calls. | |
- Use newline as last char even on the last line of the buffer. | |
- If region is active, copy its lines." | |
(interactive "p") | |
(let ((beg (line-beginning-position)) | |
(end (line-end-position arg))) | |
(when mark-active | |
(if (> (point) (mark)) | |
(setq beg (save-excursion (goto-char (mark)) (line-beginning-position))) | |
(setq end (save-excursion (goto-char (mark)) (line-end-position))))) | |
(if (eq last-command 'copy-line) | |
(kill-append (buffer-substring beg end) (< end beg)) | |
(kill-ring-save beg end))) | |
(kill-append "\n" nil) | |
(beginning-of-line (or (and arg (1+ arg)) 2)) | |
(if (and arg (not (= 1 arg))) (message "%d lines copied" arg))) | |
(defun toggle-window-split () | |
(interactive) | |
(if (= (count-windows) 2) | |
(let* ((this-win-buffer (window-buffer)) | |
(next-win-buffer (window-buffer (next-window))) | |
(this-win-edges (window-edges (selected-window))) | |
(next-win-edges (window-edges (next-window))) | |
(this-win-2nd (not (and (<= (car this-win-edges) | |
(car next-win-edges)) | |
(<= (cadr this-win-edges) | |
(cadr next-win-edges))))) | |
(splitter | |
(if (= (car this-win-edges) | |
(car (window-edges (next-window)))) | |
'split-window-horizontally | |
'split-window-vertically))) | |
(delete-other-windows) | |
(let ((first-win (selected-window))) | |
(funcall splitter) | |
(if this-win-2nd (other-window 1)) | |
(set-window-buffer (selected-window) this-win-buffer) | |
(set-window-buffer (next-window) next-win-buffer) | |
(select-window first-win) | |
(if this-win-2nd (other-window 1)))))) | |
;(define-key ctl-x-4-map "t" 'toggle-window-split) | |
(defun revert-all-buffers () | |
"Refreshes all open buffers from their respective files." | |
(interactive) | |
(dolist (buf (buffer-list)) | |
(with-current-buffer buf | |
(when (and (buffer-file-name) (file-exists-p (buffer-file-name)) (not (buffer-modified-p))) | |
(revert-buffer t t t) ))) | |
(message "Refreshed open files.") ) | |
;; ************************************************* | |
;; * * | |
;; * My key bindings * | |
;; * * | |
;; ************************************************* | |
(when (fboundp 'windmove-default-keybindings) | |
(windmove-default-keybindings)) | |
(global-set-key (kbd "C-x C-r") 'recentf-open-files) | |
(global-set-key (kbd "C-x M-r") 'revert-buffer) | |
(global-set-key (kbd "M-c") 'comment-or-uncomment-region) | |
(global-set-key [f8] 'neotree-toggle) ;; requires neotree | |
(global-set-key (kbd "C-x M-r") 'revert-buffer) | |
(global-set-key (kbd "M-g l") 'goto-last-change) | |
(global-set-key (kbd "M-<up>") 'scroll-dohwn-line) | |
(global-set-key (kbd "M-<down>") 'scroll-hup-line) | |
(global-set-key (kbd "C-<return>") 'cua-rectangle-mark-mode) | |
(global-set-key (kbd "<f9>") 'quick-copy-line) | |
(global-set-key (kbd "M-<f9>") 'quick-cut-line) | |
(global-set-key (kbd "C-c C-k") 'copy-line) | |
(global-set-key (kbd "M-s M-s") 'magit-status) | |
(global-set-key (kbd "C-x |") 'toggle-window-split) | |
;; Reuse buffer when going up in dired | |
(add-hook 'dired-mode-hook | |
(lambda () | |
(define-key dired-mode-map (kbd "^") | |
(lambda () (interactive) (find-alternate-file ".."))) | |
; was dired-up-directory | |
)) | |
;; smerge command prefix | |
(setq smerge-command-prefix "\C-cv") | |
;; Press d in ediff-merge to copy both A and B to C | |
(defun ediff-copy-both-to-C () | |
(interactive) | |
(ediff-copy-diff ediff-current-difference nil 'C nil | |
(concat | |
(ediff-get-region-contents ediff-current-difference 'A ediff-control-buffer) | |
(ediff-get-region-contents ediff-current-difference 'B ediff-control-buffer)))) | |
(defun add-d-to-ediff-mode-map () (define-key ediff-mode-map "d" 'ediff-copy-both-to-C)) | |
(add-hook 'ediff-keymap-setup-hook 'add-d-to-ediff-mode-map) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Copyright (c) 1998, 1999, 2000, 2001, 2002, 2003, 2010, 2011, 2013, | |
# 2015, 2016, 2017 | |
# Tama Communications Corporation | |
# | |
# This file is part of GNU GLOBAL. | |
# | |
# This file is free software; as a special exception the author gives | |
# unlimited permission to copy and/or distribute it, with or without | |
# modifications, as long as this notice is preserved. | |
# | |
# This program is distributed in the hope that it will be useful, but | |
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the | |
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
# | |
# * | |
# Configuration file for GNU GLOBAL source code tagging system. | |
# | |
# Basically, GLOBAL doesn't need this configuration file ('gtags.conf'), | |
# because it has default values in itself. If you have this file as | |
# '/etc/gtags.conf' or "$HOME/.globalrc" then GLOBAL overwrite the default | |
# values with values in the file. | |
# Configuration file is also necessary to use plug-in parsers. | |
# | |
# The format is similar to termcap(5). You can specify a target with | |
# GTAGSLABEL environment variable. Default target is 'default'. | |
# | |
# If you want to have default values for yourself, it is recommended to | |
# use the following method: | |
# | |
# default:\ | |
# :tc=default@~/.globalrc:\ <= includes default values from ~/.globalrc. | |
# :tc=native: | |
# | |
# Please refer to gtags.conf(5) for details. | |
# | |
default:\ | |
:tc=native: | |
native:\ | |
:tc=gtags:tc=htags: | |
user:\ | |
:tc=user-custom:tc=htags: | |
ctags:\ | |
:tc=exuberant-ctags:tc=htags: | |
new-ctags:\ | |
:tc=universal-ctags:tc=htags: | |
pygments:\ | |
:tc=pygments-parser:tc=htags: | |
# | |
# [How to merge two or more parsers?] | |
# | |
# Rule: The first matched langmap is adopted. | |
# | |
# ":tc=builtin-parser:tc=pygments-parser:" means: | |
# If built-in parser exists for the target, it is used. | |
# Else if pygments parser exists it is used. | |
# | |
native-pygments:\ | |
:tc=builtin-parser:tc=pygments-parser:htags: | |
#--------------------------------------------------------------------- | |
# Configuration for gtags(1) | |
# See gtags(1). | |
#--------------------------------------------------------------------- | |
common:\ | |
:skip=HTML/,HTML.pub/,tags,TAGS,ID,y.tab.c,y.tab.h,gtags.files,cscope.files,cscope.out,cscope.po.out,cscope.in.out,SCCS/,RCS/,CVS/,CVSROOT/,{arch}/,autom4te.cache/,*.orig,*.rej,*.bak,*~,#*#,*.swp,*.tmp,*_flymake.*,*_flymake,*.o,*.a,*.so,*.lo,*.zip,*.gz,*.bz2,*.xz,*.lzh,*.Z,*.tgz,*.min.js,*min.css: | |
# | |
# Built-in parsers. | |
# | |
gtags:\ | |
:tc=common:\ | |
:tc=builtin-parser: | |
builtin-parser:\ | |
:langmap=c\:.c.h,yacc\:.y,asm\:.s.S,java\:.java,cpp\:.c++.cc.hh.cpp.cxx.hxx.hpp.C.H,php\:.php.php3.phtml: | |
# | |
# skeleton for user's custom parser. | |
# | |
user-custom|User custom plugin parser:\ | |
:tc=common:\ | |
:langmap=c\:.c.h:\ | |
:gtags_parser=c\:$libdir/gtags/user-custom.la: | |
# | |
# Plug-in parser to use Exuberant Ctags. | |
# | |
exuberant-ctags|plugin-example|setting to use Exuberant Ctags plug-in parser:\ | |
:tc=common:\ | |
:ctagscom=/usr/local/opt/ctags/bin/ctags:\ | |
:ctagslib=$libdir/gtags/exuberant-ctags.la:\ | |
:tc=common-ctags-maps: | |
# | |
# A common map for both Exuberant Ctags and Universal Ctags. | |
# Don't include definitions of ctagscom and ctagslib in this entry. | |
# | |
common-ctags-maps:\ | |
# Ant *.build.xml (out of support) | |
# Asm *.[68][68][kKsSxX] *.[xX][68][68] (out of support) | |
:langmap=Asm\:.asm.ASM.s.S.A51.29k.29K:\ | |
:langmap=Asp\:.asp.asa:\ | |
:langmap=Awk\:.awk.gawk.mawk:\ | |
:langmap=Basic\:.bas.bi.bb.pb:\ | |
:langmap=BETA\:.bet:\ | |
:langmap=C\:.c:\ | |
:langmap=C++\:.c++.cc.cp.cpp.cxx.h.h++.hh.hp.hpp.hxx:\ | |
:langmap=C#\:.cs:\ | |
:langmap=Cobol\:.cbl.cob.CBL.COB:\ | |
:langmap=DosBatch\:.bat.cmd:\ | |
:langmap=Eiffel\:.e:\ | |
:langmap=Erlang\:.erl.ERL.hrl.HRL:\ | |
:langmap=Flex\:.as.mxml:\ | |
:langmap=Fortran\:.f.for.ftn.f77.f90.f95:\ | |
:langmap=HTML\:.htm.html:\ | |
:langmap=Java\:.java:\ | |
:langmap=JavaScript\:.js:\ | |
:langmap=Lisp\:.cl.clisp.el.l.lisp.lsp:\ | |
:langmap=Lua\:.lua:\ | |
# Make [Mm]akefile GNUmakefile (out of support) | |
:langmap=Make\:.mak.mk:\ | |
:langmap=MatLab\:.m:\ | |
:langmap=OCaml\:.ml.mli:\ | |
:langmap=Pascal\:.p.pas:\ | |
:langmap=Perl\:.pl.pm.plx.perl:\ | |
:langmap=PHP\:.php.php3.phtml:\ | |
:langmap=Python\:.py.pyx.pxd.pxi.scons:\ | |
:langmap=REXX\:.cmd.rexx.rx:\ | |
:langmap=Ruby\:.rb.ruby:\ | |
:langmap=Scheme\:.SCM.SM.sch.scheme.scm.sm:\ | |
:langmap=Sh\:.sh.SH.bsh.bash.ksh.zsh:\ | |
:langmap=SLang\:.sl:\ | |
:langmap=SML\:.sml.sig:\ | |
:langmap=SQL\:.sql:\ | |
:langmap=Tcl\:.tcl.tk.wish.itcl:\ | |
:langmap=Tex\:.tex:\ | |
:langmap=Vera\:.vr.vri.vrh:\ | |
:langmap=Verilog\:.v:\ | |
:langmap=VHDL\:.vhdl.vhd:\ | |
:langmap=Vim\:.vim:\ | |
:langmap=YACC\:.y:\ | |
:gtags_parser=Asm\:$ctagslib:\ | |
:gtags_parser=Asp\:$ctagslib:\ | |
:gtags_parser=Awk\:$ctagslib:\ | |
:gtags_parser=Basic\:$ctagslib:\ | |
:gtags_parser=BETA\:$ctagslib:\ | |
:gtags_parser=C\:$ctagslib:\ | |
:gtags_parser=C++\:$ctagslib:\ | |
:gtags_parser=C#\:$ctagslib:\ | |
:gtags_parser=Cobol\:$ctagslib:\ | |
:gtags_parser=DosBatch\:$ctagslib:\ | |
:gtags_parser=Eiffel\:$ctagslib:\ | |
:gtags_parser=Erlang\:$ctagslib:\ | |
:gtags_parser=Flex\:$ctagslib:\ | |
:gtags_parser=Fortran\:$ctagslib:\ | |
:gtags_parser=HTML\:$ctagslib:\ | |
:gtags_parser=Java\:$ctagslib:\ | |
:gtags_parser=JavaScript\:$ctagslib:\ | |
:gtags_parser=Lisp\:$ctagslib:\ | |
:gtags_parser=Lua\:$ctagslib:\ | |
:gtags_parser=Make\:$ctagslib:\ | |
:gtags_parser=MatLab\:$ctagslib:\ | |
:gtags_parser=OCaml\:$ctagslib:\ | |
:gtags_parser=Pascal\:$ctagslib:\ | |
:gtags_parser=Perl\:$ctagslib:\ | |
:gtags_parser=PHP\:$ctagslib:\ | |
:gtags_parser=Python\:$ctagslib:\ | |
:gtags_parser=REXX\:$ctagslib:\ | |
:gtags_parser=Ruby\:$ctagslib:\ | |
:gtags_parser=Scheme\:$ctagslib:\ | |
:gtags_parser=Sh\:$ctagslib:\ | |
:gtags_parser=SLang\:$ctagslib:\ | |
:gtags_parser=SML\:$ctagslib:\ | |
:gtags_parser=SQL\:$ctagslib:\ | |
:gtags_parser=Tcl\:$ctagslib:\ | |
:gtags_parser=Tex\:$ctagslib:\ | |
:gtags_parser=Vera\:$ctagslib:\ | |
:gtags_parser=Verilog\:$ctagslib:\ | |
:gtags_parser=VHDL\:$ctagslib:\ | |
:gtags_parser=Vim\:$ctagslib:\ | |
:gtags_parser=YACC\:$ctagslib: | |
# | |
# Plug-in parser to use Universal Ctags. | |
# | |
universal-ctags|setting to use Universal Ctags plug-in parser:\ | |
:tc=common:\ | |
:ctagscom=:\ | |
:ctagslib=$libdir/gtags/universal-ctags.la:\ | |
:tc=common-ctags-maps:\ | |
:langmap=Ada\:.adb.ads.Ada:\ | |
# Please uncomment to use this entry. | |
# :langmap=Ant\:.xml:\ | |
:langmap=Ant\:.ant:\ | |
:langmap=Clojure\:.clj:\ | |
:langmap=CoffeeScript\:.coffee:\ | |
:langmap=C++\:.inl:\ | |
:langmap=CSS\:.css:\ | |
:langmap=ctags\:.ctags:\ | |
:langmap=D\:.d.di:\ | |
:langmap=Diff\:.diff.patch:\ | |
:langmap=DTS\:.dts.dtsi:\ | |
:langmap=Falcon\:.fal.ftd:\ | |
:langmap=Fortran\:.f03.f08.f15:\ | |
# gdbinit .gdbinit (out of support) | |
:langmap=gdbinit\:.gdb:\ | |
:langmap=Go\:.go:\ | |
:langmap=JSON\:.json:\ | |
:langmap=m4\:.m4.spt:\ | |
:langmap=ObjectiveC\:.mm.m.h:\ | |
:langmap=OCaml\:.aug:\ | |
:langmap=Perl\:.ph:\ | |
:langmap=Perl6\:.p6.pm6.pm.pl6:\ | |
:langmap=PHP\:.php4.php5.php7:\ | |
:langmap=R\:.r.R.s.q:\ | |
:langmap=reStructuredText\:.rest.reST.rst:\ | |
:langmap=Rust\:.rs:\ | |
:langmap=Sh\:.ash:\ | |
:langmap=SystemVerilog\:.sv.svh.svi:\ | |
# Vim vimrc [._]vimrc gvimrc [._]gvimrc (out of support) | |
:langmap=Vim\:.vba:\ | |
:langmap=WindRes\:.rc:\ | |
:langmap=Zephir\:.zep:\ | |
# Please uncomment to use this entry. | |
# :langmap=DBusIntrospect\:.xml:\ | |
# :langmap=Glade\:.glade:\ | |
:gtags_parser=Ada\:$ctagslib:\ | |
:gtags_parser=Ant\:$ctagslib:\ | |
:gtags_parser=Clojure\:$ctagslib:\ | |
:gtags_parser=CoffeeScript\:$ctagslib:\ | |
:gtags_parser=CSS\:$ctagslib:\ | |
:gtags_parser=ctags\:$ctagslib:\ | |
:gtags_parser=D\:$ctagslib:\ | |
:gtags_parser=Diff\:$ctagslib:\ | |
:gtags_parser=DTS\:$ctagslib:\ | |
:gtags_parser=Falcon\:$ctagslib:\ | |
:gtags_parser=gdbinit\:$ctagslib:\ | |
:gtags_parser=Go\:$ctagslib:\ | |
:gtags_parser=JSON\:$ctagslib:\ | |
:gtags_parser=m4\:$ctagslib:\ | |
:gtags_parser=ObjectiveC\:$ctagslib:\ | |
:gtags_parser=Perl6\:$ctagslib:\ | |
:gtags_parser=R\:$ctagslib:\ | |
:gtags_parser=reStructuredText\:$ctagslib:\ | |
:gtags_parser=Rust\:$ctagslib:\ | |
:gtags_parser=SystemVerilog\:$ctagslib:\ | |
:gtags_parser=WindRes\:$ctagslib:\ | |
:gtags_parser=Zephir\:$ctagslib:\ | |
:gtags_parser=DBusIntrospect\:$ctagslib:\ | |
:gtags_parser=Glade\:$ctagslib: | |
# | |
# Plug-in parser to use Pygments. | |
# | |
pygments-parser|Pygments plug-in parser:\ | |
:ctagscom=/usr/local/opt/ctags/bin/ctags:\ | |
:pygmentslib=$libdir/gtags/pygments-parser.la:\ | |
:tc=common:\ | |
:langmap=ABAP\:.abap:\ | |
:langmap=ANTLR\:.G.g:\ | |
:langmap=ActionScript3\:.as:\ | |
:langmap=Ada\:.adb.ads.ada:\ | |
:langmap=AppleScript\:.applescript:\ | |
:langmap=AspectJ\:.aj:\ | |
:langmap=Aspx-cs\:.aspx.asax.ascx.ashx.asmx.axd:\ | |
:langmap=Asymptote\:.asy:\ | |
:langmap=AutoIt\:.au3:\ | |
:langmap=Awk\:.awk.gawk.mawk:\ | |
:langmap=BUGS\:.bug:\ | |
:langmap=Bash\:.sh.ksh.bash.ebuild.eclass:\ | |
:langmap=Bat\:.bat.cmd:\ | |
:langmap=BlitzMax\:.bmx:\ | |
:langmap=Boo\:.boo:\ | |
:langmap=Bro\:.bro:\ | |
:langmap=C#\:.cs:\ | |
:langmap=C++\:.c++.cc.cp.cpp.cxx.h.h++.hh.hp.hpp.hxx.C.H:\ | |
:langmap=COBOLFree\:.cbl.CBL:\ | |
:langmap=COBOL\:.cob.COB.cpy.CPY:\ | |
:langmap=CUDA\:.cu.cuh:\ | |
:langmap=C\:.c.h:\ | |
:langmap=Ceylon\:.ceylon:\ | |
:langmap=Cfm\:.cfm.cfml.cfc:\ | |
:langmap=Clojure\:.clj:\ | |
:langmap=CoffeeScript\:.coffee:\ | |
:langmap=Common-Lisp\:.cl.lisp.el:\ | |
:langmap=Coq\:.v:\ | |
:langmap=Croc\:.croc:\ | |
:langmap=Csh\:.tcsh.csh:\ | |
:langmap=Cython\:.pyx.pxd.pxi:\ | |
:langmap=Dart\:.dart:\ | |
:langmap=Dg\:.dg:\ | |
:langmap=Duel\:.duel.jbst:\ | |
:langmap=Dylan\:.dylan.dyl.intr:\ | |
:langmap=ECL\:.ecl:\ | |
:langmap=EC\:.ec.eh:\ | |
:langmap=ERB\:.erb:\ | |
:langmap=Elixir\:.ex.exs:\ | |
:langmap=Erlang\:.erl.hrl.es.escript:\ | |
:langmap=Evoque\:.evoque:\ | |
:langmap=FSharp\:.fs.fsi:\ | |
:langmap=Factor\:.factor:\ | |
:langmap=Fancy\:.fy.fancypack:\ | |
:langmap=Fantom\:.fan:\ | |
:langmap=Felix\:.flx.flxh:\ | |
:langmap=Fortran\:.f.f90.F.F90:\ | |
:langmap=GAS\:.s.S:\ | |
:langmap=GLSL\:.vert.frag.geo:\ | |
:langmap=Genshi\:.kid:\ | |
:langmap=Gherkin\:.feature:\ | |
:langmap=Gnuplot\:.plot.plt:\ | |
:langmap=Go\:.go:\ | |
:langmap=GoodData-CL\:.gdc:\ | |
:langmap=Gosu\:.gs.gsx.gsp.vark:\ | |
:langmap=Groovy\:.groovy:\ | |
:langmap=Gst\:.gst:\ | |
:langmap=HaXe\:.hx:\ | |
:langmap=Haml\:.haml:\ | |
:langmap=Haskell\:.hs:\ | |
:langmap=Hxml\:.hxml:\ | |
:langmap=Hybris\:.hy.hyb:\ | |
:langmap=IDL\:.pro:\ | |
:langmap=Io\:.io:\ | |
:langmap=Ioke\:.ik:\ | |
:langmap=JAGS\:.jag.bug:\ | |
:langmap=Jade\:.jade:\ | |
:langmap=JavaScript\:.js:\ | |
:langmap=Java\:.java:\ | |
:langmap=Jsp\:.jsp:\ | |
:langmap=Julia\:.jl:\ | |
:langmap=Koka\:.kk.kki:\ | |
:langmap=Kotlin\:.kt:\ | |
:langmap=LLVM\:.ll:\ | |
:langmap=Lasso\:.lasso:\ | |
:langmap=Literate-Haskell\:.lhs:\ | |
:langmap=LiveScript\:.ls:\ | |
:langmap=Logos\:.x.xi.xm.xmi:\ | |
:langmap=Logtalk\:.lgt:\ | |
:langmap=Lua\:.lua.wlua:\ | |
:langmap=MOOCode\:.moo:\ | |
:langmap=MXML\:.mxml:\ | |
:langmap=Mako\:.mao:\ | |
:langmap=Mason\:.m.mhtml.mc.mi:\ | |
:langmap=Matlab\:.m:\ | |
:langmap=Modelica\:.mo:\ | |
:langmap=Modula2\:.mod:\ | |
:langmap=Monkey\:.monkey:\ | |
:langmap=MoonScript\:.moon:\ | |
:langmap=MuPAD\:.mu:\ | |
:langmap=Myghty\:.myt:\ | |
:langmap=NASM\:.asm.ASM:\ | |
:langmap=NSIS\:.nsi.nsh:\ | |
:langmap=Nemerle\:.n:\ | |
:langmap=NewLisp\:.lsp.nl:\ | |
:langmap=Newspeak\:.ns2:\ | |
:langmap=Nimrod\:.nim.nimrod:\ | |
:langmap=OCaml\:.ml.mli.mll.mly:\ | |
:langmap=Objective-C++\:.mm.hh:\ | |
:langmap=Objective-C\:.m.h:\ | |
:langmap=Objective-J\:.j:\ | |
:langmap=Octave\:.m:\ | |
:langmap=Ooc\:.ooc:\ | |
:langmap=Opa\:.opa:\ | |
:langmap=OpenEdge\:.p.cls:\ | |
:langmap=PHP\:.php.php3.phtml:\ | |
:langmap=Pascal\:.pas:\ | |
:langmap=Perl\:.pl.pm:\ | |
:langmap=PostScript\:.ps.eps:\ | |
:langmap=PowerShell\:.ps1:\ | |
:langmap=Prolog\:.prolog.pro.pl:\ | |
:langmap=Python\:.py.pyw.sc.tac.sage:\ | |
:langmap=QML\:.qml:\ | |
:langmap=REBOL\:.r.r3:\ | |
:langmap=RHTML\:.rhtml:\ | |
:langmap=Racket\:.rkt.rktl:\ | |
:langmap=Ragel\:.rl:\ | |
:langmap=Redcode\:.cw:\ | |
:langmap=RobotFramework\:.robot:\ | |
:langmap=Ruby\:.rb.rbw.rake.gemspec.rbx.duby:\ | |
:langmap=Rust\:.rs.rc:\ | |
:langmap=S\:.S.R:\ | |
:langmap=Scala\:.scala:\ | |
:langmap=Scaml\:.scaml:\ | |
:langmap=Scheme\:.scm.ss:\ | |
:langmap=Scilab\:.sci.sce.tst:\ | |
:langmap=Smalltalk\:.st:\ | |
:langmap=Smarty\:.tpl:\ | |
:langmap=Sml\:.sml.sig.fun:\ | |
:langmap=Snobol\:.snobol:\ | |
:langmap=SourcePawn\:.sp:\ | |
:langmap=Spitfire\:.spt:\ | |
:langmap=Ssp\:.ssp:\ | |
:langmap=Stan\:.stan:\ | |
:langmap=SystemVerilog\:.sv.svh:\ | |
:langmap=Tcl\:.tcl:\ | |
:langmap=TeX\:.tex.aux.toc:\ | |
:langmap=Tea\:.tea:\ | |
:langmap=Treetop\:.treetop.tt:\ | |
:langmap=TypeScript\:.ts:\ | |
:langmap=UrbiScript\:.u:\ | |
:langmap=VB.net\:.vb.bas:\ | |
:langmap=VGL\:.rpf:\ | |
:langmap=Vala\:.vala.vapi:\ | |
:langmap=Velocity\:.vm.fhtml:\ | |
:langmap=Verilog\:.v:\ | |
:langmap=Vhdl\:.vhdl.vhd:\ | |
:langmap=Vim\:.vim:\ | |
:langmap=XBase\:.PRG.prg:\ | |
:langmap=XQuery\:.xqy.xquery.xq.xql.xqm:\ | |
:langmap=XSLT\:.xsl.xslt.xpl:\ | |
:langmap=Xtend\:.xtend:\ | |
:gtags_parser=ABAP\:$pygmentslib:\ | |
:gtags_parser=ANTLR\:$pygmentslib:\ | |
:gtags_parser=ActionScript3\:$pygmentslib:\ | |
:gtags_parser=Ada\:$pygmentslib:\ | |
:gtags_parser=AppleScript\:$pygmentslib:\ | |
:gtags_parser=AspectJ\:$pygmentslib:\ | |
:gtags_parser=Aspx-cs\:$pygmentslib:\ | |
:gtags_parser=Asymptote\:$pygmentslib:\ | |
:gtags_parser=AutoIt\:$pygmentslib:\ | |
:gtags_parser=Awk\:$pygmentslib:\ | |
:gtags_parser=BUGS\:$pygmentslib:\ | |
:gtags_parser=Bash\:$pygmentslib:\ | |
:gtags_parser=Bat\:$pygmentslib:\ | |
:gtags_parser=BlitzMax\:$pygmentslib:\ | |
:gtags_parser=Boo\:$pygmentslib:\ | |
:gtags_parser=Bro\:$pygmentslib:\ | |
:gtags_parser=C#\:$pygmentslib:\ | |
:gtags_parser=C++\:$pygmentslib:\ | |
:gtags_parser=COBOLFree\:$pygmentslib:\ | |
:gtags_parser=COBOL\:$pygmentslib:\ | |
:gtags_parser=CUDA\:$pygmentslib:\ | |
:gtags_parser=C\:$pygmentslib:\ | |
:gtags_parser=Ceylon\:$pygmentslib:\ | |
:gtags_parser=Cfm\:$pygmentslib:\ | |
:gtags_parser=Clojure\:$pygmentslib:\ | |
:gtags_parser=CoffeeScript\:$pygmentslib:\ | |
:gtags_parser=Common-Lisp\:$pygmentslib:\ | |
:gtags_parser=Coq\:$pygmentslib:\ | |
:gtags_parser=Croc\:$pygmentslib:\ | |
:gtags_parser=Csh\:$pygmentslib:\ | |
:gtags_parser=Cython\:$pygmentslib:\ | |
:gtags_parser=Dart\:$pygmentslib:\ | |
:gtags_parser=Dg\:$pygmentslib:\ | |
:gtags_parser=Duel\:$pygmentslib:\ | |
:gtags_parser=Dylan\:$pygmentslib:\ | |
:gtags_parser=ECL\:$pygmentslib:\ | |
:gtags_parser=EC\:$pygmentslib:\ | |
:gtags_parser=ERB\:$pygmentslib:\ | |
:gtags_parser=Elixir\:$pygmentslib:\ | |
:gtags_parser=Erlang\:$pygmentslib:\ | |
:gtags_parser=Evoque\:$pygmentslib:\ | |
:gtags_parser=FSharp\:$pygmentslib:\ | |
:gtags_parser=Factor\:$pygmentslib:\ | |
:gtags_parser=Fancy\:$pygmentslib:\ | |
:gtags_parser=Fantom\:$pygmentslib:\ | |
:gtags_parser=Felix\:$pygmentslib:\ | |
:gtags_parser=Fortran\:$pygmentslib:\ | |
:gtags_parser=GAS\:$pygmentslib:\ | |
:gtags_parser=GLSL\:$pygmentslib:\ | |
:gtags_parser=Genshi\:$pygmentslib:\ | |
:gtags_parser=Gherkin\:$pygmentslib:\ | |
:gtags_parser=Gnuplot\:$pygmentslib:\ | |
:gtags_parser=Go\:$pygmentslib:\ | |
:gtags_parser=GoodData-CL\:$pygmentslib:\ | |
:gtags_parser=Gosu\:$pygmentslib:\ | |
:gtags_parser=Groovy\:$pygmentslib:\ | |
:gtags_parser=Gst\:$pygmentslib:\ | |
:gtags_parser=HaXe\:$pygmentslib:\ | |
:gtags_parser=Haml\:$pygmentslib:\ | |
:gtags_parser=Haskell\:$pygmentslib:\ | |
:gtags_parser=Hxml\:$pygmentslib:\ | |
:gtags_parser=Hybris\:$pygmentslib:\ | |
:gtags_parser=IDL\:$pygmentslib:\ | |
:gtags_parser=Io\:$pygmentslib:\ | |
:gtags_parser=Ioke\:$pygmentslib:\ | |
:gtags_parser=JAGS\:$pygmentslib:\ | |
:gtags_parser=Jade\:$pygmentslib:\ | |
:gtags_parser=JavaScript\:$pygmentslib:\ | |
:gtags_parser=Java\:$pygmentslib:\ | |
:gtags_parser=Jsp\:$pygmentslib:\ | |
:gtags_parser=Julia\:$pygmentslib:\ | |
:gtags_parser=Koka\:$pygmentslib:\ | |
:gtags_parser=Kotlin\:$pygmentslib:\ | |
:gtags_parser=LLVM\:$pygmentslib:\ | |
:gtags_parser=Lasso\:$pygmentslib:\ | |
:gtags_parser=Literate-Haskell\:$pygmentslib:\ | |
:gtags_parser=LiveScript\:$pygmentslib:\ | |
:gtags_parser=Logos\:$pygmentslib:\ | |
:gtags_parser=Logtalk\:$pygmentslib:\ | |
:gtags_parser=Lua\:$pygmentslib:\ | |
:gtags_parser=MAQL\:$pygmentslib:\ | |
:gtags_parser=MOOCode\:$pygmentslib:\ | |
:gtags_parser=MXML\:$pygmentslib:\ | |
:gtags_parser=Mako\:$pygmentslib:\ | |
:gtags_parser=Mason\:$pygmentslib:\ | |
:gtags_parser=Matlab\:$pygmentslib:\ | |
:gtags_parser=MiniD\:$pygmentslib:\ | |
:gtags_parser=Modelica\:$pygmentslib:\ | |
:gtags_parser=Modula2\:$pygmentslib:\ | |
:gtags_parser=Monkey\:$pygmentslib:\ | |
:gtags_parser=MoonScript\:$pygmentslib:\ | |
:gtags_parser=MuPAD\:$pygmentslib:\ | |
:gtags_parser=Myghty\:$pygmentslib:\ | |
:gtags_parser=NASM\:$pygmentslib:\ | |
:gtags_parser=NSIS\:$pygmentslib:\ | |
:gtags_parser=Nemerle\:$pygmentslib:\ | |
:gtags_parser=NewLisp\:$pygmentslib:\ | |
:gtags_parser=Newspeak\:$pygmentslib:\ | |
:gtags_parser=Nimrod\:$pygmentslib:\ | |
:gtags_parser=OCaml\:$pygmentslib:\ | |
:gtags_parser=Objective-C++\:$pygmentslib:\ | |
:gtags_parser=Objective-C\:$pygmentslib:\ | |
:gtags_parser=Objective-J\:$pygmentslib:\ | |
:gtags_parser=Octave\:$pygmentslib:\ | |
:gtags_parser=Ooc\:$pygmentslib:\ | |
:gtags_parser=Opa\:$pygmentslib:\ | |
:gtags_parser=OpenEdge\:$pygmentslib:\ | |
:gtags_parser=PHP\:$pygmentslib:\ | |
:gtags_parser=Pascal\:$pygmentslib:\ | |
:gtags_parser=Perl\:$pygmentslib:\ | |
:gtags_parser=PostScript\:$pygmentslib:\ | |
:gtags_parser=PowerShell\:$pygmentslib:\ | |
:gtags_parser=Prolog\:$pygmentslib:\ | |
:gtags_parser=Python\:$pygmentslib:\ | |
:gtags_parser=QML\:$pygmentslib:\ | |
:gtags_parser=REBOL\:$pygmentslib:\ | |
:gtags_parser=RHTML\:$pygmentslib:\ | |
:gtags_parser=Racket\:$pygmentslib:\ | |
:gtags_parser=Ragel\:$pygmentslib:\ | |
:gtags_parser=Redcode\:$pygmentslib:\ | |
:gtags_parser=RobotFramework\:$pygmentslib:\ | |
:gtags_parser=Ruby\:$pygmentslib:\ | |
:gtags_parser=Rust\:$pygmentslib:\ | |
:gtags_parser=S\:$pygmentslib:\ | |
:gtags_parser=Scala\:$pygmentslib:\ | |
:gtags_parser=Scaml\:$pygmentslib:\ | |
:gtags_parser=Scheme\:$pygmentslib:\ | |
:gtags_parser=Scilab\:$pygmentslib:\ | |
:gtags_parser=Smalltalk\:$pygmentslib:\ | |
:gtags_parser=Smarty\:$pygmentslib:\ | |
:gtags_parser=Sml\:$pygmentslib:\ | |
:gtags_parser=Snobol\:$pygmentslib:\ | |
:gtags_parser=SourcePawn\:$pygmentslib:\ | |
:gtags_parser=Spitfire\:$pygmentslib:\ | |
:gtags_parser=Ssp\:$pygmentslib:\ | |
:gtags_parser=Stan\:$pygmentslib:\ | |
:gtags_parser=SystemVerilog\:$pygmentslib:\ | |
:gtags_parser=Tcl\:$pygmentslib:\ | |
:gtags_parser=TeX\:$pygmentslib:\ | |
:gtags_parser=Tea\:$pygmentslib:\ | |
:gtags_parser=Treetop\:$pygmentslib:\ | |
:gtags_parser=TypeScript\:$pygmentslib:\ | |
:gtags_parser=UrbiScript\:$pygmentslib:\ | |
:gtags_parser=VB.net\:$pygmentslib:\ | |
:gtags_parser=VGL\:$pygmentslib:\ | |
:gtags_parser=Vala\:$pygmentslib:\ | |
:gtags_parser=Velocity\:$pygmentslib:\ | |
:gtags_parser=Verilog\:$pygmentslib:\ | |
:gtags_parser=Vhdl\:$pygmentslib:\ | |
:gtags_parser=Vim\:$pygmentslib:\ | |
:gtags_parser=XBase\:$pygmentslib:\ | |
:gtags_parser=XQuery\:$pygmentslib:\ | |
:gtags_parser=XSLT\:$pygmentslib:\ | |
:gtags_parser=Xtend\:$pygmentslib: | |
# | |
# Drupal configuration. | |
# | |
drupal|Drupal content management platform:\ | |
:tc=common:\ | |
:langmap=php\:.php.module.inc.profile.install.test: | |
#--------------------------------------------------------------------- | |
# Configuration for htags(1) | |
#--------------------------------------------------------------------- | |
htags:\ | |
:: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Add this at the top of mc.ext | |
### Open all files using macos open, except archives ### | |
regex/\.(.*)(?<!tgz|tpz|gz|z|ipk|gem|lzma|bz|lz|lz4|tlz4|xz|txz|tar|rar|zip|jar|gzip|bz2|bzip2|bzip)$ | |
Open=(open %s &) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[main] | |
ChangePanel = tab | |
Help = f1 | |
UserMenu = f2 | |
View = f3 | |
# ViewFile = | |
Edit = f4 | |
# EditForceInternal = | |
Copy = f5 | |
Move = f6 | |
MakeDir = f7 | |
Delete = f8 | |
Menu = f9 | |
Quit = f10 | |
MenuLastSelected = f19 | |
QuitQuiet = f20 | |
Find = alt-question | |
CdQuick = alt-c | |
HotList = ctrl-backslash | |
Reread = ctrl-r | |
DirSize = ctrl-space | |
Suspend = ctrl-z | |
Swap = ctrl-u | |
History = alt-h | |
# PanelListing = | |
# SetupListingFormat = | |
ShowHidden = alt-dot | |
SplitVertHoriz = alt-comma | |
SplitEqual = alt-equal | |
SplitMore = alt-shift-right | |
SplitLess = alt-shift-left | |
Shell = ctrl-o | |
PutCurrentPath = alt-a | |
PutOtherPath = alt-shift-a | |
PutCurrentSelected = alt-enter; ctrl-enter | |
PutCurrentFullSelected = ctrl-shift-enter | |
ViewFiltered = alt-exclamation | |
Select = kpplus | |
Unselect = kpminus | |
SelectInvert = kpasterisk | |
ScreenList = alt-prime | |
# OptionsLayout = | |
# OptionsAppearance = | |
# OptionsPanel = | |
# OptionsConfirm = | |
# OptionsDisplayBits = | |
# OptionsVfs = | |
# LearnKeys = | |
# SaveSetup = | |
# EditExtensionsFile = | |
# EditFileHighlightFile = | |
# Filter = | |
# ConnectFish = | |
# ConnectFtp = | |
# ConnectSmb = | |
# Undelete = | |
ExtendedKeyMap = ctrl-x | |
[main:xmap] | |
ChangeMode = c | |
ChangeOwn = o | |
CompareDirs = d | |
CompareFiles = ctrl-d | |
HotListAdd = h | |
LinkSymbolicEdit = ctrl-s | |
Link = l | |
LinkSymbolic = s | |
LinkSymbolicRelative = v | |
PanelInfo = i | |
PanelQuickView = q | |
ExternalPanelize = exclamation | |
VfsList = a | |
Jobs = j | |
PutCurrentPath = p | |
PutOtherPath = ctrl-p | |
PutCurrentTagged = t | |
PutOtherTagged = ctrl-t | |
PutCurrentLink = r | |
PutOtherLink = ctrl-r | |
[panel] | |
CycleListingFormat = alt-t | |
Search = ctrl-s; alt-s | |
Mark = insert; ctrl-t | |
MarkUp = shift-up | |
MarkDown = shift-down | |
# MarkLeft = | |
# MarkRight = | |
Down = down; ctrl-n | |
Up = up; ctrl-p | |
Left = left | |
Right = right | |
PageUp = pgup; alt-v | |
PageDown = pgdn; ctrl-v | |
Enter = enter | |
PanelOtherCd = alt-o | |
PanelOtherCdLink = alt-l | |
ViewRaw = f13 | |
EditNew = f14 | |
CopySingle = f15 | |
MoveSingle = f16 | |
DeleteSingle = f18 | |
# SelectExt = | |
Select = alt-plus | |
Unselect = alt-minus | |
SelectInvert = alt-asterisk | |
CdChild = ctrl-pgdn | |
CdParent = ctrl-pgup | |
# CdParentSmart = | |
# Panelize = | |
History = alt-shift-h | |
HistoryNext = alt-u | |
HistoryPrev = alt-y | |
BottomOnScreen = alt-j | |
MiddleOnScreen = alt-r | |
TopOnScreen = alt-g | |
PanelOtherSync = alt-i | |
SelectCodepage = alt-e | |
Top = alt-lt; home; a1 | |
Bottom = alt-gt; end; c1 | |
# Sort = | |
# SortPrev = | |
# SortNext = | |
SortReverse = alt-shift-r | |
SortByName = alt-shift-n | |
SortByExt = alt-shift-e | |
SortBySize = alt-shift-s | |
SortByMTime = alt-shift-m | |
# ScrollLeft = | |
# ScrollRight = | |
[dialog] | |
Ok = enter | |
Cancel = f10; esc; ctrl-g | |
Up = left; up | |
#Left = left; up | |
Down = right; down | |
#Right = right; down | |
Help = f1 | |
Suspend = ctrl-z | |
Refresh = ctrl-l | |
ScreenList = alt-prime | |
ScreenNext = alt-rbrace | |
ScreenPrev = alt-lbrace | |
[input] | |
Home = ctrl-a; alt-lt; home; a1 | |
End = ctrl-e; alt-gt; end; c1 | |
Left = left; alt-left; ctrl-b | |
Right = right; alt-right; ctrl-f | |
WordLeft = ctrl-left; alt-b | |
WordRight = ctrl-right; alt-f | |
Backspace = backspace; ctrl-h | |
Delete = delete; ctrl-d | |
DeleteToWordBegin = alt-backspace | |
DeleteToWordEnd = alt-d | |
# Mark = | |
Remove = ctrl-w | |
# Cut = | |
Store = alt-w | |
# Paste = | |
Yank = ctrl-y | |
DeleteToEnd = ctrl-k | |
HistoryPrev = alt-p; ctrl-down | |
HistoryNext = alt-n; ctrl-up | |
History = alt-h | |
Complete = alt-tab | |
# Clear = | |
MarkLeft = shift-left | |
MarkRight = shift-right | |
MarkToWordBegin = ctrl-shift-left | |
MarkToWordEnd = ctrl-shift-right | |
MarkToHome = shift-home | |
MarkToEnd = shift-end | |
[listbox] | |
Up = up; ctrl-p | |
Down = down; ctrl-n | |
Top = home; alt-lt; a1 | |
Bottom = end; alt-gt; c1 | |
PageUp = pgup; alt-v | |
PageDown = pgdn; ctrl-v | |
Delete = delete; d | |
Clear = shift-delete; shift-d | |
[tree] | |
Help = f1 | |
Reread = f2; ctrl-r | |
Forget = f3 | |
ToggleNavigation = f4 | |
Copy = f5 | |
Move = f6 | |
Up = up; ctrl-p | |
Down = down; ctrl-n | |
Left = left | |
Right = right | |
Top = home; alt-lt; a1 | |
Bottom = end; alt-gt; c1 | |
PageUp = pgup; alt-v | |
PageDown = pgdn; ctrl-v | |
Enter = enter | |
Search = ctrl-s; alt-s | |
Delete = f8; delete | |
[help] | |
Help = f1 | |
Index = f2; c | |
Back = f3; left; l | |
Quit = f10; esc | |
Up = up; ctrl-p | |
Down = down; ctrl-n | |
PageDown = f; space; pgdn; ctrl-v | |
PageUp = b; pgup; alt-v; backspace | |
HalfPageDown = d | |
HalfPageUp = u | |
Top = home; ctrl-home; ctrl-pgup; a1; alt-lt; g | |
Bottom = end; ctrl-end; ctrl-pgdn; c1; alt-gt; shift-g | |
Enter = right; enter | |
LinkNext = tab | |
LinkPrev = alt-tab | |
NodeNext = n | |
NodePrev = p | |
[editor] | |
Store = ctrl-insert | |
Paste = shift-insert | |
Cut = shift-delete | |
Up = up | |
Down = down | |
Left = left | |
Right = right | |
WordLeft = ctrl-left; ctrl-z | |
WordRight = ctrl-right; ctrl-x | |
Enter = enter | |
Return = shift-enter; ctrl-enter; ctrl-shift-enter | |
BackSpace = backspace; ctrl-h | |
Delete = delete; ctrl-d | |
PageUp = pgup | |
PageDown = pgdn | |
Home = home | |
End = end | |
Tab = tab; shift-tab; ctrl-tab; ctrl-shift-tab | |
Undo = ctrl-u | |
Redo = alt-r | |
Top = ctrl-home; alt-lt | |
Bottom = ctrl-end; alt-gt | |
ScrollUp = ctrl-up | |
ScrollDown = ctrl-down | |
TopOnScreen = ctrl-pgup | |
BottomOnScreen = ctrl-pgdn | |
DeleteToWordBegin = alt-backspace | |
DeleteToWordEnd = alt-d | |
DeleteLine = ctrl-y | |
DeleteToEnd = ctrl-k | |
# DeleteToHome = | |
# ParagraphUp = | |
# ParagraphDown = | |
Save = f2 | |
# EditFile = | |
EditNew = ctrl-n | |
SaveAs = f12; ctrl-f2 | |
# Close = | |
Mark = f3 | |
Copy = f5 | |
Move = f6 | |
Remove = f8 | |
# MarkLine = | |
# MarkWord = | |
# MarkAll = | |
# Unmark = | |
Search = f7 | |
SearchContinue = f17 | |
# BlockShiftLeft = | |
# BlockShiftRight = | |
MarkPageUp = shift-pgup | |
MarkPageDown = shift-pgdn | |
MarkLeft = shift-left | |
MarkRight = shift-right | |
MarkToWordBegin = ctrl-shift-left | |
MarkToWordEnd = ctrl-shift-right | |
MarkUp = shift-up | |
MarkDown = shift-down | |
MarkToHome = shift-home | |
MarkToEnd = shift-end | |
MarkToFileBegin = ctrl-shift-home | |
MarkToFileEnd = ctrl-shift-end | |
MarkToPageBegin = ctrl-shift-pgup | |
MarkToPageEnd = ctrl-shift-pgdn | |
MarkScrollUp = ctrl-shift-up | |
MarkScrollDown = ctrl-shift-down | |
# MarkParagraphUp = | |
# MarkParagraphDown = | |
MarkColumnPageUp = alt-pgup | |
MarkColumnPageDown = alt-pgdn | |
MarkColumnLeft = alt-left | |
MarkColumnRight = alt-right | |
MarkColumnUp = alt-up | |
MarkColumnDown = alt-down | |
# MarkColumnScrollUp = | |
# MarkColumnScrollDown = | |
# MarkColumnParagraphUp = | |
# MarkColumnParagraphDown = | |
BlockSave = ctrl-f | |
MarkColumn = f13 | |
Replace = f4 | |
ReplaceContinue = f14 | |
Complete = alt-tab | |
InsertFile = f15 | |
Quit = f10; esc | |
InsertOverwrite = insert | |
Help = f1 | |
# Date = | |
Refresh = ctrl-l | |
Goto = alt-l | |
Sort = alt-t | |
Mail = alt-m | |
ParagraphFormat = alt-p | |
MatchBracket = alt-b | |
ExternalCommand = alt-u | |
UserMenu = f11 | |
Menu = f9 | |
Bookmark = alt-k | |
BookmarkFlush = alt-o | |
BookmarkNext = alt-j | |
BookmarkPrev = alt-i | |
# History = | |
Shell = ctrl-o | |
InsertLiteral = ctrl-q | |
# MacroStartRecord = | |
# MacroStopRecord = | |
MacroStartStopRecord = ctrl-r | |
# MacroDelete = | |
ShowNumbers = alt-n | |
ShowTabTws = alt-underline | |
SyntaxOnOff = ctrl-s | |
# SyntaxChoose = | |
# ShowMargin = | |
Find = alt-enter | |
FilePrev = alt-minus | |
FileNext = alt-plus | |
# RepeatStartStopRecord = | |
SelectCodepage = alt-e | |
# Options = | |
# OptionsSaveMode = | |
# SpellCheck = | |
SpellCheckCurrentWord = ctrl-p | |
# SpellCheckSelectLang = | |
# LearnKeys = | |
# WindowMove = | |
# WindowResize = | |
# WindowFullscreen = | |
# WindowList = | |
# WindowNext = | |
# WindowPrev = | |
# ExtendedKeyMap = | |
[viewer] | |
Help = f1 | |
WrapMode = f2 | |
Quit = f3; f10; q; esc | |
HexMode = f4 | |
Goto = f5 | |
Search = f7 | |
SearchForward = slash | |
SearchBackward = question | |
SearchContinue = f17; n | |
SearchForwardContinue = ctrl-s | |
SearchBackwardContinue = ctrl-r | |
MagicMode = f8 | |
NroffMode = f9 | |
Home = ctrl-a | |
End = ctrl-e | |
Left = h; left | |
Right = l; right | |
LeftQuick = ctrl-left | |
RightQuick = ctrl-right | |
Up = k; y; insert; up; ctrl-p | |
Down = j; e; delete; down; enter; ctrl-n | |
PageDown = f; space; pgdn; ctrl-v | |
PageUp = b; pgup; alt-v; backspace | |
HalfPageDown = d | |
HalfPageUp = u | |
Top = home; ctrl-home; ctrl-pgup; a1; alt-lt; g | |
Bottom = end; ctrl-end; ctrl-pgdn; c1; alt-gt; shift-g | |
BookmarkGoto = m | |
Bookmark = r | |
FileNext = ctrl-f | |
FilePrev = ctrl-b | |
SelectCodepage = alt-e | |
Shell = ctrl-o | |
Ruler = alt-r | |
[viewer:hex] | |
Help = f1 | |
HexEditMode = f2 | |
Quit = f3; f10; q; esc | |
HexMode = f4 | |
Goto = f5 | |
Save = f6 | |
Search = f7 | |
SearchForward = slash | |
SearchBackward = question | |
SearchContinue = f17; n | |
SearchForwardContinue = ctrl-s | |
SearchBackwardContinue = ctrl-r | |
MagicMode = f8 | |
NroffMode = f9 | |
ToggleNavigation = tab | |
Home = ctrl-a; home | |
End = ctrl-e; end | |
Left = b; left | |
Right = f; right | |
Up = k; y; up | |
Down = j; delete; down | |
PageDown = pgdn; ctrl-v | |
PageUp = pgup; alt-v | |
Top = ctrl-home; ctrl-pgup; a1; alt-lt; g | |
Bottom = ctrl-end; ctrl-pgdn; c1; alt-gt; shift-g | |
[diffviewer] | |
ShowSymbols = alt-s; s | |
ShowNumbers = alt-n; l | |
SplitFull = f | |
SplitEqual = equal | |
SplitMore = gt | |
SplitLess = lt | |
Tab2 = 2 | |
Tab3 = 3 | |
Tab4 = 4 | |
Tab8 = 8 | |
Swap = ctrl-u | |
Redo = ctrl-r | |
HunkNext = n; enter; space | |
HunkPrev = p; backspace | |
Goto = g; shift-g | |
Save = f2 | |
Edit = f4 | |
EditOther = f14 | |
Merge = f5 | |
MergeOther = f15 | |
Search = f7 | |
SearchContinue = f17 | |
Options = f9 | |
Top = ctrl-home | |
Bottom = ctrl-end | |
Down = down | |
Up = up | |
LeftQuick = ctrl-left | |
RightQuick = ctrl-right | |
Left = left | |
Right = right | |
PageDown = pgdn | |
PageUp = pgup | |
Home = home | |
End = end | |
Help = f1 | |
Quit = f10; q; shift-q; esc | |
Shell = ctrl-o | |
SelectCodepage = alt-e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias semacs="emacsclient -nw" | |
alias nemacs="emacsclient -n" | |
alias zshconfig="semacs ~/.zshrc" | |
alias gcm="git commit -m" | |
alias gs="git show" | |
alias gdc="git diff --cached" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )" | |
PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)%{$reset_color%}$(git_remote_status)' | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[red]%}✗" | |
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}) %{$fg[green]%}✔" | |
ZSH_THEME_GIT_PROMPT_REMOTE_STATUS_DETAILED=1 | |
ZSH_THEME_GIT_PROMPT_REMOTE_STATUS_PREFIX="[" | |
ZSH_THEME_GIT_PROMPT_REMOTE_STATUS_SUFFIX="] " | |
ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE=" +" | |
ZSH_THEME_GIT_PROMPT_BEHIND_REMOTE=" -" | |
ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE_COLOR=%{$fg[green]%} | |
ZSH_THEME_GIT_PROMPT_BEHIND_REMOTE_COLOR=%{$fg[red]%} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment