Merge branch 'main' of git.sr.ht:~marcuskammer/emacs.d
This commit is contained in:
commit
beea222175
15 changed files with 80 additions and 1715 deletions
34
.bashrc
34
.bashrc
|
@ -1,34 +0,0 @@
|
|||
# Sample .bashrc for SuSE Linux
|
||||
# Copyright (c) SuSE GmbH Nuernberg
|
||||
|
||||
# There are 3 different types of shells in bash: the login shell, normal shell
|
||||
# and interactive shell. Login shells read ~/.profile and interactive shells
|
||||
# read ~/.bashrc; in our setup, /etc/profile sources ~/.bashrc - thus all
|
||||
# settings made here will also take effect in a login shell.
|
||||
#
|
||||
# NOTE: It is recommended to make language settings in ~/.profile rather than
|
||||
# here, since multilingual X sessions would not work properly if LANG is over-
|
||||
# ridden in every subshell.
|
||||
|
||||
# Some applications read the EDITOR variable to determine your favourite text
|
||||
# editor. So uncomment the line below and enter the editor of your choice :-)
|
||||
export ALTERNATE_EDITOR=""
|
||||
export EDITOR="emacsclient -t" # $EDITOR opens in terminal
|
||||
#export VISUAL="emacs" # $VISUAL opens in GUI mode
|
||||
#export VISUAL="emacsclient -c -a emacs" # $VISUAL opens in GUI mode
|
||||
#export EDITOR=/usr/bin/vim
|
||||
#export EDITOR=/usr/bin/mcedit
|
||||
|
||||
# For some news readers it makes sense to specify the NEWSSERVER variable here
|
||||
#export NEWSSERVER=your.news.server
|
||||
|
||||
# If you want to use a Palm device with Linux, uncomment the two lines below.
|
||||
# For some (older) Palm Pilots, you might need to set a lower baud rate
|
||||
# e.g. 57600 or 38400; lowest is 9600 (very slow!)
|
||||
#
|
||||
#export PILOTPORT=/dev/pilot
|
||||
#export PILOTRATE=115200
|
||||
|
||||
export TERM="screen-256color"
|
||||
test -s ~/.alias && . ~/.alias || true
|
||||
eval "$(direnv hook bash)"
|
315
.irssi/config
315
.irssi/config
|
@ -1,315 +0,0 @@
|
|||
servers = (
|
||||
{
|
||||
address = "chat.freenode.net";
|
||||
chatnet = "freenode";
|
||||
port = "6697";
|
||||
n use_ssl = "yes";
|
||||
ssl_cert = "~/.irssi/certs/freenode.pem";
|
||||
ssl_verify = "yes";
|
||||
autoconnect = "yes";
|
||||
}
|
||||
);
|
||||
|
||||
chatnets = {
|
||||
freenode = { type = "IRC"; nick = "srji"; username = "srji"; realname = "srji"; }
|
||||
};
|
||||
|
||||
channels = (
|
||||
{ name = "#python"; chatnet = "freenode"; autojoin = "yes"; },
|
||||
{ name = "#lisp"; chatnet = "freenode"; autojoin = "yes"; }
|
||||
{ name = "#org-mode"; chatnet = "freenode"; autojoin = "yes"; }
|
||||
{ name = "##linux"; chatnet = "freenode"; autojoin = "yes"; }
|
||||
{ name = "#emacs"; chatnet = "freenode"; autojoin = "yes"; },
|
||||
{ name = "#racket"; chatnet = "freenode"; autojoin = "yes"; }
|
||||
{ name = "#emacs-beginners"; chatnet = "freenode"; autojoin = "yes"; }
|
||||
{ name = "##linux-beginners"; chatnet = "freenode"; autojoin = "yes"; }
|
||||
);
|
||||
|
||||
aliases = {
|
||||
ATAG = "WINDOW SERVER";
|
||||
ADDALLCHANS = "SCRIPT EXEC foreach my \\$channel (Irssi::channels()) { Irssi::command(\"CHANNEL ADD -auto \\$channel->{name} \\$channel->{server}->{tag} \\$channel->{key}\")\\;}";
|
||||
B = "BAN";
|
||||
BACK = "AWAY";
|
||||
BANS = "BAN";
|
||||
BYE = "QUIT";
|
||||
C = "CLEAR";
|
||||
CALC = "EXEC - if command -v bc >/dev/null 2>&1\\; then printf '%s=' '$*'\\; echo '$*' | bc -l\\; else echo bc was not found\\; fi";
|
||||
CHAT = "DCC CHAT";
|
||||
CUBES = "SCRIPT EXEC Irssi::active_win->print(\"%_bases\", MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print( do { join '', map { \"%x0\\${_}0\\$_\" } '0'..'9','A'..'F' }, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print(\"%_cubes\", MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print( do { my \\$y = \\$_*6 \\; join '', map { my \\$x = \\$_ \\; map { \"%x\\$x\\$_\\$x\\$_\" } @{['0'..'9','A'..'Z']}[\\$y .. \\$y+5] } 1..6 }, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) for 0..5 \\; Irssi::active_win->print(\"%_grays\", MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print( do { join '', map { \"%x7\\${_}7\\$_\" } 'A'..'X' }, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) \\; Irssi::active_win->print(\"%_mIRC extended colours\", MSGLEVEL_CLIENTCRAP) \\; my \\$x \\; \\$x .= sprintf \"\00399,%02d%02d\",\\$_,\\$_ for 0..15 \\; Irssi::active_win->print(\\$x, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) \\; for my \\$z (0..6) { my \\$x \\; \\$x .= sprintf \"\00399,%02d%02d\",\\$_,\\$_ for 16+(\\$z*12)..16+(\\$z*12)+11 \\; Irssi::active_win->print(\\$x, MSGLEVEL_NEVER | MSGLEVEL_CLIENTCRAP) }";
|
||||
DATE = "TIME";
|
||||
DEHIGHLIGHT = "DEHILIGHT";
|
||||
DESCRIBE = "ACTION";
|
||||
DHL = "DEHILIGHT";
|
||||
EXEMPTLIST = "MODE $C +e";
|
||||
EXIT = "QUIT";
|
||||
GOTO = "SCROLLBACK GOTO";
|
||||
HIGHLIGHT = "HILIGHT";
|
||||
HL = "HILIGHT";
|
||||
HOST = "USERHOST";
|
||||
INVITELIST = "MODE $C +I";
|
||||
J = "JOIN";
|
||||
K = "KICK";
|
||||
KB = "KICKBAN";
|
||||
KN = "KNOCKOUT";
|
||||
LAST = "LASTLOG";
|
||||
LEAVE = "PART";
|
||||
M = "MSG";
|
||||
MUB = "UNBAN *";
|
||||
N = "NAMES";
|
||||
NMSG = "^MSG";
|
||||
P = "PART";
|
||||
Q = "QUERY";
|
||||
RESET = "SET -default";
|
||||
RUN = "SCRIPT LOAD";
|
||||
SAY = "MSG *";
|
||||
SB = "SCROLLBACK";
|
||||
SBAR = "STATUSBAR";
|
||||
SIGNOFF = "QUIT";
|
||||
SV = "MSG * Irssi $J ($V) - http://www.irssi.org";
|
||||
T = "TOPIC";
|
||||
UB = "UNBAN";
|
||||
UMODE = "MODE $N";
|
||||
UNSET = "SET -clear";
|
||||
W = "WHO";
|
||||
WC = "WINDOW CLOSE";
|
||||
WG = "WINDOW GOTO";
|
||||
WJOIN = "JOIN -window";
|
||||
WI = "WHOIS";
|
||||
WII = "WHOIS $0 $0";
|
||||
WL = "WINDOW LIST";
|
||||
WN = "WINDOW NEW HIDDEN";
|
||||
WQUERY = "QUERY -window";
|
||||
WW = "WHOWAS";
|
||||
1 = "WINDOW GOTO 1";
|
||||
2 = "WINDOW GOTO 2";
|
||||
3 = "WINDOW GOTO 3";
|
||||
4 = "WINDOW GOTO 4";
|
||||
5 = "WINDOW GOTO 5";
|
||||
6 = "WINDOW GOTO 6";
|
||||
7 = "WINDOW GOTO 7";
|
||||
8 = "WINDOW GOTO 8";
|
||||
9 = "WINDOW GOTO 9";
|
||||
10 = "WINDOW GOTO 10";
|
||||
11 = "WINDOW GOTO 11";
|
||||
12 = "WINDOW GOTO 12";
|
||||
13 = "WINDOW GOTO 13";
|
||||
14 = "WINDOW GOTO 14";
|
||||
15 = "WINDOW GOTO 15";
|
||||
16 = "WINDOW GOTO 16";
|
||||
17 = "WINDOW GOTO 17";
|
||||
18 = "WINDOW GOTO 18";
|
||||
19 = "WINDOW GOTO 19";
|
||||
20 = "WINDOW GOTO 20";
|
||||
21 = "WINDOW GOTO 21";
|
||||
22 = "WINDOW GOTO 22";
|
||||
23 = "WINDOW GOTO 23";
|
||||
24 = "WINDOW GOTO 24";
|
||||
25 = "WINDOW GOTO 25";
|
||||
26 = "WINDOW GOTO 26";
|
||||
27 = "WINDOW GOTO 27";
|
||||
28 = "WINDOW GOTO 28";
|
||||
29 = "WINDOW GOTO 29";
|
||||
30 = "WINDOW GOTO 30";
|
||||
31 = "WINDOW GOTO 31";
|
||||
32 = "WINDOW GOTO 32";
|
||||
33 = "WINDOW GOTO 33";
|
||||
34 = "WINDOW GOTO 34";
|
||||
35 = "WINDOW GOTO 35";
|
||||
36 = "WINDOW GOTO 36";
|
||||
37 = "WINDOW GOTO 37";
|
||||
38 = "WINDOW GOTO 38";
|
||||
39 = "WINDOW GOTO 39";
|
||||
40 = "WINDOW GOTO 40";
|
||||
41 = "WINDOW GOTO 41";
|
||||
42 = "WINDOW GOTO 42";
|
||||
43 = "WINDOW GOTO 43";
|
||||
44 = "WINDOW GOTO 44";
|
||||
45 = "WINDOW GOTO 45";
|
||||
46 = "WINDOW GOTO 46";
|
||||
47 = "WINDOW GOTO 47";
|
||||
48 = "WINDOW GOTO 48";
|
||||
49 = "WINDOW GOTO 49";
|
||||
50 = "WINDOW GOTO 50";
|
||||
51 = "WINDOW GOTO 51";
|
||||
52 = "WINDOW GOTO 52";
|
||||
53 = "WINDOW GOTO 53";
|
||||
54 = "WINDOW GOTO 54";
|
||||
55 = "WINDOW GOTO 55";
|
||||
56 = "WINDOW GOTO 56";
|
||||
57 = "WINDOW GOTO 57";
|
||||
58 = "WINDOW GOTO 58";
|
||||
59 = "WINDOW GOTO 59";
|
||||
60 = "WINDOW GOTO 60";
|
||||
61 = "WINDOW GOTO 61";
|
||||
62 = "WINDOW GOTO 62";
|
||||
63 = "WINDOW GOTO 63";
|
||||
64 = "WINDOW GOTO 64";
|
||||
65 = "WINDOW GOTO 65";
|
||||
66 = "WINDOW GOTO 66";
|
||||
67 = "WINDOW GOTO 67";
|
||||
68 = "WINDOW GOTO 68";
|
||||
69 = "WINDOW GOTO 69";
|
||||
70 = "WINDOW GOTO 70";
|
||||
71 = "WINDOW GOTO 71";
|
||||
72 = "WINDOW GOTO 72";
|
||||
73 = "WINDOW GOTO 73";
|
||||
74 = "WINDOW GOTO 74";
|
||||
75 = "WINDOW GOTO 75";
|
||||
76 = "WINDOW GOTO 76";
|
||||
77 = "WINDOW GOTO 77";
|
||||
78 = "WINDOW GOTO 78";
|
||||
79 = "WINDOW GOTO 79";
|
||||
80 = "WINDOW GOTO 80";
|
||||
81 = "WINDOW GOTO 81";
|
||||
82 = "WINDOW GOTO 82";
|
||||
83 = "WINDOW GOTO 83";
|
||||
84 = "WINDOW GOTO 84";
|
||||
85 = "WINDOW GOTO 85";
|
||||
86 = "WINDOW GOTO 86";
|
||||
87 = "WINDOW GOTO 87";
|
||||
88 = "WINDOW GOTO 88";
|
||||
89 = "WINDOW GOTO 89";
|
||||
90 = "WINDOW GOTO 90";
|
||||
91 = "WINDOW GOTO 91";
|
||||
92 = "WINDOW GOTO 92";
|
||||
93 = "WINDOW GOTO 93";
|
||||
94 = "WINDOW GOTO 94";
|
||||
95 = "WINDOW GOTO 95";
|
||||
96 = "WINDOW GOTO 96";
|
||||
97 = "WINDOW GOTO 97";
|
||||
98 = "WINDOW GOTO 98";
|
||||
99 = "WINDOW GOTO 99";
|
||||
};
|
||||
|
||||
statusbar = {
|
||||
|
||||
items = {
|
||||
|
||||
barstart = "{sbstart}";
|
||||
barend = "{sbend}";
|
||||
|
||||
topicbarstart = "{topicsbstart}";
|
||||
topicbarend = "{topicsbend}";
|
||||
|
||||
time = "{sb $Z}";
|
||||
user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
|
||||
|
||||
window = "{sb $winref:$tag/$itemname{sbmode $M}}";
|
||||
window_empty = "{sb $winref{sbservertag $tag}}";
|
||||
|
||||
prompt = "{prompt $[.15]itemname}";
|
||||
prompt_empty = "{prompt $winname}";
|
||||
|
||||
topic = " $topic";
|
||||
topic_empty = " Irssi v$J - http://www.irssi.org";
|
||||
|
||||
lag = "{sb Lag: $0-}";
|
||||
act = "{sb Act: $0-}";
|
||||
more = "-- more --";
|
||||
};
|
||||
|
||||
default = {
|
||||
|
||||
window = {
|
||||
|
||||
disabled = "no";
|
||||
type = "window";
|
||||
placement = "bottom";
|
||||
position = "1";
|
||||
visible = "active";
|
||||
|
||||
items = {
|
||||
barstart = { priority = "100"; };
|
||||
time = { };
|
||||
user = { };
|
||||
window = { };
|
||||
window_empty = { };
|
||||
lag = { priority = "-1"; };
|
||||
act = { priority = "10"; };
|
||||
more = { priority = "-1"; alignment = "right"; };
|
||||
barend = { priority = "100"; alignment = "right"; };
|
||||
};
|
||||
};
|
||||
|
||||
window_inact = {
|
||||
|
||||
type = "window";
|
||||
placement = "bottom";
|
||||
position = "1";
|
||||
visible = "inactive";
|
||||
|
||||
items = {
|
||||
barstart = { priority = "100"; };
|
||||
window = { };
|
||||
window_empty = { };
|
||||
more = { priority = "-1"; alignment = "right"; };
|
||||
barend = { priority = "100"; alignment = "right"; };
|
||||
};
|
||||
};
|
||||
|
||||
prompt = {
|
||||
|
||||
type = "root";
|
||||
placement = "bottom";
|
||||
position = "100";
|
||||
visible = "always";
|
||||
|
||||
items = {
|
||||
prompt = { priority = "-1"; };
|
||||
prompt_empty = { priority = "-1"; };
|
||||
input = { priority = "10"; };
|
||||
};
|
||||
};
|
||||
|
||||
topic = {
|
||||
|
||||
type = "root";
|
||||
placement = "top";
|
||||
position = "1";
|
||||
visible = "always";
|
||||
|
||||
items = {
|
||||
topicbarstart = { priority = "100"; };
|
||||
topic = { };
|
||||
topic_empty = { };
|
||||
topicbarend = { priority = "100"; alignment = "right"; };
|
||||
};
|
||||
};
|
||||
awl_0 = {
|
||||
items = {
|
||||
barstart = { priority = "100"; };
|
||||
awl_0 = { };
|
||||
barend = { priority = "100"; alignment = "right"; };
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
settings = {
|
||||
core = {
|
||||
real_name = "srji";
|
||||
user_name = "srji";
|
||||
nick = "srji";
|
||||
hostname = "srji@localhost";
|
||||
};
|
||||
"fe-text" = { actlist_sort = "refnum"; };
|
||||
"fe-common/core" = {
|
||||
theme = "simplicity";
|
||||
term_charset = "utf-8";
|
||||
autolog_path = "~/.irssi/logs/$tag/$0/%Y-%m-%d.log";
|
||||
autolog = "yes";
|
||||
};
|
||||
};
|
||||
logs = { };
|
||||
ignores = (
|
||||
{
|
||||
level = "JOINS PARTS QUITS NICKS";
|
||||
channels = ( "#hackerboard", "#selenium", "#python.de" );
|
||||
},
|
||||
{ level = "JOINS PARTS QUITS NICKS"; },
|
||||
q {
|
||||
level = "ACTIONS";
|
||||
pattern = "(away|gone|back|playin|weg|wech|returned)";
|
||||
regexp = "yes";
|
||||
},
|
||||
{ mask = "pmn"; level = "ALL"; }
|
||||
);
|
45
.profile
45
.profile
|
@ -1,45 +0,0 @@
|
|||
# Sample .profile for SuSE Linux
|
||||
# rewritten by Christian Steinruecken <cstein@suse.de>
|
||||
#
|
||||
# This file is read each time a login shell is started.
|
||||
# All other interactive shells will only read .bashrc; this is particularly
|
||||
# important for language settings, see below.
|
||||
|
||||
test -z "$PROFILEREAD" && . /etc/profile || true
|
||||
|
||||
# Most applications support several languages for their output.
|
||||
# To make use of this feature, simply uncomment one of the lines below or
|
||||
# add your own one (see /usr/share/locale/locale.alias for more codes)
|
||||
# This overwrites the system default set in /etc/sysconfig/language
|
||||
# in the variable RC_LANG.
|
||||
#
|
||||
#export LANG=de_DE.UTF-8 # uncomment this line for German output
|
||||
#export LANG=fr_FR.UTF-8 # uncomment this line for French output
|
||||
#export LANG=es_ES.UTF-8 # uncomment this line for Spanish output
|
||||
export LANG=en_US.UTF-8
|
||||
export LC_ALL=en_US.UTF-8
|
||||
# Some people don't like fortune. If you uncomment the following lines,
|
||||
# you will have a fortune each time you log in ;-)
|
||||
|
||||
#if [ -x /usr/bin/fortune ] ; then
|
||||
# echo
|
||||
# /usr/bin/fortune
|
||||
# echo
|
||||
#fi
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/bin" ] ; then
|
||||
PATH="$HOME/bin:$PATH"
|
||||
fi
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/.local/bin" ] ; then
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
|
||||
export PATH="$PATH:$HOME/.npm-packages/bin"
|
||||
export PATH="$PATH:/usr/local/go/bin"
|
||||
export PATH="$PATH:$HOME/go/bin"
|
||||
|
||||
source ~/.apikeys
|
||||
source "$HOME/.cargo/env"
|
|
@ -10,20 +10,14 @@
|
|||
python-shell-interpreter-args "--simple-prompt -i")
|
||||
(add-to-list 'Info-default-directory-list "~/Documents/info/"))
|
||||
|
||||
|
||||
(when (eq system-type 'windows-nt)
|
||||
(setq custom-file "~/.emacs.d/bundle/custom_win32.el")
|
||||
(add-to-list 'load-path (expand-file-name "~/AppData/Roaming/__secrets"))
|
||||
|
||||
(setq sbcl-exe (expand-file-name "C:\\Program Files\\Steel Bank Common Lisp\\2.0.0\\sbcl.exe")
|
||||
sbcl-core (expand-file-name "C:\\Program Files\\Steel Bank Common Lisp\\2.0.0\\sbcl.core")
|
||||
inferior-lisp-program "sbcl"
|
||||
slime-lisp-implementations `((sbcl (,sbcl-exe "--core" ,sbcl-core))))
|
||||
|
||||
(when (string= (system-name) "EVG02667NB")
|
||||
(cd "d:/opt")
|
||||
(setq custom-file "~/.emacs.d/bundle/custom_win32_EVG02667NB.el"))
|
||||
|
||||
(defun powershell (&optional buffer)
|
||||
"Launches a powershell in buffer *powershell* and switches to it."
|
||||
(interactive)
|
||||
|
@ -32,6 +26,10 @@
|
|||
(make-comint-in-buffer "shell" "*powershell*" powershell-prog)
|
||||
(switch-to-buffer buffer)))
|
||||
|
||||
(when (string= (system-name) "EVG02667NB")
|
||||
(cd "d:/opt")
|
||||
(setq custom-file "~/.emacs.d/bundle/custom_win32_EVG02667NB.el"))
|
||||
|
||||
(when (string= (system-name) "XPS-8930")))
|
||||
|
||||
;; CUSTOM_FILE
|
||||
|
|
|
@ -87,8 +87,9 @@
|
|||
mode-line-end-spaces "%-"
|
||||
)))
|
||||
|
||||
;; Set transparency of emacs
|
||||
(defun transparency (value)
|
||||
"Sets the transparency of the frame window. 0=transparent/100=opaque"
|
||||
(interactive "nTransparency Value 0 - 100 opaque:")
|
||||
(set-frame-parameter (selected-frame) 'alpha value))
|
||||
;; Disable line numbers in modes
|
||||
(dolist (mode '(org-mode-hook
|
||||
term-mode-hook
|
||||
shell-mode-hook
|
||||
eshell-mode-hook))
|
||||
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
||||
|
|
|
@ -59,3 +59,9 @@
|
|||
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
||||
("\\paragraph{%s}" . "\\paragraph*{%s}")
|
||||
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
|
||||
|
||||
;; Set transparency of emacs
|
||||
(defun transparency (value)
|
||||
"Sets the transparency of the frame window. 0=transparent/100=opaque"
|
||||
(interactive "nTransparency Value 0 - 100 opaque: ")
|
||||
(set-frame-parameter (selected-frame) 'alpha value))
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
(use-package ivy
|
||||
:bind (("C-s" . swiper))
|
||||
:init
|
||||
(ivy-mode 1))
|
||||
(ivy-mode 1) (ivy-rich-mode 1))
|
||||
|
||||
(use-package olivetti
|
||||
:custom (olivetti-body-width 82))
|
||||
|
@ -66,8 +66,6 @@
|
|||
(rust-mode . eglot-ensure)
|
||||
(go-mode . eglot-ensure)))
|
||||
|
||||
|
||||
|
||||
(use-package go-mode
|
||||
:init
|
||||
(add-hook 'before-save-hook #'gofmt-before-save))
|
||||
|
@ -75,7 +73,6 @@
|
|||
(use-package ob-go)
|
||||
(use-package ob-http)
|
||||
(use-package ob-rust)
|
||||
(use-package ob-translate)
|
||||
(use-package ob-typescript)
|
||||
|
||||
(use-package web-mode
|
||||
|
@ -107,19 +104,26 @@
|
|||
|
||||
(use-package org
|
||||
:config
|
||||
(setq org-babel-lob-ingest "~/Documents/journal/library-of-babel.org")
|
||||
|
||||
(setq org-agenda-dim-blocked-tasks nil
|
||||
org-agenda-inhibit-startup nil
|
||||
org-agenda-span 14
|
||||
org-agenda-start-on-weekday nil
|
||||
org-agenda-include-diary t
|
||||
org-babel-shell-names (quote ("sh" "bash" "csh" "ash" "dash" "ksh" "mksh" "posh"))
|
||||
org-agenda-include-diary t)
|
||||
|
||||
(setq org-html-doctype "html5"
|
||||
org-html-html5-fancy t
|
||||
org-html-htmlize-output-type nil)
|
||||
|
||||
(setq org-latex-pdf-process (quote ("latexmk -xelatex -shell-escape -quiet -f %f"))
|
||||
org-latex-compiler "xelatex"
|
||||
org-latex-listings t)
|
||||
|
||||
(setq org-babel-shell-names (quote ("sh" "bash" "csh" "ash" "dash" "ksh" "mksh" "posh"))
|
||||
org-adapt-indentation t
|
||||
org-clock-persist t
|
||||
org-confirm-babel-evaluate nil
|
||||
org-html-doctype "html5"
|
||||
org-html-html5-fancy t
|
||||
org-html-htmlize-output-type nil
|
||||
org-latex-listings t
|
||||
org-log-done (quote time)
|
||||
org-startup-folded t
|
||||
org-startup-truncated nil
|
||||
|
@ -127,8 +131,6 @@
|
|||
org-todo-keywords (quote ((sequence "OPEN" "TODO" "DOING" "|" "DONE")))
|
||||
org-export-backends (quote (ascii beamer html icalendar latex md odt confluence))
|
||||
org-duration-format (quote h:mm)
|
||||
org-latex-pdf-process (quote ("latexmk -xelatex -shell-escape -quiet -f %f"))
|
||||
org-latex-compiler "xelatex"
|
||||
org-src-lang-modes (quote
|
||||
(("bash" . sh)
|
||||
("beamer" . latex)
|
||||
|
@ -143,16 +145,10 @@
|
|||
org-use-property-inheritance nil
|
||||
org-export-with-sub-superscripts nil
|
||||
org-capture-templates (quote
|
||||
(("t" "Task" entry (file+headline "tasks.org" "Tasks")
|
||||
"* OPEN %?\n\s %u\n\s %a")
|
||||
("j" "Journal" entry (file+headline "journal.org" "Journal")
|
||||
"* %<%Y-%m-%d %H:%M:%S %p %Z>\n\s %?")
|
||||
("a" "Appointment today"
|
||||
entry (file+headline "appointments.org" "Appointments")
|
||||
"* %?\n\s %T\n")
|
||||
("A" "Appointment"
|
||||
entry (file+headline "appointments.org" "Appointments")
|
||||
"* %?\n\s %u\n\s"))))
|
||||
(("t" "Task" entry (file+headline "tasks.org" "Tasks") "* OPEN %?\n\s %u\n\s %a")
|
||||
("j" "Journal" entry (file+headline "journal.org" "Journal") "* %<%Y-%m-%d %H:%M:%S %p %Z>\n\s %?")
|
||||
("a" "Appointment today" entry (file+headline "appointments.org" "Appointments") "* %?\n\s %T\n")
|
||||
("A" "Appointment" entry (file+headline "appointments.org" "Appointments") "* %?\n\s %u\n\s"))))
|
||||
(org-babel-do-load-languages
|
||||
'org-babel-load-languages (quote
|
||||
((js . t)
|
||||
|
@ -173,29 +169,38 @@
|
|||
(typescript . t)))))
|
||||
|
||||
(use-package helpful
|
||||
:bind (("C-h f" . #'helpful-callable)
|
||||
("C-h v" . #'helpful-variable)
|
||||
("C-h k" . #'helpful-key)
|
||||
("C-c C-d" . #'helpful-at-point)
|
||||
("C-h F" . #'helpful-function)
|
||||
("C-h C" . #'helpful-command)))
|
||||
:commands (helpful-callable helpful-variable helpful-command helpful-key)
|
||||
:custom
|
||||
(counsel-describe-function-function #'helpful-callable)
|
||||
(counsel-describe-variable-function #'helpful-variable)
|
||||
:bind
|
||||
([remap describe-function] . counsel-describe-function)
|
||||
([remap describe-command] . helpful-command)
|
||||
([remap describe-variable] . counsel-describe-variable)
|
||||
([remap describe-key] . helpful-key))
|
||||
|
||||
(use-package counsel
|
||||
:bind (("M-x" . counsel-M-x)
|
||||
("C-x b" . counsel-ibuffer)
|
||||
("C-x C-f" . counsel-find-file)
|
||||
:bind (("C-M-j" . 'counsel-switch-buffer)
|
||||
:map minibuffer-local-map
|
||||
("C-r" . 'counsel-minibuffer-history)))
|
||||
("C-r" . 'counsel-minibuffer-history))
|
||||
:custom
|
||||
(counsel-linux-app-format-function #'counsel-linux-app-format-function-name-only)
|
||||
:config
|
||||
(counsel-mode 1))
|
||||
|
||||
(use-package ox-reveal)
|
||||
|
||||
(use-package powershell)
|
||||
|
||||
(use-package all-the-icons)
|
||||
(use-package all-the-icons-dired)
|
||||
(use-package all-the-icons-ivy-rich)
|
||||
|
||||
(use-package geiser
|
||||
:config
|
||||
(setq geiser-active-implementations '(guile)))
|
||||
(setq geiser-active-implementations '(racket)))
|
||||
|
||||
(use-package geiser-racket)
|
||||
|
||||
(use-package racket-mode)
|
||||
|
||||
|
@ -203,3 +208,6 @@
|
|||
:init (doom-modeline-mode 1))
|
||||
|
||||
(use-package doom-themes)
|
||||
|
||||
(use-package rainbow-delimiters
|
||||
:hook (prog-mode . rainbow-delimiters-mode))
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
'(custom-enabled-themes '(doom-nord))
|
||||
'(custom-safe-themes
|
||||
'("fce3524887a0994f8b9b047aef9cc4cc017c5a93a5fb1f84d300391fba313743" "bffa9739ce0752a37d9b1eee78fc00ba159748f50dc328af4be661484848e476" "81c3de64d684e23455236abde277cda4b66509ef2c28f66e059aa925b8b12534" "171d1ae90e46978eb9c342be6658d937a83aaa45997b1d7af7657546cae5985b" "9e39a8334e0e476157bfdb8e42e1cea43fad02c9ec7c0dbd5498cf02b9adeaf1" "fe36e4da2ca97d9d706e569024caa996f8368044a8253dc645782e01cd68d884" "1fbd63256477789327fe429bd318fb90a8a42e5f2756dd1a94805fc810ae1b62" "7bc40a2e714b4872ad5cd07f992eb8e06ef5e01a8877488b9ffc3067463ca721" "37768a79b479684b0756dec7c0fc7652082910c37d8863c35b702db3f16000f8" "06bf0822aa77ea498bbd6038b59ad96fca43b272b49b18ab024218881ba134d1" "6e933f1668e124ec17fc7b6547f65ba760e06efb568a6c8091c600c67827e592" "7f6d4aebcc44c264a64e714c3d9d1e903284305fd7e319e7cb73345a9994f5ef" default))
|
||||
'(default-frame-alist '((font . "Fira Code-11") (width . 90) (height . 64)))
|
||||
'(default-frame-alist '((font . "Fira Code-12") (width . 90) (height . 64)))
|
||||
'(delete-selection-mode nil)
|
||||
'(diary-file "~/Documents/diary/diary")
|
||||
'(doom-modeline-height 33)
|
||||
|
@ -45,7 +45,7 @@
|
|||
'(org-plantuml-jar-path "~/.local/bin/plantuml.jar")
|
||||
'(package-enable-at-startup t)
|
||||
'(package-selected-packages
|
||||
'(mu4e doom-themes doom-modeline go-mode ob-rust rust-mode spacemacs-theme dracula-theme jinja2-mode ac-emmet parse-csv csv atom-one-dark-theme arjen-grey-theme arc-dark-theme geiser all-the-icons-ivy all-the-icons-dired powershell forge request all-the-icons-ibuffer all-the-icons-ivy-rich all-the-icons-ivy-rich-mode all-the-icons-ibuffer-mode ox-reveal csv-mode gnuplot eglot projectile elpy color-theme-sanityinc-tomorrow nov markdown-mode markdown-preview-mode olivetti web-mode js2-mode slime flymake-racket racket-mode yaml-mode lua-mode nordless-theme use-package colorless-themes nord-theme toc-org ace-window htmlize ivy magit))
|
||||
'(rainbow-delimiters raibow-delimiters mu4e doom-themes doom-modeline go-mode ob-rust rust-mode spacemacs-theme dracula-theme jinja2-mode ac-emmet parse-csv csv atom-one-dark-theme arjen-grey-theme arc-dark-theme geiser all-the-icons-ivy all-the-icons-dired powershell forge request all-the-icons-ibuffer all-the-icons-ivy-rich all-the-icons-ivy-rich-mode all-the-icons-ibuffer-mode ox-reveal csv-mode gnuplot eglot projectile elpy color-theme-sanityinc-tomorrow nov markdown-mode markdown-preview-mode olivetti web-mode js2-mode slime flymake-racket racket-mode yaml-mode lua-mode nordless-theme use-package colorless-themes nord-theme toc-org ace-window htmlize ivy magit))
|
||||
'(scroll-bar-mode nil)
|
||||
'(tab-bar-mode nil)
|
||||
'(tetris-x-colors
|
||||
|
|
|
@ -3,16 +3,28 @@
|
|||
;; 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.
|
||||
'(custom-enabled-themes (quote (nord)))
|
||||
'(custom-enabled-themes '(doom-nord))
|
||||
'(custom-safe-themes
|
||||
(quote
|
||||
("37768a79b479684b0756dec7c0fc7652082910c37d8863c35b702db3f16000f8" default)))
|
||||
'(org-agenda-files (quote ("~/Documents/journal")))
|
||||
'("fce3524887a0994f8b9b047aef9cc4cc017c5a93a5fb1f84d300391fba313743" "171d1ae90e46978eb9c342be6658d937a83aaa45997b1d7af7657546cae5985b" "37046960cf667c5ab3b76235d35a5db4763c531e706502a9067fa78db5a775c0" "9e39a8334e0e476157bfdb8e42e1cea43fad02c9ec7c0dbd5498cf02b9adeaf1" "37768a79b479684b0756dec7c0fc7652082910c37d8863c35b702db3f16000f8" default))
|
||||
'(default-frame-alist '((font . "Fira Code-12") (width . 94) (height . 70)))
|
||||
'(initial-frame-alist '((fullscreen . fullscreen)))
|
||||
'(nov-unzip-program "c:/msys64/usr/bin/unzip.exe")
|
||||
'(olivetti-body-width 82 nil nil "Customized with use-package olivetti")
|
||||
'(org-agenda-files '("D:/visua/HiDrive/Documents/journal"))
|
||||
'(org-default-notes-file "notes.org")
|
||||
'(org-directory "~/Documents/journal")
|
||||
'(org-directory "D:/visua/HiDrive/Documents/journal")
|
||||
'(package-selected-packages
|
||||
(quote
|
||||
(geiser all-the-icons powershell forge counsel helpful web-mode use-package toc-org slime projectile ox-reveal olivetti nov nordless-theme nord-theme memoize magit js2-mode ivy htmlize f elpy elisp-refs eglot dash-functional color-theme-sanityinc-tomorrow ace-window))))
|
||||
'(geiser-racket all-the-icons-ivy-rich-mode all-the-icons-ivy-rich all-the-icons-dired doom-themes atom-one-dark-theme geiser all-the-icons powershell counsel helpful web-mode use-package toc-org slime projectile ox-reveal olivetti nordless-theme nord-theme memoize magit js2-mode ivy htmlize f elpy elisp-refs eglot dash-functional color-theme-sanityinc-tomorrow ace-window))
|
||||
'(python-shell-interpreter "ipython")
|
||||
'(python-shell-interpreter-args "--simple-prompt -i")
|
||||
'(tetris-x-colors
|
||||
[[229 192 123]
|
||||
[97 175 239]
|
||||
[209 154 102]
|
||||
[224 108 117]
|
||||
[152 195 121]
|
||||
[198 120 221]
|
||||
[86 182 194]]))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
|
|
19
diff.conf
19
diff.conf
|
@ -1,19 +0,0 @@
|
|||
foreground #f8f8f2
|
||||
background #282a36
|
||||
title_fg #f8f8f2
|
||||
title_bg #282a36
|
||||
margin_bg #6272a4
|
||||
margin_fg #44475a
|
||||
removed_bg #ff5555
|
||||
highlight_removed_bg #ff5555
|
||||
removed_margin_bg #ff5555
|
||||
added_bg #50fa7b
|
||||
highlight_added_bg #50fa7b
|
||||
added_margin_bg #50fa7b
|
||||
filler_bg #44475a
|
||||
hunk_margin_bg #44475a
|
||||
hunk_bg #bd93f9
|
||||
search_bg #8be9fd
|
||||
search_fg #282a36
|
||||
select_bg #f1fa8c
|
||||
select_fg #282a36
|
62
dracula.conf
62
dracula.conf
|
@ -1,62 +0,0 @@
|
|||
# https://draculatheme.com/kitty
|
||||
#
|
||||
# Installation instructions:
|
||||
#
|
||||
# cp dracula.conf ~/.config/kitty/
|
||||
# echo "include dracula.conf" >> ~/.config/kitty/kitty.conf
|
||||
#
|
||||
# Then reload kitty for the config to take affect.
|
||||
# Alternatively copy paste below directly into kitty.conf
|
||||
|
||||
foreground #f8f8f2
|
||||
background #282a36
|
||||
selection_foreground #ffffff
|
||||
selection_background #44475a
|
||||
|
||||
url_color #8be9fd
|
||||
|
||||
# black
|
||||
color0 #21222c
|
||||
color8 #6272a4
|
||||
|
||||
# red
|
||||
color1 #ff5555
|
||||
color9 #ff6e6e
|
||||
|
||||
# green
|
||||
color2 #50fa7b
|
||||
color10 #69ff94
|
||||
|
||||
# yellow
|
||||
color3 #f1fa8c
|
||||
color11 #ffffa5
|
||||
|
||||
# blue
|
||||
color4 #bd93f9
|
||||
color12 #d6acff
|
||||
|
||||
# magenta
|
||||
color5 #ff79c6
|
||||
color13 #ff92df
|
||||
|
||||
# cyan
|
||||
color6 #8be9fd
|
||||
color14 #a4ffff
|
||||
|
||||
# white
|
||||
color7 #f8f8f2
|
||||
color15 #ffffff
|
||||
|
||||
# Cursor colors
|
||||
cursor #f8f8f2
|
||||
cursor_text_color background
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground #282a36
|
||||
active_tab_background #f8f8f2
|
||||
inactive_tab_foreground #282a36
|
||||
inactive_tab_background #6272a4
|
||||
|
||||
# Marks
|
||||
mark1_foreground #282a36
|
||||
mark1_background #ff5555
|
|
@ -1,5 +1,6 @@
|
|||
;; Auto-generated file; don't edit
|
||||
((:url "https://nssdc.gsfc.nasa.gov/planetary/factsheet/" :title "Planetary Fact Sheet" :time "Sun Apr 25 09:56:57 2021")
|
||||
((:url "https://blog.fefe.de/" :title "Fefes Blog" :time "Fri May 7 14:30:25 2021")
|
||||
(:url "https://nssdc.gsfc.nasa.gov/planetary/factsheet/" :title "Planetary Fact Sheet" :time "Sun Apr 25 09:56:57 2021")
|
||||
(:url "https://mitpress.mit.edu/sites/default/files/sicp/full-text/book/book-Z-H-4.html#%_toc_start" :title "Structure and Interpretation of Computer Programs" :time "Fri Nov 27 09:15:13 2020")
|
||||
(:url "https://www.bell-labs.com/usr/dmr/www/chist.html" :title "Chistory" :time "Sat Nov 21 10:34:20 2020")
|
||||
(:url "https://courses.cs.vt.edu/~cs1104/TowerOfBabel/LISP/Lisp.outline.html" :title "A Brief Introduction to Lisp" :time "Tue Nov 17 08:36:17 2020")
|
||||
|
|
1053
kitty.conf
1053
kitty.conf
File diff suppressed because it is too large
Load diff
43
nord.conf
43
nord.conf
|
@ -1,43 +0,0 @@
|
|||
# Nord Colorscheme for Kitty
|
||||
# Based on:
|
||||
# - https://gist.github.com/marcusramberg/64010234c95a93d953e8c79fdaf94192
|
||||
# - https://github.com/arcticicestudio/nord-hyper
|
||||
|
||||
foreground #D8DEE9
|
||||
background #2E3440
|
||||
selection_foreground #000000
|
||||
selection_background #FFFACD
|
||||
url_color #0087BD
|
||||
cursor #81A1C1
|
||||
|
||||
# black
|
||||
color0 #3B4252
|
||||
color8 #4C566A
|
||||
|
||||
# red
|
||||
color1 #BF616A
|
||||
color9 #BF616A
|
||||
|
||||
# green
|
||||
color2 #A3BE8C
|
||||
color10 #A3BE8C
|
||||
|
||||
# yellow
|
||||
color3 #EBCB8B
|
||||
color11 #EBCB8B
|
||||
|
||||
# blue
|
||||
color4 #81A1C1
|
||||
color12 #81A1C1
|
||||
|
||||
# magenta
|
||||
color5 #B48EAD
|
||||
color13 #B48EAD
|
||||
|
||||
# cyan
|
||||
color6 #88C0D0
|
||||
color14 #8FBCBB
|
||||
|
||||
# white
|
||||
color7 #E5E9F0
|
||||
color15 #B48EAD
|
90
tmux.conf
90
tmux.conf
|
@ -1,90 +0,0 @@
|
|||
# Our .tmux.conf file
|
||||
# ncurses redraw bug
|
||||
# set-option -g default-command "reattach-to-user-namespace -l zsh"
|
||||
|
||||
# Setting the prefix from C-b to C-a
|
||||
# Free the original Ctrl-b prefix keybinding
|
||||
unbind-key C-b
|
||||
set-option -g prefix M-z
|
||||
#setting the delay between prefix and command
|
||||
set -s escape-time 1
|
||||
# Ensure that we can send Ctrl-A to other apps
|
||||
# bind C-\ send-prefix
|
||||
|
||||
# Set the base index for windows to 1 instead of 0
|
||||
set -g base-index 1
|
||||
|
||||
# Set the base index for panes to 1 instead of 0
|
||||
setw -g pane-base-index 1
|
||||
|
||||
# Reload the file with Prefix r
|
||||
bind r source-file ~/.tmux.conf \; display "Reloaded!"
|
||||
|
||||
# splitting panes with | and -
|
||||
bind | split-window -h
|
||||
bind - split-window -v
|
||||
|
||||
# moving between panes with Prefix h,j,k,l
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
|
||||
# Quick window selection
|
||||
bind -r C-h select-window -t :-
|
||||
bind -r C-l select-window -t :+
|
||||
|
||||
# Pane resizing panes with Prefix H,J,K,L
|
||||
bind -r H resize-pane -L 5
|
||||
bind -r J resize-pane -D 5
|
||||
bind -r K resize-pane -U 5
|
||||
bind -r L resize-pane -R 5
|
||||
# mouse support - set to on if you want to use the mouse
|
||||
set -g mouse off
|
||||
|
||||
# Set the default terminal mode to 256color mode
|
||||
set -g default-terminal "screen-256color"
|
||||
|
||||
|
||||
# set the status line's colors
|
||||
set -g status-style fg=white,bg=black
|
||||
|
||||
# set the color of the window list
|
||||
setw -g window-status-style fg=white,bg=black
|
||||
|
||||
# set colors for the active window
|
||||
setw -g window-status-current-style fg=white,bold,bg=red
|
||||
|
||||
# colors for pane borders
|
||||
setw -g pane-border-style fg=white,bg=black
|
||||
setw -g pane-active-border-style fg=white,bg=red
|
||||
|
||||
# active pane normal, other shaded out
|
||||
# setw -g window-style fg=colour240,bg=colour235
|
||||
|
||||
# Command / message line
|
||||
set -g message-style fg=white,bold,bg=black
|
||||
|
||||
# Status line left side to show Session:window:pane
|
||||
set -g status-left-length 40
|
||||
set -g status-left "#[fg=white]#H "
|
||||
|
||||
# Status line right side - 31-Oct 13:37
|
||||
set -g status-right " #S #[fg=white]#I #[fg=white]#P #[fg=white]%d %b %R"
|
||||
|
||||
# Update the status line every sixty seconds
|
||||
set -g status-interval 60
|
||||
|
||||
# Center the window list in the status line
|
||||
set -g status-justify right
|
||||
|
||||
# enable activity alerts
|
||||
setw -g monitor-activity on
|
||||
set -g visual-activity on
|
||||
|
||||
# enable vi keys.
|
||||
setw -g mode-keys vi
|
||||
|
||||
set-option -g allow-rename off
|
||||
|
||||
#krun-shell "~/.tmux/themes/nord-tmux/nord.tmux"
|
Loading…
Add table
Reference in a new issue