Compare commits
95 Commits
1112cd1229
...
main
Author | SHA1 | Date | |
---|---|---|---|
386ff7259c
|
|||
28f1604b78
|
|||
04477c25bf
|
|||
46e9b50a13
|
|||
fff74676d9
|
|||
40b17c99e4
|
|||
cf083e866b
|
|||
5e7e5b6f33
|
|||
f3bf9e0612
|
|||
ded3151a67
|
|||
4674684254
|
|||
e030342ca5
|
|||
8f91b50c0c
|
|||
2c3b6dfc09
|
|||
1456b4a315
|
|||
9d863e0188
|
|||
fd7a4d56b3
|
|||
ebac48f0a3
|
|||
9627f15c4e
|
|||
f78b83980e
|
|||
6c44573c6c
|
|||
bdada371e1
|
|||
c0c7235158
|
|||
a1e800904e
|
|||
28c0c0198f
|
|||
ff79c4e21f
|
|||
5ba46eb0ae
|
|||
c1b4844569
|
|||
72f090cd76
|
|||
ccf78dc01e
|
|||
685d7cfde2
|
|||
c9e98e09b1
|
|||
68ff0a39b8
|
|||
7b6a49013c
|
|||
0868374471
|
|||
de3f93e1eb
|
|||
0f1a1146ff
|
|||
bf5ee3437d
|
|||
7e64148005
|
|||
219caa08af
|
|||
a7dd1a8521
|
|||
ee94361f1a
|
|||
f02723bdc6
|
|||
352632e5a5
|
|||
b260e411f0
|
|||
1dc978f1c1
|
|||
d8d0c9ba2e
|
|||
60d6583472
|
|||
6a8f73450c
|
|||
1a938fbeb3
|
|||
3c99b8cb34
|
|||
a665006836
|
|||
9737f6cdab
|
|||
4f578e0bb0
|
|||
9051f04328
|
|||
98073783bf
|
|||
08ee9f8b0e
|
|||
068db0c3c8
|
|||
7f4d93f4d2
|
|||
621832506c
|
|||
36376a2e34
|
|||
6269463d7b
|
|||
34dd9f4b01
|
|||
5c4a9851e6
|
|||
3495c81c49
|
|||
5dd77c49a0
|
|||
15be72893c
|
|||
43d220be01
|
|||
8210faf9ce
|
|||
e9a01401bb
|
|||
495985a4b0
|
|||
d387cccab0
|
|||
320f3d3576
|
|||
d0dbbf6d87
|
|||
7ab8920b68
|
|||
b354835fec
|
|||
6c2c704358
|
|||
30e6467e2d
|
|||
4ca20dcaaf
|
|||
ff3138230d
|
|||
e1f5b70b33
|
|||
b54b08442a
|
|||
075f2deaf0
|
|||
f0c5a69b94
|
|||
4dfa0bbe38
|
|||
5ade3e687f
|
|||
12ff81c513
|
|||
a11274b4ac
|
|||
5342f5a270
|
|||
3a6a65b0c0
|
|||
78f4dd516d
|
|||
16739c5aee
|
|||
3e8d71f6d3
|
|||
be211f7146
|
|||
cbdd0e0c20
|
87
.XCompose
Normal file
87
.XCompose
Normal file
@ -0,0 +1,87 @@
|
||||
# jaandrle customizations
|
||||
include "/usr/share/X11/locale/cs_CZ.UTF-8/Compose"
|
||||
|
||||
<Multi_key> <backslash> <space> : " " U202F # thin nonbreaking space
|
||||
<Multi_key> <bar> <space> : "" U200B
|
||||
<Multi_key> <8> <8> : "∞" U221E
|
||||
<Multi_key> <equal> <equal>: "≡"
|
||||
<Multi_key> <asciitilde> <asciitilde>: "≈"
|
||||
<Multi_key> <equal> <asciitilde>: "≃"
|
||||
<Multi_key> <asterisk> <asterisk>: "★"
|
||||
<Multi_key> <c> <h> <e> <c> <k> : "✓"
|
||||
<Multi_key> <c> <r> <o> <s> <s> : "✗"
|
||||
|
||||
<Multi_key> <a> <minus> <8> : "↑"
|
||||
<Multi_key> <a> <minus> <6> : "→"
|
||||
<Multi_key> <a> <minus> <2> : "↓"
|
||||
<Multi_key> <a> <minus> <4> : "←"
|
||||
<Multi_key> <a> <minus> <5> : "↔"
|
||||
<Multi_key> <a> <minus> <7> : "↖"
|
||||
<Multi_key> <a> <minus> <9> : "↗"
|
||||
<Multi_key> <a> <minus> <3> : "↘"
|
||||
<Multi_key> <a> <minus> <1> : "↙"
|
||||
<Multi_key> <a> <minus> <KP_8> : "↑"
|
||||
<Multi_key> <a> <minus> <KP_6> : "→"
|
||||
<Multi_key> <a> <minus> <KP_2> : "↓"
|
||||
<Multi_key> <a> <minus> <KP_4> : "←"
|
||||
<Multi_key> <a> <minus> <KP_5> : "↔"
|
||||
<Multi_key> <a> <minus> <KP_7> : "↖"
|
||||
<Multi_key> <a> <minus> <KP_9> : "↗"
|
||||
<Multi_key> <a> <minus> <KP_3> : "↘"
|
||||
<Multi_key> <a> <minus> <KP_1> : "↙"
|
||||
|
||||
<Multi_key> <a> <equal> <8> : "⇑"
|
||||
<Multi_key> <a> <equal> <6> : "⇒"
|
||||
<Multi_key> <a> <equal> <2> : "⇓"
|
||||
<Multi_key> <a> <equal> <4> : "⇐"
|
||||
<Multi_key> <a> <equal> <5> : "⇔"
|
||||
<Multi_key> <a> <equal> <KP_8> : "⇑"
|
||||
<Multi_key> <a> <equal> <KP_6> : "⇒"
|
||||
<Multi_key> <a> <equal> <KP_2> : "⇓"
|
||||
<Multi_key> <a> <equal> <KP_4> : "⇐"
|
||||
<Multi_key> <a> <equal> <KP_5> : "⇔"
|
||||
|
||||
# Greek ambiguities: epsilon/eta, theta/tau, pi/phi/psi, omega/omicron
|
||||
<Multi_key> <g> <a> : "α"
|
||||
<Multi_key> <g> <b> : "β"
|
||||
<Multi_key> <g> <g> : "γ"
|
||||
<Multi_key> <g> <d> : "δ"
|
||||
<Multi_key> <g> <3> : "ε"
|
||||
<Multi_key> <g> <z> : "ζ"
|
||||
<Multi_key> <g> <e> : "η"
|
||||
<Multi_key> <g> <h> : "θ"
|
||||
<Multi_key> <g> <i> : "ι"
|
||||
<Multi_key> <g> <k> : "κ"
|
||||
<Multi_key> <g> <l> : "λ"
|
||||
<Multi_key> <g> <m> : "μ"
|
||||
<Multi_key> <g> <n> : "ν"
|
||||
<Multi_key> <g> <x> : "ξ"
|
||||
# note: no omicron
|
||||
<Multi_key> <g> <p> : "π"
|
||||
<Multi_key> <g> <p> : "Ϟ"
|
||||
<Multi_key> <g> <r> : "ρ"
|
||||
<Multi_key> <g> <s> : "σ"
|
||||
<Multi_key> <g> <t> : "τ"
|
||||
<Multi_key> <g> <u> : "ψ"
|
||||
<Multi_key> <g> <f> : "φ"
|
||||
<Multi_key> <g> <c> : "χ"
|
||||
<Multi_key> <g> <o> : "ω"
|
||||
|
||||
<Multi_key> <g> <G> : "Γ"
|
||||
<Multi_key> <g> <D> : "Δ"
|
||||
<Multi_key> <g> <H> : "Θ"
|
||||
<Multi_key> <g> <L> : "Λ"
|
||||
<Multi_key> <g> <X> : "Ξ"
|
||||
<Multi_key> <g> <P> : "Π"
|
||||
<Multi_key> <g> <S> : "Σ"
|
||||
<Multi_key> <g> <F> : "Φ"
|
||||
<Multi_key> <g> <U> : "Ψ"
|
||||
<Multi_key> <g> <O> : "Ω"
|
||||
|
||||
# Math (https://gist.github.com/m93a/187539552593dd4ed8b122167c09384c)
|
||||
<Multi_key> <m> <E> : "∃"
|
||||
<Multi_key> <m> <exclam> <E> : "∄"
|
||||
<Multi_key> <m> <minus> : "−"
|
||||
<Multi_key> <m> <exclam> <minus> : "¬"
|
||||
<Multi_key> <m> <i> <n> : "∈"
|
||||
<Multi_key> <m> <exclam> <i> <n> : "∉"
|
@ -1 +0,0 @@
|
||||
/home/jaandrle/Vzdálené/GitHub/dotfiles/bash/.bash/.bash_aliases
|
199
.bash/.bash_aliases
Normal file
199
.bash/.bash_aliases
Normal file
@ -0,0 +1,199 @@
|
||||
# Make less more friendly for non-text input files, see lesspipe(1)
|
||||
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
||||
alias gitdotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"'
|
||||
# enable color support of ls and also add handy aliases
|
||||
alias ls='ls -pQFh --group-directories-first'
|
||||
if [ -x /usr/bin/dircolors ]; then
|
||||
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||||
alias ls='ls --color=auto -pQFh --group-directories-first'
|
||||
alias dir='dir --color=auto'
|
||||
alias vdir='vdir --color=auto'
|
||||
|
||||
alias grep='grep --color=auto'
|
||||
alias fgrep='fgrep --color=auto'
|
||||
alias egrep='egrep --color=auto'
|
||||
alias diff='diff --color=auto'
|
||||
fi
|
||||
|
||||
alias §rm='rm -vi'
|
||||
alias §cp='cp -vi'
|
||||
alias §mv='mv -vi'
|
||||
alias §df='df -Th'
|
||||
§du(){
|
||||
[[ "$1" == '--help' ]] && echo "§du; §du '../*'" && return 0
|
||||
du -h -x -s -- ${1:-*} | sort -r -h;
|
||||
}
|
||||
|
||||
alias §xclip-copy='xclip -selection clipboard'
|
||||
alias §xclip-paste='xclip -o -selection clipboard'
|
||||
|
||||
CROSS_SESSION="$BASH_DOTFILES/.bash_cross_session"
|
||||
[ -f "$CROSS_SESSION" ] && . "$CROSS_SESSION"
|
||||
crossSession() {
|
||||
if [[ '--help' == "${1:---help}" ]]; then
|
||||
echo 'crossSession [--help]'
|
||||
echo ' Print this help.'
|
||||
echo 'crossSession [--list]'
|
||||
echo ' Lists all cross session variables or print this help.'
|
||||
echo 'crossSession <name> [<value>]'
|
||||
echo ' Sets cross session variable <name> to <value> (or empty for unset).'
|
||||
return 0
|
||||
fi
|
||||
if [[ '--list' == "$1" ]]; then
|
||||
cat "$CROSS_SESSION"
|
||||
return 0
|
||||
fi
|
||||
local name="$1"
|
||||
local value="$2"
|
||||
|
||||
# Check if the variable already exists in the file
|
||||
if grep -q "^export $name=" "$CROSS_SESSION"; then
|
||||
if [ -z "$value" ]; then
|
||||
# If new value is empty, remove the variable from the file
|
||||
sed -i "/^export $name=/d" "$CROSS_SESSION"
|
||||
else
|
||||
# If it exists, replace the old value with the new value
|
||||
sed -i "s|^export $name=.*|export $name=\"$value\"|" "$CROSS_SESSION"
|
||||
fi
|
||||
else
|
||||
if [ -n "$value" ]; then
|
||||
# If it doesn't exist and new value is not empty, append the new variable to the file
|
||||
echo "export $name=\"$value\"" >> "$CROSS_SESSION"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
cd(){ builtin cd "$@" && crossSession 'OLDPWD' "$(pwd)"; }
|
||||
|
||||
history_clean(){ awk '!seen[$0]++ {print $0}' $HOME/.bash_history; }
|
||||
history_edit(){ vim $HOME/.bash_history; }
|
||||
history_cat(){ LC_ALL=C cat ~/.bash_history; }
|
||||
history_most_used(){ LC_ALL=C cat ~/.bash_history | cut -d ';' -f 2- | §awk 1 | sort | uniq -c | sort -r -n | head -n ${1-10}; }
|
||||
|
||||
§(){
|
||||
[[ -z "$1" ]] && clear && return 0
|
||||
echo "$ [--help]= clear or [print this text]"
|
||||
alias | grep "alias §" --color=never
|
||||
declare -F | grep 'declare -f §' --color=never
|
||||
ls ~/bin | grep -P "^§" | sed 's/^§/~\/bin\/ §/'
|
||||
}
|
||||
|
||||
alias §less='less -R -S'
|
||||
|
||||
m(){
|
||||
if [[ '-d' == "$1" ]]; then
|
||||
unset "m$2"
|
||||
crossSession "m$2"
|
||||
return 0
|
||||
fi
|
||||
if [[ -z "$1" ]]; then
|
||||
printenv | grep -e '^m'
|
||||
return 0
|
||||
fi
|
||||
if [[ "--help" == "$1" ]]; then
|
||||
echo 'm [--help]'
|
||||
echo ' Lists all marks or print this help.'
|
||||
echo 'm -d <name>'
|
||||
echo ' Deletes mark <name>. Unsets variable and cross session variable.'
|
||||
echo 'm <name> [path]'
|
||||
echo ' Sets mark <name> to current directory or [path].'
|
||||
echo ' The mark is just a bash variable, use `$m<name>`.'
|
||||
return 0
|
||||
fi
|
||||
local n="m$1"
|
||||
[[ -z "${!n}" ]] || return 1
|
||||
[[ -z "$2" ]] && local p="$(pwd)" || local p="$(readlink -f $2)"
|
||||
crossSession "$n" "$p"
|
||||
export $n="$p"
|
||||
}
|
||||
alias cd-vifm='cd `vifm --choose-dir -`'
|
||||
mkcd(){ mkdir -p -- "$1" && cd -P -- "$1"; }
|
||||
|
||||
alias gcalendar-dovolené='gcalendar --account "práce" --calendar "Dovolené"'
|
||||
alias gcalendar-události='gcalendar --account "default" --calendar "Události"'
|
||||
|
||||
alias §find.='find . -maxdepth 1'
|
||||
|
||||
alias pdftk='java -jar $HOME/bin/pdftk-all.jar'
|
||||
bw-session(){
|
||||
bw logout
|
||||
# login=`kwallet-query kdewallet -f accounts -r Bitwarden 2> /dev/null`
|
||||
login=$(§kwallet.mjs --wallet kdewallet readPassword accounts bw-json)
|
||||
export BW_CLIENTSECRET=`echo "$login" | jq -r .secret`
|
||||
export BW_CLIENTID=`echo "$login" | jq -r .id`
|
||||
bw login --apikey --raw
|
||||
export BW_SESSION=`bw unlock --raw $(echo "$login" | jq -r .pass)` && echo "Bitwarden session ON" || echo "Bitwarden session FAILED"
|
||||
unset BW_CLIENTSECRET
|
||||
unset BW_CLIENTID
|
||||
}
|
||||
|
||||
alias §psmem_all='ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem'
|
||||
alias §psmem='§psmem_all | head -n 10'
|
||||
alias §pscpu_all='ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%cpu'
|
||||
alias §pscpu='§pscpu_all | head -n 10'
|
||||
alias §psnet_all='lsof -P -i -n'
|
||||
alias §ck-grep='cat /usr/share/X11/locale/en_US.UTF-8/Compose ~/.XCompose | grep -i'
|
||||
|
||||
§ping-test(){ # Pings ip address of noip.com and www.google.com.
|
||||
ping -c 1 -q 8.23.224.107 | grep --color=never -A 1 -i '\---'
|
||||
ping -c 1 -q www.google.com | grep --color=never -A 1 -i '\---'
|
||||
}
|
||||
§whoami(){
|
||||
[[ "$1" == '--help' ]] && echo '§whoami; §whoami --ip' && return 0
|
||||
local ip=$(curl -s ifconfig.me)
|
||||
[[ "$1" == '--ip' ]] && echo "$ip" && return 0
|
||||
local L=" %s\n"
|
||||
printf "\n"
|
||||
printf "$L" "USER: $(echo $USER)"
|
||||
printf "$L" "IP ADDR: $ip"
|
||||
printf "$L" "HOSTNAME: $(hostname -f)"
|
||||
printf "$L" "KERNEL: $(uname -rms)"
|
||||
printf "\n"
|
||||
}
|
||||
§cmdfu(){ curl "https://www.commandlinefu.com/commands/matching/$@/$(echo -n $@ | openssl base64)/plaintext"; }
|
||||
aai(){
|
||||
[[ "$1" == '--help' ]] && ai ask --help && return 0;
|
||||
#echo "ai ask \"$*, thanks for your help\""; ai ask "\"$*, thanks for your help\"";
|
||||
aipick -m "hi, would like to ask for help: $*\n…please response only with plain text to be used in terminal command without any explanation, thanks for your help";
|
||||
}
|
||||
|
||||
alias npx-wca='npx -y web-component-analyzer'
|
||||
alias npx-qnm='npx -y qnm'
|
||||
alias npx-hint='npx -y hint'
|
||||
alias npx-markdown='npx -y markserv'
|
||||
|
||||
alias fzf=fzf-carroarmato0.fzf
|
||||
alias smerge='/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=sublime_merge --file-forwarding com.sublimemerge.App @@u %u @@'
|
||||
kommit(){ command kommit $* > /dev/null 2>&1 & disown; }
|
||||
|
||||
§url-curl(){ curl --silent -I "$1" | grep -i location; }
|
||||
|
||||
alias bathelp='batcat --plain --language=help'
|
||||
|
||||
rpg(){
|
||||
rpg-cli "$@"
|
||||
if ( [[ "$1" == "cd" ]] || [[ "$1" == "ls" ]] ); then
|
||||
[[ "$2" == "" ]] && $1 . && return 0
|
||||
[[ "$2" == ".." ]] && $1 .. && return 0
|
||||
[[ "-1" != "$(nodejsscript --print "s.ls().findIndex(e=> e==='$2'.replace(/\/$/, ''))")" ]] && $1 "$2" && return 0
|
||||
fi
|
||||
return 0
|
||||
|
||||
# [[ "$(rpg-cli pwd)" == "$(pwd)" ]] && return 0
|
||||
# cd "$(rpg-cli pwd)"
|
||||
}
|
||||
rpg-dungeon(){
|
||||
current=$(basename $PWD)
|
||||
number_re='^[0-9]+$'
|
||||
|
||||
if [[ $current =~ $number_re ]]; then
|
||||
next=$(($current + 1))
|
||||
command mkdir -p $next && cd $next && rpg ls
|
||||
elif [[ -d 1 ]] ; then
|
||||
cd 1 && rpg ls
|
||||
else
|
||||
command mkdir -p dungeon/1 && cd dungeon/1 && rpg ls
|
||||
fi
|
||||
}
|
||||
|
||||
# alias adb-device='adb devices | tail -n +2 | head -n 1 | §awk 1'
|
||||
# make-completion-wrapper, see https://gdhnotes.blogspot.com/2014/02/alias-bash-completion.html
|
@ -1 +0,0 @@
|
||||
/home/jaandrle/Vzdálené/GitHub/dotfiles/bash/.bash/.bash_completions
|
50
.bash/.bash_completions
Normal file
50
.bash/.bash_completions
Normal file
@ -0,0 +1,50 @@
|
||||
eval "$(gh completion -s bash)"
|
||||
# gh tips: https://gist.github.com/ChristopherA/3cca24936fb2c84786a29f67bacacd3e
|
||||
# used ectension: heaths/gh-label
|
||||
[[ $- != *i* ]] && return # dont include rest in Vim
|
||||
|
||||
SCRIPT_DIR=$( builtin cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
source "$SCRIPT_DIR/complete-alias/complete_alias"
|
||||
complete -F _complete_alias gitdotfiles
|
||||
|
||||
alias C--asana='eval "$($HOME/bin/asana.mjs completion_bash)"'
|
||||
alias C--brew='\. "$BASH_DOTFILES/brew.completion"'
|
||||
alias C--pnpm='\. "$BASH_DOTFILES/pnpm.completion"'
|
||||
alias C--uu='eval "$($HOME/bin/uu --completion-bash)"'
|
||||
alias C--jc='eval "$(jc -B)" … newer version needed'
|
||||
\. <(bs .completion bash)
|
||||
\. "$BASH_DOTFILES/cordova.completion"
|
||||
\. <(node --completion-bash)
|
||||
\. <(npm completion)
|
||||
\. <(nodejsscript --completion bash)
|
||||
|
||||
_npx() {
|
||||
local cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
|
||||
if [[ $COMP_CWORD != 1 ]]; then
|
||||
case "${COMP_WORDS[1]}" in
|
||||
gulp)
|
||||
local compls=$(npx gulp --tasks-simple)
|
||||
if [[ $compls == *"__autocomplete_bash"* ]]; then
|
||||
compls="$compls $(npx gulp -L __autocomplete_bash --_l=$COMP_CWORD --_c=$cur)"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
COMPREPLY=($(compgen -W "$compls" -- "$cur"))
|
||||
return 0;
|
||||
fi
|
||||
|
||||
local dir=$(pwd -P)
|
||||
while [[ -n "$dir" ]]; do
|
||||
if [[ ! -d $dir/node_modules/.bin ]]; then
|
||||
dir=${dir%/*}
|
||||
continue
|
||||
fi
|
||||
local execs=( `cd $dir/node_modules/.bin; find -L . -type f -executable` )
|
||||
execs=( ${execs[@]/#.\//} )
|
||||
COMPREPLY=( $(compgen -W "${execs[*]} serve" -- "$cur" ) )
|
||||
break
|
||||
done
|
||||
}
|
||||
|
||||
complete -F _npx npx
|
@ -1 +0,0 @@
|
||||
/home/jaandrle/Vzdálené/GitHub/dotfiles/bash/.bash/.bash_jaaENV
|
153
.bash/.bash_jaaENV
Normal file
153
.bash/.bash_jaaENV
Normal file
@ -0,0 +1,153 @@
|
||||
function jaaENV {
|
||||
if [ "$1" = "--help" ]; then
|
||||
echo "Utility to combine nvm/sdk/… in one script/config file '.jaaENV'"
|
||||
echo " ↘ instead of 'nvm use 16 & sdk use …'"
|
||||
echo ""
|
||||
echo "Usage:"
|
||||
echo " jaaENV"
|
||||
echo " jaaENV [--help|--ls]"
|
||||
echo " jaaENV --save …to_save (example: jaaENV --save nodejs php)"
|
||||
echo ""
|
||||
echo "Description:"
|
||||
echo " - Without arguments, loads info from '.jaaENV'"
|
||||
echo " - 'ls' shows supported options to auto-load"
|
||||
echo " - 'save' creates a config file '.jaaENV'"
|
||||
echo ""
|
||||
echo "Usage '.jaaENV' files: "
|
||||
echo " typical: '\nphp=5.6\nnodejs=16.13.0'"
|
||||
echo " link: '. ../.jaaENV' … use settings from parent folder"
|
||||
echo " Options:"
|
||||
echo " 'android_home': Exports 'ANDROID_HOME' (uses 'ANDROID_HOME_BAK') instead of 'ANDROID_SDK_ROOT'. Value can be anything (use '1')."
|
||||
echo " 'jdk': Exports 'JAVA_HOME' based on the wanted version (currently 11/1.8)"
|
||||
echo " 'nodejs'|'php': NodeJS/PHP versions"
|
||||
echo " 'gradle': Cordova uses folder-scoped → so unnecesarly"
|
||||
echo ""
|
||||
echo "Install: "
|
||||
echo " gradle ⇒ https://sdkman.io/"
|
||||
echo " node ⇒ https://github.com/nvm-sh/nvm"
|
||||
echo " php ⇒ \`update-alternatives\` + https://deb.sury.org/"
|
||||
echo " java ⇒ \`update-alternatives\`"
|
||||
echo ""
|
||||
echo "Tips:"
|
||||
echo " sudo update-alternatives --set php /usr/bin/php\$php"
|
||||
return 0
|
||||
fi
|
||||
|
||||
if [ "$1" == "--save" ]; then
|
||||
shift
|
||||
rm -vi .jaaENV
|
||||
while [ $# -gt 0 ]; do
|
||||
case "$1" in
|
||||
nodejs|node)
|
||||
echo "nodejs=$(node --version | cut -c2-)" >> .jaaENV
|
||||
;;
|
||||
gradle)
|
||||
echo "gradle=$(gradle --version | awk '/Gradle/ {print $2}')" >> .jaaENV
|
||||
;;
|
||||
php)
|
||||
echo "php=$(php --version | awk '/^PHP/ {print $2}')" >> .jaaENV
|
||||
;;
|
||||
java)
|
||||
local java_version=$(java -version 2>&1 | awk -F '"' '/version/ {print $2}')
|
||||
if [[ "$java_version" == 1.8* ]]; then
|
||||
java_version=8
|
||||
else
|
||||
java_version=$(echo "$java_version" | cut -d'.' -f1)
|
||||
fi
|
||||
echo "java=$java_version" >> .jaaENV
|
||||
;;
|
||||
*)
|
||||
echo "Unknown '$1' – skipped"
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
return 0
|
||||
fi
|
||||
|
||||
if [ "$1" == "--ls" ]; then
|
||||
echo ":: nvm ls --no-alias ::"
|
||||
nvm ls --no-alias
|
||||
echo ":: update-alternatives --list php ::"
|
||||
update-alternatives --list php
|
||||
echo ":: update-alternatives --list java ::"
|
||||
update-alternatives --list java
|
||||
echo ":: sdk ls gradle | grep -E '\*|>' :: "
|
||||
sdk ls gradle | grep -E '\*|>'
|
||||
return 0
|
||||
fi
|
||||
|
||||
if [ -f "compose.yaml" ]; then
|
||||
jdk=$(grep -Po 'VERSION_JAVA=\K.*' compose.yaml)
|
||||
nodejs=$(grep -Po 'VERSION_NODEJS=\K.*' compose.yaml)
|
||||
elif [ -f ".jaaENV" ]; then
|
||||
. ./.jaaENV
|
||||
else
|
||||
echo 'No env file `compose.yaml` or `.jaaENV`'
|
||||
return 1
|
||||
fi
|
||||
|
||||
local chP="\[\033[0;35m\]" #purple
|
||||
local chW="\[\033[00m\]" #white
|
||||
export PS1_jaaENV="${chP}¦${chW}"
|
||||
|
||||
if [ ! -z ${ANDROID_SDK_ROOT_BAK+x} ]; then
|
||||
export ANDROID_SDK_ROOT=$ANDROID_SDK_ROOT_BAK
|
||||
echo \$ANDROID_SDK_ROOT=$ANDROID_SDK_ROOT_BAK
|
||||
unset ANDROID_SDK_ROOT_BAK
|
||||
fi
|
||||
if [ ! -z ${unset_android_sdk+x} ]; then
|
||||
export ANDROID_SDK_ROOT_BAK=$ANDROID_SDK_ROOT
|
||||
unset ANDROID_SDK_ROOT
|
||||
fi
|
||||
if [ ! -z ${java+x} ]; then
|
||||
[[ "$java" == "8" ]] && java=1.8
|
||||
local java_local=$(java -version 2>&1 | awk -F '"' '/version/ {print $2}')
|
||||
if [[ "$java_local" != "$java"* ]]; then
|
||||
[[ "$java" == "1.8" ]] && java=8
|
||||
echo "Switching Java version: $java ← $java_local"
|
||||
local java_path="/usr/lib/jvm/java-$java-openjdk-amd64/"
|
||||
[[ "$java" == "8" ]] && java_path+="jre/"
|
||||
sudo update-alternatives --set java "${java_path}bin/java"
|
||||
local javac=$(update-alternatives --list javac | grep java-$java)
|
||||
[ -n "$javac" ] && sudo update-alternatives --set javac "$javac"
|
||||
sudo -k
|
||||
fi
|
||||
export JAVA_HOME=$(readlink -f $(which java) | cut -d '/' -f1-5)/
|
||||
echo "\$JAVA_HOME=$JAVA_HOME"
|
||||
fi
|
||||
if [ ! -z ${android_home+x} ]; then
|
||||
export ANDROID_HOME=$ANDROID_HOME_BAK
|
||||
echo "\$ANDROID_HOME=$ANDROID_HOME"
|
||||
else
|
||||
unset ANDROID_HOME
|
||||
echo "\$ANDROID_SDK_ROOT=$ANDROID_SDK_ROOT"
|
||||
fi
|
||||
if [ ! -z ${android_home_is_sdk+x} ]; then
|
||||
export ANDROID_HOME=$ANDROID_SDK_ROOT
|
||||
echo "\$ANDROID_HOME=$ANDROID_HOME"
|
||||
fi
|
||||
if [ ! -z ${JAVA_HOME_BAK+x} ]; then export JAVA_HOME=$JAVA_HOME_BAK; unset JAVA_HOME_BAK; fi
|
||||
if [ ! -z ${jdk+x} ]; then
|
||||
if (( $(echo "$jdk > 9" | bc -l) )); then
|
||||
export JAVA_HOME_BAK=$JAVA_HOME
|
||||
export JAVA_HOME="/snap/android-studio/current/android-studio/jre"
|
||||
fi
|
||||
echo "\$JAVA_HOME=$JAVA_HOME"
|
||||
fi
|
||||
if [ ! -z ${nodejs+x} ]; then nvm use $nodejs; fi
|
||||
if [ ! -z ${gradle+x} ]; then sdk use gradle $gradle | tr -d '\n'; echo ; fi
|
||||
if [ ! -z ${php+x} ]; then
|
||||
local php_local=$(php --version | awk '/^PHP/ {print $2}')
|
||||
if [[ "$php_local" == "$php"* ]]; then
|
||||
echo "PHP version: $php"
|
||||
else
|
||||
echo "Switching PHP version: $php ← $php_local"
|
||||
sudo update-alternatives --set php "/usr/bin/php$php"
|
||||
sudo -k
|
||||
fi
|
||||
fi
|
||||
|
||||
# Cleanup variables
|
||||
unset android_home unset_android_sdk nodejs gradle php java
|
||||
}
|
@ -1 +0,0 @@
|
||||
/home/jaandrle/Vzdálené/GitHub/dotfiles/bash/.bash/.bash_nvm
|
3
.bash/.bash_nvm
Normal file
3
.bash/.bash_nvm
Normal file
@ -0,0 +1,3 @@
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
@ -1 +0,0 @@
|
||||
/home/jaandrle/Vzdálené/GitHub/dotfiles/bash/.bash/.bash_promt
|
66
.bash/.bash_promt
Normal file
66
.bash/.bash_promt
Normal file
@ -0,0 +1,66 @@
|
||||
function setPromt {
|
||||
if [ "$color_prompt" != yes ]; then
|
||||
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
|
||||
return
|
||||
fi
|
||||
case "$TERM" in
|
||||
xterm*|rxvt*)
|
||||
;;
|
||||
*)
|
||||
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
|
||||
return
|
||||
;;
|
||||
esac
|
||||
PROMPT_COMMAND=updatePromt
|
||||
PS2="|"
|
||||
}
|
||||
function updatePromt {
|
||||
local prev_exit="$?"
|
||||
# history -n; history -w; history -c; history -r;
|
||||
# color_helper_>>color<< (Note: \[\]= escaping)
|
||||
local chR="\[\e[1;91m\]" #red
|
||||
local chW="\[\033[00m\]" #white
|
||||
local chG="\[\033[01;32m\]" #green
|
||||
local chB="\[\033[0;34m\]" #blue
|
||||
local chP="\[\033[0;35m\]" #purple
|
||||
local chY="\[\033[0;33m\]" #yellow
|
||||
PS1=""
|
||||
if [ $prev_exit == 0 ]; then
|
||||
PS1+="$chG✓ $chW"
|
||||
else
|
||||
PS1+="$chR✗ $chW"
|
||||
fi
|
||||
local jobs="$(jobs | wc -l)"
|
||||
if [ $jobs != 0 ]; then
|
||||
PS1+="${chY}≡$jobs$chW"
|
||||
fi
|
||||
PS1+="${debian_chroot:+($debian_chroot)}"
|
||||
PS1+=" At ${chG}\A${chW}"
|
||||
PS1+=" by ${chP}\u${chW}"
|
||||
if sudo -n true 2>/dev/null; then
|
||||
PS1+="${chR} (sudo)${chW}"
|
||||
fi
|
||||
PS1+=" in "
|
||||
if \git rev-parse --is-inside-work-tree >/dev/null 2>&1; then
|
||||
local branch="$(\git symbolic-ref -q HEAD)"
|
||||
PS1+="[${branch#refs/heads/}"
|
||||
local status="$(git for-each-ref --format='%(upstream:trackshort)' refs/heads | awk '!seen[$1]++ {printf $1}')"
|
||||
status+="$(git status --porcelain | awk '!seen[$1]++ {printf $1}')"
|
||||
if [ "$statua"s ]; then
|
||||
PS1+="|$chY$status$chW"
|
||||
fi
|
||||
PS1+="] "
|
||||
fi
|
||||
PS1+="${chB}\w${chW}"
|
||||
if [ ! -z ${PS1_jaaENV+x} ]; then
|
||||
PS1+="\n$PS1_jaaENV"
|
||||
else
|
||||
PS1+="\n:"
|
||||
fi
|
||||
history -a
|
||||
}
|
||||
setPromt
|
||||
unset color_prompt
|
||||
unset -f setPromt
|
||||
|
||||
# vim: set filetype=sh tabstop=4 shiftwidth=4 textwidth=250 expandtab :
|
@ -1 +0,0 @@
|
||||
/home/jaandrle/Vzdálené/GitHub/dotfiles/bash/.bash/.bash_sdkman
|
3
.bash/.bash_sdkman
Normal file
3
.bash/.bash_sdkman
Normal file
@ -0,0 +1,3 @@
|
||||
#THIS MUST BE AT THE END OF THE `$HOME/.bashrc` FOR SDKMAN TO WORK!!!
|
||||
export SDKMAN_DIR="$HOME/.sdkman"
|
||||
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
@ -1 +0,0 @@
|
||||
/home/jaandrle/Vzdálené/GitHub/dotfiles/bash/.bash/.profile_androidsdk
|
6
.bash/.profile_androidsdk
Normal file
6
.bash/.profile_androidsdk
Normal file
@ -0,0 +1,6 @@
|
||||
# IMPORT IN `$HOME/.profile`
|
||||
export ANDROID_HOME_BAK2="$HOME/.local/share/JetBrains/Toolbox/apps/android-studio/"
|
||||
export ANDROID_HOME_BAK="$HOME/Android/Sdk"
|
||||
export ANDROID_SDK_ROOT="$HOME/Android/Sdk"
|
||||
export PATH=$PATH:$ANDROID_SDK_ROOT/platform-tools/
|
||||
export PATH=$PATH:$ANDROID_SDK_ROOT/emulator/
|
11
.bash/README.md
Normal file
11
.bash/README.md
Normal file
@ -0,0 +1,11 @@
|
||||
# Bash
|
||||
|
||||
## Related files
|
||||
- [../.bashrc](../.bashrc)
|
||||
- [../.profile](../.profile)
|
||||
- [../.inputrc](../.inputrc) – Vim bindings for bash
|
||||
- [../.XCompose](../.XCompose) – [Compose key - Wikipedia (en)](https://en.wikipedia.org/wiki/Compose_key), [Klávesa Compose a typografický exkurz z rychlíku (cs)](https://jaandrle.github.io/blog/2020-10/klavesa-compose-a-typografie/)
|
||||
- [./\*](./)
|
||||
|
||||
## Bash completion
|
||||
Completions on demand, use `C--*`, see [./.bash_completions](./.bash_completions)
|
@ -1 +0,0 @@
|
||||
/home/jaandrle/Vzdálené/GitHub/dotfiles/bash/.bash/cordova.completion
|
134
.bash/cordova.completion
Normal file
134
.bash/cordova.completion
Normal file
@ -0,0 +1,134 @@
|
||||
#
|
||||
# Licensed to the Apache Software Foundation (ASF) under one
|
||||
# or more contributor license agreements. See the NOTICE file
|
||||
# distributed with this work for additional information
|
||||
# regarding copyright ownership. The ASF licenses this file
|
||||
# to you under the Apache License, Version 2.0 (the
|
||||
# "License"); you may not use this file except in compliance
|
||||
# with the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing,
|
||||
# software distributed under the License is distributed on an
|
||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
|
||||
platforms() {
|
||||
get_cordova && COMPREPLY=( $(compgen -W "$(${CORDOVA_BIN} platform ls | tr -d "[]',")" -- $1) )
|
||||
}
|
||||
|
||||
plugins() {
|
||||
get_cordova && COMPREPLY=( $(compgen -W "$(${CORDOVA_BIN} plugin ls | tr -d "[]',")" -- $1) )
|
||||
}
|
||||
|
||||
get_cordova() {
|
||||
local cordova
|
||||
if [[ -n "${CORDOVA_BIN}" ]]; then return 0; fi
|
||||
cordova=$(eval echo ${COMP_WORDS[0]})
|
||||
if [[ -x $cordova ]]; then CORDOVA_BIN=$cordova; return 0; fi
|
||||
cordova=$(which cordova)
|
||||
if [[ $? -eq 0 ]]; then CORDOVA_BIN=$cordova; return 0; fi
|
||||
return 1
|
||||
}
|
||||
|
||||
get_top_level_dir() {
|
||||
local path
|
||||
path=$(pwd)
|
||||
while [ $path != '/' ]; do
|
||||
if [ -d $path/.cordova ]; then
|
||||
echo $path
|
||||
return 0
|
||||
fi
|
||||
path=$(dirname $path)
|
||||
done
|
||||
return 1
|
||||
}
|
||||
|
||||
_cordova()
|
||||
{
|
||||
local cur prev opts
|
||||
COMPREPLY=()
|
||||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
|
||||
# Skip over any initial command line switches
|
||||
local i=1
|
||||
while [[ $i -lt ${#COMP_WORDS[*]} ]] && [[ "${COMP_WORDS[${i}]}" == -* ]]; do
|
||||
i=$((i+1));
|
||||
done
|
||||
|
||||
# For the first word, supply all of the valid top-level commands
|
||||
if [[ ${COMP_CWORD} -eq $i ]]; then
|
||||
opts="help create info platform plugin prepare compile build clean run emulate serve"
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
fi
|
||||
|
||||
case "${COMP_WORDS[$i]}" in
|
||||
create)
|
||||
if [[ ${COMP_CWORD} -eq $((i+1)) ]]; then
|
||||
COMPREPLY=( $(compgen -d -- ${cur}) )
|
||||
return 0
|
||||
fi
|
||||
;;
|
||||
platform)
|
||||
if [[ ${COMP_CWORD} -eq $((i+1)) ]]; then
|
||||
opts="add rm remove ls"
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
fi
|
||||
case "${COMP_WORDS[$((i+1))]}" in
|
||||
add)
|
||||
opts="ios android wp7 wp8 blackberry www"
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0;
|
||||
;;
|
||||
rm|remove)
|
||||
platforms ${cur}
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
plugin)
|
||||
if [[ ${COMP_CWORD} -eq $((i+1)) ]]; then
|
||||
opts="add rm remove ls"
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
fi
|
||||
case "${COMP_WORDS[$((i+1))]}" in
|
||||
add)
|
||||
COMPREPLY=( $(compgen nospace -d -- ${cur}) )
|
||||
return 0;
|
||||
;;
|
||||
rm|remove)
|
||||
plugins ${cur}
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
prepare|compile|emulate)
|
||||
platforms ${cur}
|
||||
return 0
|
||||
;;
|
||||
build)
|
||||
platforms ${cur}
|
||||
COMPREPLY+=( $(compgen -W '--release --debug --help --device --emulator --buildConfig' -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
run)
|
||||
platforms ${cur}
|
||||
COMPREPLY+=( $(compgen -W '--list --noprepare --nobuild --target --release --debug --help --device --emulator --buildConfig' -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
serve)
|
||||
if [[ ${COMP_CWORD} -eq $((i+1)) ]]; then
|
||||
platforms ${cur}
|
||||
return 0
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
||||
complete -F _cordova cordova
|
@ -1 +0,0 @@
|
||||
/home/jaandrle/Vzdálené/GitHub/dotfiles/bash/.bash/himalaya.completion
|
69
.bashrc
Normal file
69
.bashrc
Normal file
@ -0,0 +1,69 @@
|
||||
#### BASH Config file
|
||||
### Jan Andrle
|
||||
## Info:
|
||||
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) for examples
|
||||
export EDITOR='vim'
|
||||
BASH_DOTFILES=$HOME/.bash
|
||||
[ -f $BASH_DOTFILES/.bash_aliases ] && . $BASH_DOTFILES/.bash_aliases
|
||||
shopt -s expand_aliases
|
||||
|
||||
[ -f $BASH_DOTFILES/.bash_jaaENV ] && . $BASH_DOTFILES/.bash_jaaENV
|
||||
[ -f $BASH_DOTFILES/.bash_sdkman ] && . $BASH_DOTFILES/.bash_sdkman
|
||||
[ -f $BASH_DOTFILES/.bash_nvm ] && . $BASH_DOTFILES/.bash_nvm
|
||||
export NODE_COMPILE_CACHE=~/.cache/nodejs-compile-cache # https://nolanlawson.com/2024/10/20/why-im-skeptical-of-rewriting-javascript-tools-in-faster-languages/
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
[ -f $BASH_DOTFILES/.bash_completions ] && . $BASH_DOTFILES/.bash_completions # for Vim
|
||||
|
||||
[[ $- != *i* ]] && return # If not running interactively, don't do anything
|
||||
|
||||
## General
|
||||
set -o vi # VIM mode for bash
|
||||
bind -m vi-command 'Control-l: clear-screen'
|
||||
bind -m vi-insert 'Control-l: clear-screen'
|
||||
# export MANPAGER="/bin/sh -c \"sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | vim --appimage-extract-and-run --not-a-term -c 'set ft=man ts=8 nomod nolist noma' -\""
|
||||
export MANPAGER="vim --appimage-extract-and-run +MANPAGER --not-a-term -c 'set ts=8 nolist' -"
|
||||
shopt -s checkwinsize # dynamic columns update after every cmd
|
||||
|
||||
## History
|
||||
export HISTCONTROL=ignoreboth:erasedups # No duplicate entries and started with spaces. See bash(1) for more options
|
||||
shopt -s histappend cmdhist # saving multiline + append
|
||||
export HISTFILESIZE=10000 # increase history file size (default is 500)
|
||||
export HISTSIZE=${HISTFILESIZE} # increase history size (default is 500)
|
||||
export HSTR_CONFIG=hicolor,prompt-bottom
|
||||
export HSTR_PROMPT='?: '
|
||||
|
||||
## UI/UX
|
||||
# clors for .inputrc (set colored-stats On)
|
||||
export LS_COLORS=$LS_COLORS:'tw=01;04;34:ow=01;04;34:'
|
||||
# set variable identifying the chroot you work in (used in the prompt below)
|
||||
[ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ] && debian_chroot=$(cat /etc/debian_chroot)
|
||||
# Set a fancy prompt (non-color, unless we know we "want" color)
|
||||
[[ $TERM == "xterm-color" ]] || [[ $TERM == *-256color ]] && color_prompt=yes
|
||||
[ ! -x /usr/bin/tput ] || ! tput setaf 1 >&/dev/null && color_prompt=
|
||||
|
||||
[ -f $BASH_DOTFILES/.bash_promt ] && . $BASH_DOTFILES/.bash_promt
|
||||
|
||||
# Add an "alert" alias for long running commands. Use like so:
|
||||
# sleep 10; alert
|
||||
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
|
||||
|
||||
# enable programmable completion features (you don't need to enable
|
||||
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
||||
# sources /etc/bash.bashrc).
|
||||
if ! shopt -oq posix; then
|
||||
if [ -f /usr/share/bash-completion/bash_completion ]; then
|
||||
. /usr/share/bash-completion/bash_completion
|
||||
elif [ -f /etc/bash_completion ]; then
|
||||
. /etc/bash_completion
|
||||
fi
|
||||
fi
|
||||
export GPG_TTY=$(tty)
|
||||
|
||||
shopt -s cdspell # autocorrects cd misspellings
|
||||
|
||||
# HSTR configuration - add this to ~/.bashrc
|
||||
# if this is interactive shell, then bind hstr to Ctrl-space
|
||||
# if [[ $- =~ .*i.* ]]; then bind '"\C-@": "\e^ihstr -- \C-j"'; fi
|
||||
if [[ $- =~ .*i.* ]]; then bind '"\C-@": "\e^I history | grep '\''\e\e^A'\''\e\ei"'; fi
|
50
.config/TabNine/tabnine_config.json
Normal file
50
.config/TabNine/tabnine_config.json
Normal file
@ -0,0 +1,50 @@
|
||||
{
|
||||
"version": "4.1.33",
|
||||
"hide_promotional_message": false,
|
||||
"beta_enabled": "No",
|
||||
"ignore_all_lsp": false,
|
||||
"creation_time": "2022-04-13T07:50:41.488698952Z",
|
||||
"guuid": null,
|
||||
"semantic_status": {},
|
||||
"enable_telemetry": true,
|
||||
"user_understands_that_enabling_tabnine_cloud_sends_code_to_tabnine_servers": true,
|
||||
"deep_completions_work_mode": "Hybrid",
|
||||
"hosted_deep_completions_enabled": "Disabled",
|
||||
"tabnine_cloud_host": null,
|
||||
"tabnine_cloud_certificate_domain": null,
|
||||
"tabnine_cloud_port": null,
|
||||
"cloud_whitelist": [],
|
||||
"num_of_suggestions": 5,
|
||||
"line_suggestions": null,
|
||||
"rlhf": null,
|
||||
"omit_prefix_suggestions": null,
|
||||
"api_key": null,
|
||||
"api_base_url": null,
|
||||
"binary_update_interval_seconds": null,
|
||||
"local_enabled": "Unset",
|
||||
"disable_local_when_using_battery": false,
|
||||
"hide_deep_information_message": false,
|
||||
"enable_power_saving_mode": false,
|
||||
"rate_limit_interval_seconds": null,
|
||||
"rate_limit_amount": null,
|
||||
"generation": 47,
|
||||
"local_model_size": null,
|
||||
"model_hash_override": null,
|
||||
"local_indexing": null,
|
||||
"heartbeat_interval_seconds": null,
|
||||
"last_service_level": "FreeCloudRegistered",
|
||||
"override_beams": null,
|
||||
"override_context_length": null,
|
||||
"onboarding": null,
|
||||
"has_git_repos": null,
|
||||
"gusr": null,
|
||||
"exclude_file_masks": null,
|
||||
"inline_suggestions_mode": true,
|
||||
"use_specialized_model_if_available": null,
|
||||
"snippets_enabled_v2": true,
|
||||
"inline_suggestions_mode_clients": null,
|
||||
"tabnine_hub_port": null,
|
||||
"manually_selected_model": null,
|
||||
"hybrid_rendering_mode": null,
|
||||
"force_local_hub": false
|
||||
}
|
37
.config/bubblemail/bubblemail.cfg
Normal file
37
.config/bubblemail/bubblemail.cfg
Normal file
@ -0,0 +1,37 @@
|
||||
[core]
|
||||
version = 1.8
|
||||
debug = 0
|
||||
poll_interval = 1
|
||||
show_auth_warn = 1
|
||||
window_size = [957, 993]
|
||||
enabled_plugins = ["libnotifyplugin"]
|
||||
plugins_order = ["libnotifyplugin", "spamfilterplugin", "userscriptplugin", "soundplugin"]
|
||||
|
||||
[libnotifyplugin]
|
||||
show_account_errors = 1
|
||||
show_account_name = 1
|
||||
show_avatar = 1
|
||||
newest_first = 1
|
||||
group_mails = 1
|
||||
max_visible_mails = 10
|
||||
show_unread_count = 1
|
||||
|
||||
[Account 16a4e497]
|
||||
backend = imap
|
||||
name = CentrumCZ
|
||||
type = internal
|
||||
server = imap.centrum.cz
|
||||
user = andrle.jan
|
||||
proxy = 0
|
||||
unsecure = 0
|
||||
enabled = 1
|
||||
webmail =
|
||||
port =
|
||||
pxytype =
|
||||
pxyurl =
|
||||
pxyport =
|
||||
pxyusr =
|
||||
pxypass =
|
||||
uuid = 16a4e497
|
||||
folders = ["INBOX", "Hromadn\u00e1", "_Prace", "_Sluzby"]
|
||||
|
38
.config/coc/ultisnips/all.snippets
Normal file
38
.config/coc/ultisnips/all.snippets
Normal file
@ -0,0 +1,38 @@
|
||||
# A valid snippet should starts with:
|
||||
#
|
||||
# snippet trigger_word [ "description" [ options ] ]
|
||||
#
|
||||
# and end with:
|
||||
#
|
||||
# endsnippet
|
||||
#
|
||||
# Snippet options:
|
||||
#
|
||||
# b - Beginning of line.
|
||||
# i - In-word expansion.
|
||||
# w - Word boundary.
|
||||
# r - Regular expression
|
||||
# e - Custom context snippet
|
||||
# A - Snippet will be triggered automatically, when condition matches.
|
||||
#
|
||||
# Basic example:
|
||||
#
|
||||
# snippet emitter "emitter properties" b
|
||||
# private readonly ${1} = new Emitter<$2>()
|
||||
# public readonly ${1/^_(.*)/$1/}: Event<$2> = this.$1.event
|
||||
# endsnippet
|
||||
#
|
||||
# Online reference: https://github.com/SirVer/ultisnips/blob/master/doc/UltiSnips.txt
|
||||
snippet cmt "/* | */"
|
||||
${1}/* ${0} */
|
||||
endsnippet
|
||||
|
||||
snippet f "inline function"
|
||||
${1}function${2}(${3}){${0}}
|
||||
endsnippet
|
||||
|
||||
snippet fun "function"
|
||||
${1}function ${2:name}(${3:params}){
|
||||
${0:/* code */}
|
||||
}
|
||||
endsnippet
|
20
.config/coc/ultisnips/gitcommit.snippets
Normal file
20
.config/coc/ultisnips/gitcommit.snippets
Normal file
@ -0,0 +1,20 @@
|
||||
# an idea from https://github.com/robinpokorny/git3moji
|
||||
# [](https://robinpokorny.github.io/git3moji/)
|
||||
snippet zap--⚡️–features-primary-concerns-3 ""
|
||||
:zap:
|
||||
endsnippet
|
||||
snippet bug--🐛-fixes-3 ""
|
||||
:bug:
|
||||
endsnippet
|
||||
snippet zapcop--⚡️👮-refactoring-3 ""
|
||||
:zap::cop:
|
||||
endsnippet
|
||||
snippet tv--📺–ci-tooling-configuration-3 ""
|
||||
:tv:
|
||||
endsnippet
|
||||
snippet cop--👮–tests-linting-comments-3 ""
|
||||
:cop:
|
||||
endsnippet
|
||||
snippet abc--🔤-documentation-3 ""
|
||||
:abc:
|
||||
endsnippet
|
204
.config/coc/ultisnips/gitcommit.snippets-bak
Normal file
204
.config/coc/ultisnips/gitcommit.snippets-bak
Normal file
@ -0,0 +1,204 @@
|
||||
snippet alembic--experimenting-new-things "" b
|
||||
:alembic:
|
||||
endsnippet
|
||||
snippet alien--updating-code-due-to-external-api-changes "" b
|
||||
:alien:
|
||||
endsnippet
|
||||
snippet ambulance--critical-hotfix "" b
|
||||
:ambulance:
|
||||
endsnippet
|
||||
snippet apple--fixing-something-on-macos "" b
|
||||
:apple:
|
||||
endsnippet
|
||||
snippet arrow_down--downgrading-dependencies "" b
|
||||
:arrow_down:
|
||||
endsnippet
|
||||
snippet arrow_up--upgrading-dependencies "" b
|
||||
:arrow_up:
|
||||
endsnippet
|
||||
snippet art--improving-structure--format-of-the-code "" b
|
||||
:art:
|
||||
endsnippet
|
||||
snippet beers--writing-code-drunkenly "" b
|
||||
:beers:
|
||||
endsnippet
|
||||
snippet bento--adding-or-updating-assets "" b
|
||||
:bento:
|
||||
endsnippet
|
||||
snippet bookmark--releasing--version-tags "" b
|
||||
:bookmark:
|
||||
endsnippet
|
||||
snippet boom--introducing-breaking-changes "" b
|
||||
:boom:
|
||||
endsnippet
|
||||
snippet bug--fixing-a-bug "" b
|
||||
:bug:
|
||||
endsnippet
|
||||
snippet building_construction--making-architectural-changes "" b
|
||||
:building_construction:
|
||||
endsnippet
|
||||
snippet bulb--documenting-source-code "" b
|
||||
:bulb:
|
||||
endsnippet
|
||||
snippet busts_in_silhouette--add-contributor(s) "" b
|
||||
:busts_in_silhouette:
|
||||
endsnippet
|
||||
snippet camera_flash--adding-or-updating-snapshots "" b
|
||||
:camera_flash:
|
||||
endsnippet
|
||||
snippet card_file_box--performing-database-related-changes "" b
|
||||
:card_file_box:
|
||||
endsnippet
|
||||
snippet chart_with_upwards_trend--adding-analytics-or-tracking-code "" b
|
||||
:chart_with_upwards_trend:
|
||||
endsnippet
|
||||
snippet checkered_flag--fixing-something-on-windows "" b
|
||||
:checkered_flag:
|
||||
endsnippet
|
||||
snippet children_crossing--improving-user-experience--usability "" b
|
||||
:children_crossing:
|
||||
endsnippet
|
||||
snippet clown_face--mocking-things "" b
|
||||
:clown_face:
|
||||
endsnippet
|
||||
snippet construction--work-in-progress "" b
|
||||
:construction:
|
||||
endsnippet
|
||||
snippet construction_worker--adding-ci-build-system "" b
|
||||
:construction_worker:
|
||||
endsnippet
|
||||
snippet dizzy--adding-or-updating-animations-and-transitions "" b
|
||||
:dizzy:
|
||||
endsnippet
|
||||
snippet egg--adding-an-easter-egg "" b
|
||||
:egg:
|
||||
endsnippet
|
||||
snippet fire--removing-code-or-files "" b
|
||||
:fire:
|
||||
endsnippet
|
||||
snippet globe_with_meridians--internationalization-and-localization "" b
|
||||
:globe_with_meridians:
|
||||
endsnippet
|
||||
snippet goal_net--catching-errors"-b
|
||||
:goal_net:
|
||||
endsnippet
|
||||
snippet green_apple--fixing-something-on-ios "" b
|
||||
:green_apple:
|
||||
endsnippet
|
||||
snippet green_heart--fixing-ci-build "" b
|
||||
:green_heart:
|
||||
endsnippet
|
||||
snippet heavy_minus_sign--removing-a-dependency "" b
|
||||
:heavy_minus_sign:
|
||||
endsnippet
|
||||
snippet heavy_plus_sign--adding-a-dependency "" b
|
||||
:heavy_plus_sign:
|
||||
endsnippet
|
||||
snippet iphone--working-on-responsive-design "" b
|
||||
:iphone:
|
||||
endsnippet
|
||||
snippet label--adding-or-updating-types--flow--typescript "" b
|
||||
:label:
|
||||
endsnippet
|
||||
snippet lipstick--updating-the-ui-and-style-files "" b
|
||||
:lipstick:
|
||||
endsnippet
|
||||
snippet lock--fixing-security-issues "" b
|
||||
:lock:
|
||||
endsnippet
|
||||
snippet loud_sound--adding-logs "" b
|
||||
:loud_sound:
|
||||
endsnippet
|
||||
snippet mag--improving-seo "" b
|
||||
:mag:
|
||||
endsnippet
|
||||
snippet memo--add-or-update-documentation "" b
|
||||
:memo:
|
||||
endsnippet
|
||||
snippet mute--removing-logs "" b
|
||||
:mute:
|
||||
endsnippet
|
||||
snippet ok_hand--updating-code-due-to-code-review-changes "" b
|
||||
:ok_hand:
|
||||
endsnippet
|
||||
snippet package--updating-compiled-files-or-packages "" b
|
||||
:package:
|
||||
endsnippet
|
||||
snippet page_facing_up--adding-or-updating-license "" b
|
||||
:page_facing_up:
|
||||
endsnippet
|
||||
snippet pencil--writing-docs "" b
|
||||
:pencil:
|
||||
endsnippet
|
||||
snippet pencil2--fixing-typos "" b
|
||||
:pencil2:
|
||||
endsnippet
|
||||
snippet penguin--fixing-something-on-linux "" b
|
||||
:penguin:
|
||||
endsnippet
|
||||
snippet poop--writing-bad-code-that-needs-to-be-improved "" b
|
||||
:poop:
|
||||
endsnippet
|
||||
snippet pushpin--pinning-dependencies-to-specific-versions "" b
|
||||
:pushpin:
|
||||
endsnippet
|
||||
snippet recycle--refactoring-code "" b
|
||||
:recycle:
|
||||
endsnippet
|
||||
snippet rewind--reverting-changes "" b
|
||||
:rewind:
|
||||
endsnippet
|
||||
snippet robot--fixing-something-on-android "" b
|
||||
:robot:
|
||||
endsnippet
|
||||
snippet rocket--deploying-stuff "" b
|
||||
:rocket:
|
||||
endsnippet
|
||||
snippet rotating_light--removing-linter-warnings "" b
|
||||
:rotating_light:
|
||||
endsnippet
|
||||
snippet see_no_evil--adding-or-updating-a- "" b
|
||||
:see_no_evil:
|
||||
endsnippet
|
||||
snippet seedling--adding-or-updating-seed-files"-b
|
||||
:seedling:
|
||||
endsnippet
|
||||
snippet sparkles--introducing-new-features "" b
|
||||
:sparkles:
|
||||
endsnippet
|
||||
snippet speech_balloon--updating-text-and-literals "" b
|
||||
:speech_balloon:
|
||||
endsnippet
|
||||
snippet tada--initial-commit "" b
|
||||
:tada:
|
||||
endsnippet
|
||||
snippet triangular_flag_on_post--adding--updating--or-removing-feature-flags "" b
|
||||
:triangular_flag_on_post:
|
||||
endsnippet
|
||||
snippet truck--moving-or-renaming-files "" b
|
||||
:truck:
|
||||
endsnippet
|
||||
snippet twisted_rightwards_arrows--merging-branches "" b
|
||||
:twisted_rightwards_arrows:
|
||||
endsnippet
|
||||
snippet wastebasket--deprecating-code-that-needs-to-be-cleaned-up "" b
|
||||
:wastebasket:
|
||||
endsnippet
|
||||
snippet whale--work-about-docker "" b
|
||||
:whale:
|
||||
endsnippet
|
||||
snippet wheel_of_dharma--work-about-kubernetes "" b
|
||||
:wheel_of_dharma:
|
||||
endsnippet
|
||||
snippet wheelchair--improving-accessibility "" b
|
||||
:wheelchair:
|
||||
endsnippet
|
||||
snippet white_check_mark--updating-tests "" b
|
||||
:white_check_mark:
|
||||
endsnippet
|
||||
snippet wrench--changing-configuration-files "" b
|
||||
:wrench:
|
||||
endsnippet
|
||||
snippet zap--improving-performance "" b
|
||||
:zap:
|
||||
endsnippet
|
38
.config/coc/ultisnips/html.snippets
Normal file
38
.config/coc/ultisnips/html.snippets
Normal file
@ -0,0 +1,38 @@
|
||||
snippet sceleton "HTML5" b
|
||||
<!DOCTYPE html>
|
||||
<!-- ${0}DEL IE https://www.paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
|
||||
<html class="no-js" lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<!-- DEL IE https://stackoverflow.com/questions/6771258/what-does-meta-http-equiv-x-ua-compatible-content-ie-edge-do -->
|
||||
<!-- DEL https://www.vzhurudolu.cz/prirucka/viewport-meta -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<!-- DEL CSP https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP | https://github.com/Prinzhorn/minimal-csp -->
|
||||
<!-- DEL https://github.com/jensimmons/cssremedy -->
|
||||
|
||||
<!-- DEL meta značky obecně https://www.vzhurudolu.cz/prirucka/meta-open-graph -->
|
||||
<title></title>
|
||||
<meta name="description" content="">
|
||||
<!-- DEL IE https://www.sitepoint.com/html5-older-browsers-and-the-shiv/ -->
|
||||
<!-- DEL https://www.vzhurudolu.cz/prirucka/checklist -->
|
||||
</head>
|
||||
<body>
|
||||
<!-- DEL -->
|
||||
</body>
|
||||
</html>
|
||||
endsnippet
|
||||
|
||||
snippet cmt "comment"
|
||||
<!-- ${0} -->
|
||||
endsnippet
|
||||
snippet cmt.js "comment"
|
||||
/* ${0} */
|
||||
endsnippet
|
||||
|
||||
snippet viewport_cordova "viewport used in cordova apps"
|
||||
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"/>
|
||||
endsnippet
|
||||
snippet csp_cordova "CSP used in cordova"
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src * gap://ready file: gulp_place('app.url_scheme', 'variable'):; style-src 'self' 'unsafe-inline'; img-src * data: *; script-src 'self' 'unsafe-inline' 'unsafe-eval'"/>
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; img-src 'self' data: android-webview-video-poster:; script-src 'self' 'unsafe-inline' 'unsafe-eval'">
|
||||
endsnippet
|
87
.config/coc/ultisnips/javascript.snippets
Normal file
87
.config/coc/ultisnips/javascript.snippets
Normal file
@ -0,0 +1,87 @@
|
||||
snippet sceleton_node "nodejs" b
|
||||
#!/usr/bin/env node
|
||||
/* jshint esversion: 8,-W097, -W040, node: true, expr: true, undef: true */
|
||||
${0}
|
||||
endsnippet
|
||||
snippet sceleton_cli "nodejsscript" b
|
||||
#!/usr/bin/env nodejsscript
|
||||
/* jshint esversion: 11,-W097, -W040, module: true, node: true, expr: true, undef: true *//* global echo, $, pipe, s, fetch, cyclicLoop */
|
||||
${0}
|
||||
endsnippet
|
||||
snippet sceleton_zx "zx" b
|
||||
#!/usr/bin/env zx
|
||||
/* jshint esversion: 8,-W097, -W040, node: true, expr: true, undef: true */
|
||||
${0}
|
||||
endsnippet
|
||||
snippet jshint "JSHint header" b
|
||||
/* jshint esversion: 6,-W097, -W040, browser: true, expr: true, undef: true */
|
||||
/* global ${0} */
|
||||
endsnippet
|
||||
snippet global "JSHint global"
|
||||
/* global ${0} */
|
||||
endsnippet
|
||||
snippet global_ns "JSHint global"
|
||||
/* ${1} *//* global ${0} */
|
||||
endsnippet
|
||||
snippet devel "JSHint devel"
|
||||
${1}/* jshint devel: true *///gulp.keep.line${0}
|
||||
endsnippet
|
||||
|
||||
snippet log "console.log"
|
||||
${1}console.log('${0}');
|
||||
endsnippet
|
||||
snippet stor "localStorage"
|
||||
${1}localStorage.${2:g}etItem("${0}");
|
||||
endsnippet
|
||||
|
||||
snippet import "import with backward order"
|
||||
import ${2:values} from "${1:specifier}";$0
|
||||
endsnippet
|
||||
snippet promise "return? new Promise"
|
||||
${1:return }new Promise(function(resolve, reject){
|
||||
${0:/* async code */}
|
||||
});
|
||||
endsnippet
|
||||
snippet for "classical loop"
|
||||
for(${1:let} ${2:i}= 0, ${2}_length= ${3:ITERABLE}.length; ${2}<${2}_length; ${2}++){
|
||||
${0:/* statement */}
|
||||
}
|
||||
endsnippet
|
||||
snippet foreach "PHP-like name" b
|
||||
for(${2:const} ${3:element} of ${1:iterable}){
|
||||
${0:/* statement */}
|
||||
}
|
||||
endsnippet
|
||||
snippet switch "classical switch"
|
||||
switch (${1}){
|
||||
case ${2}:
|
||||
${0}
|
||||
break;
|
||||
default:
|
||||
}
|
||||
endsnippet
|
||||
snippet desctr "object destructure"
|
||||
${1:const} { $0 }= ${2:def};
|
||||
endsnippet
|
||||
snippet ready "document ready"
|
||||
${1}document.addEventListener('DOMContentLoaded', ${0}, false)
|
||||
endsnippet
|
||||
snippet readyEvent "vanilla JS content ready event name"
|
||||
${1}DOMContentLoaded${0}
|
||||
endsnippet
|
||||
|
||||
snippet selid
|
||||
${1}document.getElementById('${0}')
|
||||
endsnippet
|
||||
snippet seltag
|
||||
${1}getElementsByTagName('${0}')
|
||||
endsnippet
|
||||
snippet selclass
|
||||
${1}getElementsByClassName('${0}')
|
||||
endsnippet
|
||||
snippet sel
|
||||
${1}querySelector('${0}')
|
||||
endsnippet
|
||||
snippet selall
|
||||
${1}querySelectorAll('${0}')
|
||||
endsnippet
|
1
.config/coc/ultisnips/javascriptreact.snippets
Normal file
1
.config/coc/ultisnips/javascriptreact.snippets
Normal file
@ -0,0 +1 @@
|
||||
extends javascript
|
14
.config/coc/ultisnips/json.snippets
Normal file
14
.config/coc/ultisnips/json.snippets
Normal file
@ -0,0 +1,14 @@
|
||||
snippet jshint "JSHint config for package.json" b
|
||||
"jshintConfig": {
|
||||
"esversion": 6,
|
||||
"browser": "true",
|
||||
"undef": "true",
|
||||
"latedef": "true",
|
||||
"maxparams": 4,
|
||||
"maxdepth": 3,
|
||||
"maxcomplexity": 17,
|
||||
"globals": {
|
||||
"gulp_place": false
|
||||
}
|
||||
}
|
||||
endsnippet
|
37
.config/coc/ultisnips/markdown.snippets
Normal file
37
.config/coc/ultisnips/markdown.snippets
Normal file
@ -0,0 +1,37 @@
|
||||
extends html
|
||||
snippet sceleton "HTML5" b
|
||||
<!DOCTYPE html>
|
||||
<!-- ${0}DEL IE https://www.paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
|
||||
<html class="no-js" lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<!-- DEL IE https://stackoverflow.com/questions/6771258/what-does-meta-http-equiv-x-ua-compatible-content-ie-edge-do -->
|
||||
<!-- DEL https://www.vzhurudolu.cz/prirucka/viewport-meta -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<!-- DEL CSP https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP | https://github.com/Prinzhorn/minimal-csp -->
|
||||
<!-- DEL https://github.com/jensimmons/cssremedy -->
|
||||
|
||||
<!-- DEL meta značky obecně https://www.vzhurudolu.cz/prirucka/meta-open-graph -->
|
||||
<title></title>
|
||||
<meta name="description" content="">
|
||||
<!-- DEL IE https://www.sitepoint.com/html5-older-browsers-and-the-shiv/ -->
|
||||
<!-- DEL https://www.vzhurudolu.cz/prirucka/checklist -->
|
||||
</head>
|
||||
<body>
|
||||
<!-- DEL -->
|
||||
</body>
|
||||
</html>
|
||||
endsnippet
|
||||
|
||||
snippet cmt "comment"
|
||||
<!-- ${0} -->
|
||||
endsnippet
|
||||
|
||||
snippet viewport_cordova "viewport used in cordova apps"
|
||||
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"/>
|
||||
endsnippet
|
||||
snippet csp_cordova "CSP used in cordova"
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src * gap://ready file: gulp_place('app.url_scheme', 'variable'):; style-src 'self' 'unsafe-inline'; img-src * data: *; script-src 'self' 'unsafe-inline' 'unsafe-eval'"/>
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; img-src 'self' data: android-webview-video-poster:; script-src 'self' 'unsafe-inline' 'unsafe-eval'">
|
||||
endsnippet
|
||||
#endextends
|
2366
.config/coc/ultisnips/php.snippets
Normal file
2366
.config/coc/ultisnips/php.snippets
Normal file
File diff suppressed because it is too large
Load Diff
9
.config/coc/ultisnips/sh.snippets
Normal file
9
.config/coc/ultisnips/sh.snippets
Normal file
@ -0,0 +1,9 @@
|
||||
snippet sceleton "bash" b
|
||||
#!/usr/bin/env ${1:bash}
|
||||
set -eou pipefail
|
||||
${0}
|
||||
endsnippet
|
||||
snippet info "script name and version" b
|
||||
this="${0##*/}"
|
||||
version="`date +%Y-%m-%d`"
|
||||
endsnippet
|
1
.config/coc/ultisnips/typescript.snippets
Normal file
1
.config/coc/ultisnips/typescript.snippets
Normal file
@ -0,0 +1 @@
|
||||
extends javascript
|
1
.config/coc/ultisnips/typescriptreact.snippets
Normal file
1
.config/coc/ultisnips/typescriptreact.snippets
Normal file
@ -0,0 +1 @@
|
||||
extends javascript
|
124
.config/coc/ultisnips/vue.snippets
Normal file
124
.config/coc/ultisnips/vue.snippets
Normal file
@ -0,0 +1,124 @@
|
||||
extends javascript, html
|
||||
snippet sceleton_node "nodejs" b
|
||||
#!/usr/bin/env node
|
||||
/* jshint esversion: 8,-W097, -W040, node: true, expr: true, undef: true */
|
||||
${0}
|
||||
endsnippet
|
||||
snippet sceleton_cli "nodejsscript" b
|
||||
#!/usr/bin/env nodejsscript
|
||||
/* jshint esversion: 11,-W097, -W040, module: true, node: true, expr: true, undef: true *//* global echo, $, pipe, s, fetch, cyclicLoop */
|
||||
${0}
|
||||
endsnippet
|
||||
snippet sceleton_zx "zx" b
|
||||
#!/usr/bin/env zx
|
||||
/* jshint esversion: 8,-W097, -W040, node: true, expr: true, undef: true */
|
||||
${0}
|
||||
endsnippet
|
||||
snippet jshint "JSHint header" b
|
||||
/* jshint esversion: 6,-W097, -W040, browser: true, expr: true, undef: true */
|
||||
/* global ${0} */
|
||||
endsnippet
|
||||
snippet global "JSHint global"
|
||||
/* global ${0} */
|
||||
endsnippet
|
||||
snippet global_ns "JSHint global"
|
||||
/* ${1} *//* global ${0} */
|
||||
endsnippet
|
||||
snippet devel "JSHint devel"
|
||||
${1}/* jshint devel: true *///gulp.keep.line${0}
|
||||
endsnippet
|
||||
|
||||
snippet log "console.log"
|
||||
${1}console.log('${0}');
|
||||
endsnippet
|
||||
snippet stor "localStorage"
|
||||
${1}localStorage.${2:g}etItem("${0}");
|
||||
endsnippet
|
||||
|
||||
snippet import "import with backward order"
|
||||
import ${2:values} from "${1:specifier}";$0
|
||||
endsnippet
|
||||
snippet promise "return? new Promise"
|
||||
${1:return }new Promise(function(resolve, reject){
|
||||
${0:/* async code */}
|
||||
});
|
||||
endsnippet
|
||||
snippet for "classical loop"
|
||||
for(${1:let} ${2:i}= 0, ${2}_length= ${3:ITERABLE}.length; ${2}<${2}_length; ${2}++){
|
||||
${0:/* statement */}
|
||||
}
|
||||
endsnippet
|
||||
snippet foreach "PHP-like name" b
|
||||
for(${2:const} ${3:element} of ${1:iterable}){
|
||||
${0:/* statement */}
|
||||
}
|
||||
endsnippet
|
||||
snippet switch "classical switch"
|
||||
switch (${1}){
|
||||
case ${2}:
|
||||
${0}
|
||||
break;
|
||||
default:
|
||||
}
|
||||
endsnippet
|
||||
snippet desctr "object destructure"
|
||||
${1:const} { $0 }= ${2:def};
|
||||
endsnippet
|
||||
snippet ready "document ready"
|
||||
${1}document.addEventListener('DOMContentLoaded', ${0}, false)
|
||||
endsnippet
|
||||
snippet readyEvent "vanilla JS content ready event name"
|
||||
${1}DOMContentLoaded${0}
|
||||
endsnippet
|
||||
|
||||
snippet selid
|
||||
${1}document.getElementById('${0}')
|
||||
endsnippet
|
||||
snippet seltag
|
||||
${1}getElementsByTagName('${0}')
|
||||
endsnippet
|
||||
snippet selclass
|
||||
${1}getElementsByClassName('${0}')
|
||||
endsnippet
|
||||
snippet sel
|
||||
${1}querySelector('${0}')
|
||||
endsnippet
|
||||
snippet selall
|
||||
${1}querySelectorAll('${0}')
|
||||
endsnippet
|
||||
snippet sceleton "HTML5" b
|
||||
<!DOCTYPE html>
|
||||
<!-- ${0}DEL IE https://www.paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
|
||||
<html class="no-js" lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<!-- DEL IE https://stackoverflow.com/questions/6771258/what-does-meta-http-equiv-x-ua-compatible-content-ie-edge-do -->
|
||||
<!-- DEL https://www.vzhurudolu.cz/prirucka/viewport-meta -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<!-- DEL CSP https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP | https://github.com/Prinzhorn/minimal-csp -->
|
||||
<!-- DEL https://github.com/jensimmons/cssremedy -->
|
||||
|
||||
<!-- DEL meta značky obecně https://www.vzhurudolu.cz/prirucka/meta-open-graph -->
|
||||
<title></title>
|
||||
<meta name="description" content="">
|
||||
<!-- DEL IE https://www.sitepoint.com/html5-older-browsers-and-the-shiv/ -->
|
||||
<!-- DEL https://www.vzhurudolu.cz/prirucka/checklist -->
|
||||
</head>
|
||||
<body>
|
||||
<!-- DEL -->
|
||||
</body>
|
||||
</html>
|
||||
endsnippet
|
||||
|
||||
snippet cmt "comment"
|
||||
<!-- ${0} -->
|
||||
endsnippet
|
||||
|
||||
snippet viewport_cordova "viewport used in cordova apps"
|
||||
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"/>
|
||||
endsnippet
|
||||
snippet csp_cordova "CSP used in cordova"
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src * gap://ready file: gulp_place('app.url_scheme', 'variable'):; style-src 'self' 'unsafe-inline'; img-src * data: *; script-src 'self' 'unsafe-inline' 'unsafe-eval'"/>
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; img-src 'self' data: android-webview-video-poster:; script-src 'self' 'unsafe-inline' 'unsafe-eval'">
|
||||
endsnippet
|
||||
#endextends
|
3
.config/geany/.gitignore
vendored
Normal file
3
.config/geany/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
geany_socket_*
|
||||
session.conf
|
||||
.directory
|
4
.config/geany/README.md
Normal file
4
.config/geany/README.md
Normal file
@ -0,0 +1,4 @@
|
||||
# Geany
|
||||
I would like to use [Geany](https://www.geany.org/) as my secondary (mainly visual) editor instead of Notepad++ (and potentially VSCode).
|
||||
|
||||
I can also use it on my work MacOS for quick editing.
|
131
.config/geany/colorschemes/vsdark-mod.conf
Normal file
131
.config/geany/colorschemes/vsdark-mod.conf
Normal file
@ -0,0 +1,131 @@
|
||||
#
|
||||
# This library is free software; you can baseRedistribute it and/or
|
||||
# modify it under the terms of the GNU Library General Public
|
||||
# License as published by the Free Software Foundation; either
|
||||
# version 2 of the License, or (at your option) any later version.
|
||||
#
|
||||
# This library is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# Library General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Library General Public
|
||||
# License along with this library; if not, write to the
|
||||
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
# Boston, MA 02111-1307, USA.
|
||||
#
|
||||
|
||||
[theme_info]
|
||||
name=VSDark (Modified)
|
||||
description=Visual Studio Code's Dark Theme (Modified).
|
||||
# list of each compatible Geany release version
|
||||
compat=1.22;1.23;1.23.1;1.24
|
||||
|
||||
[named_colors]
|
||||
base0=#ddd
|
||||
base1=#282828
|
||||
base2=#3f3f3f
|
||||
base3=#808080
|
||||
base4=#303030
|
||||
baseKeyword=#C89FE3
|
||||
baseString=#6FB2EA
|
||||
baseKeyWord2=#747e9e
|
||||
baseNumber=#F19B78
|
||||
baseComment=#94B386
|
||||
baseRed=#f00
|
||||
baseRedbg=#751212
|
||||
baseGreen=#859900
|
||||
baseKeyword3=#DCB55F
|
||||
baseFunction=#dcdcaa
|
||||
|
||||
[named_styles]
|
||||
default=base0;base1;true;false
|
||||
error=baseRed
|
||||
|
||||
|
||||
# Editor styles
|
||||
#-------------------------------------------------------------------------------
|
||||
selection=;#000000;;true
|
||||
current_line=;#212121;true
|
||||
brace_good=base0;base2;true
|
||||
brace_bad=baseRed;;true
|
||||
margin_line_number=base3;base4
|
||||
margin_folding=base3;#212121
|
||||
fold_symbol_highlight=base2
|
||||
indent_guide=base2;;true
|
||||
caret=baseString;;false
|
||||
marker_line=#fff;#00f;
|
||||
marker_search=#fff;#d791a8;
|
||||
marker_mark=;
|
||||
call_tips=base0;base1
|
||||
white_space=base3;;true
|
||||
|
||||
|
||||
# Programming languages
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
comment=baseComment
|
||||
comment_doc=comment
|
||||
comment_line=comment
|
||||
comment_line_doc=comment_doc
|
||||
comment_doc_keyword=comment_doc,bold
|
||||
comment_doc_keyword_error=comment_doc,italic
|
||||
|
||||
number=baseNumber
|
||||
number_1=number
|
||||
number_2=number_1
|
||||
|
||||
type=baseKeyword;;true
|
||||
class=baseString
|
||||
function=baseFunction
|
||||
parameter=function
|
||||
|
||||
keyword=baseKeyword;;true
|
||||
keyword_1=keyword
|
||||
keyword_2=baseKeyword3;;true
|
||||
keyword_3=baseKeyWord2
|
||||
keyword_4=keyword_3
|
||||
|
||||
identifier=default
|
||||
identifier_1=identifier
|
||||
identifier_2=baseNumber
|
||||
identifier_3=identifier_2
|
||||
identifier_4=identifier_3
|
||||
|
||||
string=baseString
|
||||
string_1=string
|
||||
string_2=string_1
|
||||
string_3=default
|
||||
string_4=default
|
||||
string_eol=baseRed
|
||||
character=string_1
|
||||
backticks=string_2
|
||||
here_doc=string_2
|
||||
|
||||
scalar=string_2
|
||||
label=keyword,bold
|
||||
preprocessor=baseString
|
||||
regex=number_1
|
||||
operator=base0
|
||||
decorator=string_1,bold
|
||||
other=baseString
|
||||
|
||||
|
||||
# Markup-type languages
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
tag=baseKeyword
|
||||
tag_unknown=tag,bold
|
||||
tag_end=tag,bold
|
||||
attribute=baseString
|
||||
attribute_unknown=attribute,bold
|
||||
value=string_1
|
||||
entity=default
|
||||
|
||||
|
||||
# Diff
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
line_added=baseGreen
|
||||
line_removed=baseRed
|
||||
line_changed=baseKeyword3
|
132
.config/geany/colorschemes/vsdark.conf
Normal file
132
.config/geany/colorschemes/vsdark.conf
Normal file
@ -0,0 +1,132 @@
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU Library General Public
|
||||
# License as published by the Free Software Foundation; either
|
||||
# version 2 of the License, or (at your option) any later version.
|
||||
#
|
||||
# This library is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# Library General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Library General Public
|
||||
# License along with this library; if not, write to the
|
||||
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
# Boston, MA 02111-1307, USA.
|
||||
#
|
||||
|
||||
[theme_info]
|
||||
name=VSDark
|
||||
description=Visual Studio Code's Dark Theme.
|
||||
# list of each compatible Geany release version
|
||||
compat=1.22;1.23;1.23.1;1.24
|
||||
|
||||
[named_colors]
|
||||
base0=#d4d4d4
|
||||
base1=#1a1c1e
|
||||
base2=#3f3f3f
|
||||
base3=#808080
|
||||
base4=#303030
|
||||
vsblue=#3588cd
|
||||
aqua=#3ec7ac
|
||||
bluegrey=#747e9e
|
||||
orange=#ce8340
|
||||
lime=#65ff00
|
||||
grey=#6a9955
|
||||
red=#f00
|
||||
redbg=#751212
|
||||
green=#859900
|
||||
blue=#268bd2
|
||||
yellow=#dcdcaa
|
||||
|
||||
[named_styles]
|
||||
default=base0;base1
|
||||
error=red
|
||||
|
||||
|
||||
# Editor styles
|
||||
#-------------------------------------------------------------------------------
|
||||
selection=;#083840;;true
|
||||
current_line=;#111;true
|
||||
brace_good=base0;base2;true
|
||||
brace_bad=red;;true
|
||||
margin_line_number=base3;base4
|
||||
margin_folding=base3;#212121
|
||||
fold_symbol_highlight=base2
|
||||
indent_guide=base2;;true
|
||||
caret=aqua
|
||||
marker_line=#fff;#00f;
|
||||
marker_search=#fff;#d791a8;
|
||||
marker_mark=;
|
||||
call_tips=base0;base1
|
||||
white_space=base2;;true
|
||||
|
||||
|
||||
# Programming languages
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
comment=grey
|
||||
comment_doc=comment
|
||||
comment_line=comment
|
||||
comment_line_doc=comment_doc
|
||||
comment_doc_keyword=comment_doc,bold
|
||||
comment_doc_keyword_error=comment_doc,italic
|
||||
|
||||
number=orange
|
||||
number_1=number
|
||||
number_2=number_1
|
||||
|
||||
type=vsblue;;true
|
||||
class=aqua
|
||||
function=yellow
|
||||
parameter=function
|
||||
|
||||
keyword=vsblue;;true
|
||||
keyword_1=keyword
|
||||
keyword_2=aqua;;true
|
||||
keyword_3=bluegrey
|
||||
keyword_4=keyword_3
|
||||
|
||||
identifier=default
|
||||
identifier_1=identifier
|
||||
identifier_2=identifier_1
|
||||
identifier_3=identifier_1
|
||||
identifier_4=identifier_1
|
||||
|
||||
string=orange
|
||||
string_1=string
|
||||
string_2=string_1
|
||||
string_3=default
|
||||
string_4=default
|
||||
string_eol=red
|
||||
character=string_1
|
||||
backticks=string_2
|
||||
here_doc=string_2
|
||||
|
||||
scalar=string_2
|
||||
label=keyword,bold
|
||||
preprocessor=aqua
|
||||
regex=number_1
|
||||
operator=base0
|
||||
decorator=string_1,bold
|
||||
other=aqua
|
||||
|
||||
|
||||
# Markup-type languages
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
tag=vsblue
|
||||
tag_unknown=tag,bold
|
||||
tag_end=tag,bold
|
||||
attribute=aqua
|
||||
attribute_unknown=attribute,bold
|
||||
value=string_1
|
||||
entity=default
|
||||
|
||||
|
||||
# Diff
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
line_added=green
|
||||
line_removed=red
|
||||
line_changed=blue
|
107
.config/geany/colorschemes/zenburn.conf
Normal file
107
.config/geany/colorschemes/zenburn.conf
Normal file
@ -0,0 +1,107 @@
|
||||
#
|
||||
# No explicit license or copyright info available but part of the
|
||||
# `gedit-themes` project:
|
||||
# https://github.com/mig/gedit-themes/blob/master/zenburn.xml
|
||||
#
|
||||
# Ported to Geany by Matthew Brush <matt(at)geany(dot)org>
|
||||
#
|
||||
|
||||
[theme_info]
|
||||
name=Zenburn
|
||||
description=A port of Zenburn from gedit-themes.
|
||||
# incremented automatically, do not change manually
|
||||
version=1226
|
||||
author=Unknown Author <unknown email address>
|
||||
url=https://github.com/mig/gedit-themes/blob/master/zenburn.xml
|
||||
# list of each compatible Geany release version
|
||||
compat=1.22;1.23;1.23.1;1.24
|
||||
|
||||
[named_styles]
|
||||
|
||||
default=#dcdccc;#2b2b2b;true;false
|
||||
error=#e37170;#332323
|
||||
|
||||
# Editor styles
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
selection=#000;#7d7d7d;false;true
|
||||
current_line=#000;#000;true
|
||||
brace_good=#dcdccc;#7d7d7d;true;false
|
||||
brace_bad=#e37170;#7d7d7d;true;false
|
||||
margin_line_number=#7f8f8f;#464646
|
||||
margin_folding=#7f8f8f;#4c4c4c
|
||||
fold_symbol_highlight=#464646
|
||||
indent_guide=#666
|
||||
caret=#fff;;false
|
||||
marker_line=#000;#ff0
|
||||
marker_search=#000;#0000f0
|
||||
marker_mark=#000;#b8f4b8
|
||||
call_tips=#c0c0c0;#fff;false;false
|
||||
white_space=#666;#ddd;true;false
|
||||
|
||||
# Programming languages
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
comment=#93B893
|
||||
comment_doc=comment
|
||||
comment_line=comment
|
||||
comment_line_doc=comment_doc
|
||||
comment_doc_keyword=comment_doc,bold
|
||||
comment_doc_keyword_error=comment_doc,italic
|
||||
|
||||
number=#8cd0d3
|
||||
number_1=number
|
||||
number_2=number_1
|
||||
|
||||
type=#dfdfbf;;true
|
||||
class=type
|
||||
function=#efef8f
|
||||
parameter=#efdcbc
|
||||
|
||||
keyword=#f0dfaf;;true
|
||||
keyword_1=keyword
|
||||
keyword_2=keyword_1
|
||||
keyword_3=keyword_1
|
||||
keyword_4=keyword_1
|
||||
|
||||
identifier=default
|
||||
identifier_1=identifier
|
||||
identifier_2=identifier_1
|
||||
identifier_3=identifier_1
|
||||
identifier_4=identifier_1
|
||||
|
||||
string=#cc9393
|
||||
string_1=string
|
||||
string_2=string_1
|
||||
string_3=default
|
||||
string_4=default
|
||||
string_eol=string_1,italic
|
||||
character=string_1
|
||||
backticks=string_2
|
||||
here_doc=string_2
|
||||
|
||||
scalar=string_2
|
||||
label=default,bold
|
||||
preprocessor=#ffcfaf
|
||||
regex=number_1
|
||||
operator=default
|
||||
decorator=string_1,bold
|
||||
other=default
|
||||
|
||||
# Markup-type languages
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
tag=#f0dfaf
|
||||
tag_unknown=tag
|
||||
tag_end=tag
|
||||
attribute=#dfdfbf
|
||||
attribute_unknown=attribute
|
||||
value=string_1
|
||||
entity=default
|
||||
|
||||
# Diff
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
line_added=#7f9f7f;;true
|
||||
line_removed=#cc9393;;true
|
||||
line_changed=preprocessor
|
32
.config/geany/filedefs/filetypes.Dockerfile.conf
Normal file
32
.config/geany/filedefs/filetypes.Dockerfile.conf
Normal file
@ -0,0 +1,32 @@
|
||||
# For complete documentation of this file, please see Geany's main documentation
|
||||
#
|
||||
# Geany Color Syntax support for Dockerfiles
|
||||
#
|
||||
# version 0.2
|
||||
#
|
||||
# 0.1 - original version
|
||||
# 0.2 - base on Sh instead - fixes problems with //, #, /*
|
||||
|
||||
[styling=C]
|
||||
|
||||
[keywords]
|
||||
primary= ADD ARG CMD COPY ENTRYPOINT ENV EXPOSE FROM HEALTHCHECK LABEL ONBUILD RUN SHELL STOPSIGNAL USER VOLUME WORKDIR
|
||||
|
||||
[lexer_properties=C]
|
||||
|
||||
[settings]
|
||||
lexer_filetype=Sh
|
||||
tag_parser=C
|
||||
extension=
|
||||
# single comments, like # in this file
|
||||
comment_single=#
|
||||
|
||||
# set to false if a comment character/string should start at column 0 of a line, true uses any
|
||||
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
|
||||
#command_example();
|
||||
# setting to false would generate this
|
||||
# command_example();
|
||||
# This setting works only for single line comments
|
||||
comment_use_indent=true
|
||||
# context action command (please see Geany's main documentation for details)
|
||||
context_action_cmd=xdg-open "https://docs.docker.com/engine/reference/builder/"
|
17
.config/geany/filedefs/filetypes.JSON.conf
Normal file
17
.config/geany/filedefs/filetypes.JSON.conf
Normal file
@ -0,0 +1,17 @@
|
||||
[styling=C]
|
||||
|
||||
[lexer_properties=C]
|
||||
|
||||
[keywords]
|
||||
primary=true false null
|
||||
|
||||
[settings]
|
||||
lexer_filetype=Javascript
|
||||
tag_parser=JSON
|
||||
extension=json
|
||||
mime_type=application/json
|
||||
|
||||
#~ [indentation]
|
||||
#~ #width=4
|
||||
#~ # 0 is spaces, 1 is tabs, 2 is tab & spaces
|
||||
#~ #type=1
|
17
.config/geany/filedefs/filetypes.Less.conf
Normal file
17
.config/geany/filedefs/filetypes.Less.conf
Normal file
@ -0,0 +1,17 @@
|
||||
[styling=CSS]
|
||||
[keywords=CSS]
|
||||
primary=@import @media @font-face @keyframes @viewport @-webkit-keyframes @-moz-keyframes @-o-keyframes @-ms-keyframes @supports
|
||||
secondary=absolute all and animate auto background background-attachment background-color background-image background-position background-repeat background-size border border-bottom border-color border-left border-radius border-right border-style border-top border-width bottom box-shadow break-word clearfix color column count cursor display fixed float font font-family font-size font-weight height inline-block inline-table left letter-spacing line-height list-style margin margin-bottom margin-left margin-right margin-top max max-height max-width min min-height min-width none opacity overflow overflow-x overflow-y padding padding-bottom padding-left padding-right padding-top position relative repeat right size solid static table text-align text-decoration text-transform top transform transition transparent underline vertical-align visibility visible white-space width z-index
|
||||
|
||||
[lexer_properties=CSS]
|
||||
lexer.css.less.language=1
|
||||
|
||||
[settings=CSS]
|
||||
lexer_filetype=CSS
|
||||
tag_parser=CSS
|
||||
extension=less
|
||||
|
||||
comment_single=//
|
||||
comment_open=/*
|
||||
comment_close=*/
|
||||
comment_use_indent=true
|
2
.config/geany/filedefs/filetypes.README
Normal file
2
.config/geany/filedefs/filetypes.README
Normal file
@ -0,0 +1,2 @@
|
||||
Copy files from /usr/share/geany/filedefs to this directory to overwrite them. To use the defaults, just delete the file in this directory.
|
||||
For more information read the documentation (in /usr/share/doc/geany/html/index.html or visit https://www.geany.org/).
|
26
.config/geany/filedefs/filetypes.SCSS.conf
Normal file
26
.config/geany/filedefs/filetypes.SCSS.conf
Normal file
@ -0,0 +1,26 @@
|
||||
[styling=CSS]
|
||||
[keywords=CSS]
|
||||
primary=if else for while each in return @mixin @include @extend @import @function @if @else @for @each @while @debug @warn @error @at-root and or not only !default !optional
|
||||
secondary=a abbr acronym address applet area article aside audio b base basefont bdi bdo big blockquote body br button canvas caption center cite code col colgroup datalist dd del details dfn dir div dl dt em embed fieldset figcaption figure font footer form frame frameset h1 h2 h3 h4 h5 h6 head header hr html i iframe img input ins kbd keygen label legend li link listing main map mark menu menuitem meta meter nav nobr noframes noscript object ol optgroup option output p param picture pre progress q rp rt ruby s samp script section select small source span strike strong style sub summary sup table tbody td textarea tfoot th thead time title tr track tt u ul var video wbr
|
||||
user1=background color border margin padding font display position top right bottom left float clear z-index overflow visibility width height min-width max-width min-height max-height line-height letter-spacing word-spacing text-align text-decoration text-indent text-transform white-space vertical-align list-style-type list-style-position list-style-image background-color background-image background-position background-repeat background-size border-color border-width border-style border-radius box-shadow outline-color outline-width outline-style opacity filter transform transition animation keyframes grid flex flex-direction flex-wrap justify-content align-items align-content order flex-grow flex-shrink flex-basis align-self media screen print
|
||||
user2=import url charset namespace keyframes font-face supports media all print screen speech only
|
||||
user3=rgba hsla rgb hsl calc
|
||||
user4=webkit moz o ms khtml
|
||||
|
||||
[lexer_properties=CSS]
|
||||
lexer.css.scss.language=1
|
||||
|
||||
[settings=CSS]
|
||||
lexer_filetype=CSS
|
||||
tag_parser=CSS
|
||||
extension=scss
|
||||
|
||||
comment_single=//
|
||||
comment_open=/*
|
||||
comment_close=*/
|
||||
comment_use_indent=true
|
||||
|
||||
[build_settings]
|
||||
# %f will be replaced by the complete filename # %e will be replaced by the filename without extension # (use only one of it at one time)
|
||||
compiler=npx sass -c "%f"
|
||||
linker=npx sass --style expanded "%f" "%e.dev.css"
|
22
.config/geany/filedefs/filetypes.SVG.conf
Normal file
22
.config/geany/filedefs/filetypes.SVG.conf
Normal file
@ -0,0 +1,22 @@
|
||||
[styling=HTML]
|
||||
[keywords=XML]
|
||||
primary=svg circle rect ellipse line polyline polygon path g text use symbol defs marker style script
|
||||
|
||||
[settings=XML]
|
||||
extension=svg
|
||||
mime_type=image/svg+xml
|
||||
lexer_filetype=XML
|
||||
|
||||
# the following characters are these which a "word" can contains, see documentation
|
||||
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
|
||||
|
||||
#comment_single=
|
||||
#comment_open=<!--
|
||||
#comment_close=-->
|
||||
#comment_use_indent=true
|
||||
#context_action_cmd=
|
||||
#xml_indent_tags=true
|
||||
|
||||
[lexer_properties]
|
||||
lexer.xml.allow.scripts=1
|
||||
lexer.xml.allow.singletags=1
|
34
.config/geany/filedefs/filetypes.Stylus.conf
Normal file
34
.config/geany/filedefs/filetypes.Stylus.conf
Normal file
@ -0,0 +1,34 @@
|
||||
[styling]
|
||||
default=default
|
||||
comment=comment
|
||||
comment_doc=comment_doc
|
||||
number=number
|
||||
keyword=keyword
|
||||
keyword2=builtin
|
||||
string=string
|
||||
character=character
|
||||
uuid=uuid
|
||||
preprocessor=preprocessor
|
||||
operator=operator
|
||||
identifier=identifier
|
||||
stringeol=stringeol
|
||||
function=function
|
||||
|
||||
[keywords=CSS]
|
||||
primary=@import @media @font-face @keyframes @viewport @-webkit-keyframes @-moz-keyframes @-o-keyframes @-ms-keyframes @supports if else for in and or not return extend
|
||||
secondary=absolute all animate auto background background-attachment background-color background-image background-position background-repeat background-size border border-bottom border-color border-left border-radius border-right border-style border-top border-width bottom box-shadow break-word clearfix color column count cursor display fixed float font font-family font-size font-weight height inline-block inline-table left letter-spacing line-height list-style margin margin-bottom margin-left margin-right margin-top max max-height max-width min min-height min-width none opacity overflow overflow-x overflow-y padding padding-bottom padding-left padding-right padding-top position relative repeat right size solid static table text-align text-decoration text-transform top transform transition transparent underline vertical-align visibility visible white-space width z-index rgba hsla rgb hsl calc
|
||||
user1=base background-color background-position-x background-position-y background-size background-clip border-collapse border-color border-image border-image-outset border-image-repeat border-image-slice border-image-source border-image-width border-spacing border-style bottom box-align box-direction box-flex box-orient box-pack color color-interpolation color-rendering column-count column-fill column-gap column-rule column-rule-color column-rule-style column-rule-width column-span column-width content counter-increment counter-reset cursor display fill fill-opacity fill-rule filter flex flex-align flex-direction flex-pack flex-wrap float flood-color flood-opacity font font-family font-size font-smoothing font-stretch font-style font-variant font-weight height justify-content left letter-spacing line-break line-height list-style list-style-image list-style-position list-style-type margin margin-bottom margin-left margin-right margin-top marker-end marker-mid marker-start mask mask-type max-height max-width min-height min-width object-fit object-position opacity order outline outline-color outline-offset outline-style outline-width overflow overflow-x overflow-y padding padding-bottom padding-left padding-right padding-top page-break-after page-break-before page-break-inside perspective perspective-origin position quotes right shape-image-threshold shape-margin shape-outside size speak src stop-color stop-opacity stroke stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width tab-size table-layout text-align text-align-last text-anchor text-decoration text-decoration-color text-decoration-line text-decoration-style text-indent text-overflow text-rendering text-shadow text-size-adjust text-transform top transform transform-origin transform-style transition transition-delay transition-duration transition-property transition-timing-function unicode-bidi vertical-align visibility white-space widows width will-change word-break word-spacing word-wrap writing-mode z-index
|
||||
|
||||
[lexer_properties]
|
||||
lexer.cpp.track.preprocessor=1
|
||||
lexer.cpp.update.preprocessor=1
|
||||
|
||||
[settings=CSS]
|
||||
extension=styl
|
||||
lexer_filetype=python
|
||||
tag_parser=CSS
|
||||
|
||||
comment_single=//
|
||||
comment_open=/*
|
||||
comment_close=*/
|
||||
comment_use_indent=true
|
21
.config/geany/filedefs/filetypes.TypeScript.conf
Normal file
21
.config/geany/filedefs/filetypes.TypeScript.conf
Normal file
@ -0,0 +1,21 @@
|
||||
[styling=C]
|
||||
[keywords]
|
||||
primary=abstract as any async await boolean break case catch class const constructor continue debugger declare default delete do else enum export extends false finally for from function get if implements import in instanceof interface let module namespace new null of package private protected public readonly require return set static super switch symbol this throw true try type typeof var void while with yield
|
||||
secondary=Array ArrayBuffer Boolean constructor DataView Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error eval EvalError Float32Array Float64Array Function hasOwnProperty Infinity Int16Array Int32Array Int8Array isFinite isNaN isPrototypeOf JSON Map Math NaN Number Object parseFloat parseInt Promise propertyIsEnumerable Proxy RangeError ReferenceError Reflect RegExp Set String Symbol SyntaxError toLocaleString toString TypeError Uint16Array Uint32Array Uint8Array Uint8ClampedArray undefined URIError valueOf WeakMap WeakSet
|
||||
|
||||
[lexer_properties=C]
|
||||
# https://github.com/geany/geany/blob/edd733013047c1f2a4786a64e2364f8b30c41be9/scintilla/lexilla/lexers/LexCPP.cxx#L363
|
||||
lexer.cpp.backquoted.strings=1
|
||||
lexer.cpp.allow.dollars=1
|
||||
lexer.cpp.escape.sequence=1
|
||||
|
||||
[settings]
|
||||
extension=ts
|
||||
#~ lexer_filetype=C
|
||||
lexer_filetype=ActionScript
|
||||
mime_type=text/x-typescript
|
||||
wordchars=$_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
|
||||
comment_single=//
|
||||
comment_open=/*
|
||||
comment_close=*/
|
||||
comment_use_indent=true
|
16
.config/geany/filedefs/filetypes.Vimrc.conf
Normal file
16
.config/geany/filedefs/filetypes.Vimrc.conf
Normal file
@ -0,0 +1,16 @@
|
||||
[styling=C]
|
||||
|
||||
[keywords]
|
||||
primary=if endif else elseif set let call function endfunction return for endfor while endwhile break continue execute try endtry catch throw finally
|
||||
|
||||
[lexer_properties=C]
|
||||
|
||||
[settings]
|
||||
lexer_filetype=Sh
|
||||
tag_parser=C
|
||||
extension=
|
||||
comment_single=#
|
||||
comment_open="
|
||||
comment_close=
|
||||
context_action=false
|
||||
context_action_menu=false
|
19
.config/geany/filedefs/filetypes.Vue.conf
Normal file
19
.config/geany/filedefs/filetypes.Vue.conf
Normal file
@ -0,0 +1,19 @@
|
||||
[styling=HTML]
|
||||
[keywords=HTML]
|
||||
primary=template script style data methods props computed watch components directives filters mixins created mounted updated destroyed beforeCreate beforeMount beforeUpdate beforeDestroy emit
|
||||
secondary=Array Boolean Date Error Function JSON Math Number Object Promise RegExp String Symbol console document window
|
||||
user1=import from export default async await try catch throw return if else for while switch case break continue function const let var new this true false null undefined
|
||||
|
||||
[settings=XML]
|
||||
extension=vue
|
||||
lexer_filetype=HTML
|
||||
comment_single=//
|
||||
comment_open=/*
|
||||
comment_close=*/
|
||||
comment_use_indent=true
|
||||
context_action_cmd=
|
||||
|
||||
[lexer_properties]
|
||||
# https://github.com/geany/geany/blob/edd733013047c1f2a4786a64e2364f8b30c41be9/scintilla/lexilla/lexers/LexHTML.cxx#L745
|
||||
lexer.xml.allow.singletags=1
|
||||
styling.within.preproc=1
|
12
.config/geany/filedefs/filetypes.javascript
Normal file
12
.config/geany/filedefs/filetypes.javascript
Normal file
@ -0,0 +1,12 @@
|
||||
[lexer_properties=C]
|
||||
# https://github.com/geany/geany/blob/edd733013047c1f2a4786a64e2364f8b30c41be9/scintilla/lexilla/lexers/LexCPP.cxx#L363
|
||||
lexer.cpp.backquoted.strings=1
|
||||
lexer.cpp.allow.dollars=1
|
||||
lexer.cpp.escape.sequence=1
|
||||
|
||||
[settings]
|
||||
extension=js
|
||||
#~ lexer_filetype=C
|
||||
lexer_filetype=ActionScript
|
||||
|
||||
wordchars=$_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
|
98
.config/geany/filetype_extensions.conf
Normal file
98
.config/geany/filetype_extensions.conf
Normal file
@ -0,0 +1,98 @@
|
||||
# Filetype extension configuration file for Geany
|
||||
# Insert as many items as you want, separate them with a ";".
|
||||
# See Geany's main documentation for details.
|
||||
[Extensions]
|
||||
#Abaqus=*.inp;
|
||||
#Abc=*.abc;*.abp;
|
||||
#ActionScript=*.as;
|
||||
#Ada=*.adb;*.ads;
|
||||
#Arduino=*.ino;*.pde;
|
||||
#Asciidoc=*.asciidoc;*.adoc;
|
||||
#ASM=*.asm;*.asm51;*.a51;*.s;*.S;*.sx;
|
||||
#AutoIt=*.au3;
|
||||
#Batch=*.bat;*.cmd;*.nt;
|
||||
#BibTeX=*.bib;
|
||||
#CAML=*.ml;*.mli;
|
||||
#C=*.c;*.xpm;
|
||||
#C++=*.cpp;*.cxx;*.c++;*.cc;*.h;*.hpp;*.hxx;*.h++;*.hh;*.C;*.H;
|
||||
#Clojure=*.clj;*.cljs;*.cljc;
|
||||
#CUDA=*.cu;*.cuh;*.h;
|
||||
#C#=*.cs;
|
||||
#CMake=CMakeLists.txt;*.cmake;*.ctest;
|
||||
#COBOL=*.cob;*.cpy;*.cbl;*.cobol;
|
||||
#CoffeeScript=*.coffee;Cakefile;*.Cakefile;*.coffee.erb;*.iced;*.iced.erb;
|
||||
#Conf=*.conf;*.ini;config;*rc;*.cfg;*.desktop;*.properties;
|
||||
#CSS=*.css;
|
||||
#Cython=*.pyx;*.pxd;*.pxi;
|
||||
#D=*.d;*.di;
|
||||
#Diff=*.diff;*.patch;*.rej;
|
||||
#Docbook=*.docbook;
|
||||
Dockerfile=Dockerfile;dockerfile;*.dockerfile;*.Dockerfile;
|
||||
#Erlang=*.erl;*.hrl;
|
||||
#F77=*.f;*.for;*.ftn;*.f77;*.F;*.FOR;*.FTN;*.fpp;*.FPP;*.F77;
|
||||
#Forth=*.fs;*.fth;
|
||||
#Fortran=*.f90;*.f95;*.f03;*.f08;*.F90;*.F95;*.F03;*.F08;
|
||||
#FreeBasic=*.bas;*.bi;*.vbs;
|
||||
#GDScript=*.gd;
|
||||
#Genie=*.gs;
|
||||
#GLSL=*.glsl;*.frag;*.vert;
|
||||
#Go=*.go;
|
||||
#Graphviz=*.gv;*.dot;
|
||||
#Groovy=*.groovy;*.gradle;
|
||||
#Haskell=*.hs;*.lhs;*.hs-boot;*.lhs-boot;
|
||||
#Haxe=*.hx;
|
||||
#HTML=*.htm;*.html;*.shtml;*.hta;*.htd;*.htt;*.cfm;*.tpl;
|
||||
#Java=*.java;*.jsp;
|
||||
JavaScript=*.js;*.mjs;*.jsx;
|
||||
#JSON=*.json;
|
||||
#Julia=*.jl;
|
||||
#Kotlin=*.kt;*.kts;
|
||||
#LaTeX=*.tex;*.sty;*.idx;*.ltx;*.latex;*.aux;
|
||||
Less=*.less;
|
||||
#Lisp=*.lisp;*.el;
|
||||
#Lua=*.lua;
|
||||
#Make=*.mak;*.mk;GNUmakefile;makefile;Makefile;makefile.*;Makefile.*;
|
||||
#Markdown=*.mdml;*.markdown;*.md;*.mkd;*.mkdn;*.mdwn;*.mdown;*.mdtxt;*.mdtext;
|
||||
#Matlab/Octave=*.m;
|
||||
#Meson=meson.build;meson.options;meson_options.txt;
|
||||
#Nim=*.nim;
|
||||
#NSIS=*.nsi;*.nsh;
|
||||
#Objective-C=*.m;*.mm;*.h;
|
||||
#Pascal=*.pas;*.pp;*.inc;*.dpr;*.dpk;
|
||||
#Perl=*.pl;*.perl;*.pm;*.agi;*.pod;
|
||||
#PHP=*.php;*.php3;*.php4;*.php5;*.phtml;
|
||||
#Po=*.po;*.pot;
|
||||
#Python=*.py;*.pyw;SConstruct;SConscript;wscript;
|
||||
#PowerShell=*.ps1;*.psm1;
|
||||
#reStructuredText=*.rest;*.reST;*.rst;
|
||||
#R=*.R;*.r;
|
||||
#Rust=*.rs;
|
||||
#Ruby=*.rb;*.rhtml;*.ruby;*.gemspec;Gemfile;rakefile;Rakefile;
|
||||
#Scala=*.scala;*.scl;
|
||||
#Sh=*.sh;configure;configure.in;configure.in.in;configure.ac;*.ksh;*.mksh;*.zsh;*.ash;*.bash;.bashrc;bash.bashrc;.bash_*;bash_*;*.m4;PKGBUILD;*profile;
|
||||
#Smalltalk=*.st;
|
||||
#SQL=*.sql;
|
||||
Stylus=*.styl;
|
||||
#Swift=*.swift;
|
||||
#Tcl=*.tcl;*.tk;*.wish;*.exp;
|
||||
#Txt2tags=*.t2t;
|
||||
TypeScript=*.ts;*.tsx;
|
||||
SCSS=*.scss
|
||||
SVG=*.svg
|
||||
#Vala=*.vala;*.vapi;
|
||||
#Verilog=*.v;
|
||||
#VHDL=*.vhd;*.vhdl;
|
||||
Vimrc=*.vimrc;vimrc;tridactylrc;vifmrc;
|
||||
Vue=*.vue;
|
||||
#XML=*.xml;*.sgml;*.xsl;*.xslt;*.xsd;*.xhtml;*.xul;*.dtd;*.xtpl;*.mml;*.mathml;
|
||||
#YAML=*.yaml;*.yml;
|
||||
#Zephir=*.zep;
|
||||
#None=*;
|
||||
|
||||
# Note: restarting is required after editing groups
|
||||
[Groups]
|
||||
#Programming=Arduino;Clojure;CUDA;Cython;Genie;Groovy;Kotlin;Nim;Scala;Swift;
|
||||
Script=JavaScript;TypeScript;Dockerfile;Vimrc;
|
||||
Markup=SVG;SCSS;Stylus;Less;Vue;
|
||||
#Misc=JSON;
|
||||
#None=
|
233
.config/geany/geany.conf
Normal file
233
.config/geany/geany.conf
Normal file
@ -0,0 +1,233 @@
|
||||
[geany]
|
||||
pref_main_load_session=false
|
||||
pref_main_project_file_in_basedir=false
|
||||
pref_main_save_winpos=true
|
||||
pref_main_save_wingeom=true
|
||||
pref_main_confirm_exit=false
|
||||
pref_main_suppress_status_messages=false
|
||||
switch_msgwin_pages=false
|
||||
beep_on_errors=true
|
||||
auto_focus=false
|
||||
sidebar_symbol_visible=true
|
||||
sidebar_openfiles_visible=true
|
||||
editor_font=Ubuntu Sans Mono Medium 8
|
||||
tagbar_font=Ubuntu Mono 8
|
||||
msgwin_font=Ubuntu Mono Bold 8
|
||||
show_notebook_tabs=false
|
||||
show_tab_cross=true
|
||||
tab_order_ltr=true
|
||||
tab_order_beside=true
|
||||
tab_pos_editor=2
|
||||
tab_pos_msgwin=0
|
||||
tab_label_length=1000
|
||||
show_indent_guide=true
|
||||
show_white_space=true
|
||||
show_line_endings=false
|
||||
show_line_endings_only_when_differ=false
|
||||
show_markers_margin=true
|
||||
show_linenumber_margin=true
|
||||
long_line_enabled=true
|
||||
long_line_type=0
|
||||
long_line_column=120
|
||||
long_line_color=#000000
|
||||
symbolcompletion_max_height=10
|
||||
symbolcompletion_min_chars=3
|
||||
use_folding=true
|
||||
unfold_all_children=false
|
||||
use_indicators=true
|
||||
line_wrapping=false
|
||||
auto_close_xml_tags=true
|
||||
complete_snippets=true
|
||||
auto_complete_symbols=true
|
||||
pref_editor_disable_dnd=false
|
||||
pref_editor_smart_home_key=true
|
||||
pref_editor_newline_strip=false
|
||||
line_break_column=120
|
||||
auto_continue_multiline=true
|
||||
comment_toggle_mark=~
|
||||
scroll_stop_at_last_line=true
|
||||
autoclose_chars=0
|
||||
pref_editor_default_new_encoding=UTF-8
|
||||
pref_editor_default_open_encoding=none
|
||||
default_eol_character=2
|
||||
pref_editor_new_line=false
|
||||
pref_editor_ensure_convert_line_endings=false
|
||||
pref_editor_replace_tabs=false
|
||||
pref_editor_trail_space=false
|
||||
pref_toolbar_show=false
|
||||
pref_toolbar_append_to_menu=false
|
||||
pref_toolbar_use_gtk_default_style=true
|
||||
pref_toolbar_use_gtk_default_icon=true
|
||||
pref_toolbar_icon_style=0
|
||||
pref_toolbar_icon_size=0
|
||||
pref_template_developer=Jan Andrle
|
||||
pref_template_company=
|
||||
pref_template_mail=andrle.jan@centrum.cz
|
||||
pref_template_initial=JA
|
||||
pref_template_version=1.0
|
||||
pref_template_year=%Y
|
||||
pref_template_date=%Y-%m-%d
|
||||
pref_template_datetime=%d.%m.%Y %H:%M:%S %Z
|
||||
context_action_cmd=
|
||||
sidebar_visible=true
|
||||
statusbar_visible=true
|
||||
msgwindow_visible=false
|
||||
fullscreen=false
|
||||
symbols_group_by_type=true
|
||||
color_picker_palette=
|
||||
scribble_text=Pište sem cokoliv, použijte toto jako poznámkový blok
|
||||
scribble_pos=53
|
||||
custom_date_format=
|
||||
default_open_path=
|
||||
cmdline_new_files=true
|
||||
notebook_double_click_hides_widgets=false
|
||||
tab_close_switch_to_mru=true
|
||||
tab_pos_sidebar=2
|
||||
openfiles_path_mode=2
|
||||
sidebar_pos=0
|
||||
symbols_sort_mode=1
|
||||
msgwin_orientation=1
|
||||
highlighting_invert_all=false
|
||||
pref_main_search_use_current_word=true
|
||||
check_detect_indent=false
|
||||
detect_indent_width=false
|
||||
use_tab_to_indent=true
|
||||
backspace_unindent=true
|
||||
pref_editor_tab_width=4
|
||||
indent_mode=2
|
||||
indent_type=1
|
||||
virtualspace=1
|
||||
change_history_markers=false
|
||||
change_history_indicators=false
|
||||
autocomplete_doc_words=false
|
||||
completion_drops_rest_of_word=false
|
||||
autocompletion_max_entries=30
|
||||
autocompletion_update_freq=250
|
||||
color_scheme=vsdark-mod.conf
|
||||
scroll_lines_around_cursor=0
|
||||
mru_length=10
|
||||
disk_check_timeout=30
|
||||
show_editor_scrollbars=true
|
||||
brace_match_ltgt=true
|
||||
use_gtk_word_boundaries=true
|
||||
complete_snippets_whilst_editing=false
|
||||
indent_hard_tab_width=4
|
||||
editor_ime_interaction=0
|
||||
use_atomic_file_saving=false
|
||||
gio_unsafe_save_backup=false
|
||||
use_gio_unsafe_file_saving=true
|
||||
keep_edit_history_on_reload=false
|
||||
show_keep_edit_history_on_reload_msg=false
|
||||
reload_clean_doc_on_file_change=false
|
||||
save_config_on_file_change=true
|
||||
extract_filetype_regex=-\\*-\\s*([^\\s]+)\\s*-\\*-
|
||||
allow_always_save=false
|
||||
find_selection_type=0
|
||||
replace_and_find_by_default=true
|
||||
show_symbol_list_expanders=true
|
||||
compiler_tab_autoscroll=true
|
||||
statusbar_template=line: %l / %L col: %c sel: %s %w %t %mEOL: %M encoding: %e filetype: %f scope: %S
|
||||
new_document_after_close=false
|
||||
msgwin_status_visible=true
|
||||
msgwin_compiler_visible=true
|
||||
msgwin_messages_visible=true
|
||||
msgwin_scribble_visible=true
|
||||
warn_on_project_close=true
|
||||
documents_show_paths=true
|
||||
sidebar_page=3
|
||||
pref_main_project_session=true
|
||||
use_native_windows_dialogs=false
|
||||
treeview_position=226
|
||||
msgwindow_position=710
|
||||
geometry=321;29;1275;1020;0;
|
||||
use_native_dialogs=true
|
||||
|
||||
[tools]
|
||||
terminal_cmd=konsole "%c"
|
||||
browser_cmd=firefox
|
||||
grep_cmd=grep
|
||||
shell_cmd=/bin/bash
|
||||
|
||||
[printing]
|
||||
print_cmd=lpr '%f'
|
||||
use_gtk_printing=true
|
||||
print_line_numbers=true
|
||||
print_page_numbers=true
|
||||
print_page_header=true
|
||||
page_header_basename=false
|
||||
page_header_datefmt=%c
|
||||
|
||||
[VTE]
|
||||
load_vte=true
|
||||
font=Monospace 10
|
||||
scroll_on_key=true
|
||||
scroll_on_out=true
|
||||
enable_bash_keys=true
|
||||
ignore_menu_bar_accel=false
|
||||
follow_path=false
|
||||
run_in_vte=false
|
||||
skip_run_script=false
|
||||
cursor_blinks=false
|
||||
scrollback_lines=500
|
||||
shell=/bin/bash
|
||||
colour_fore=#DEDDDA
|
||||
colour_back=#2B2B2B
|
||||
send_cmd_prefix=
|
||||
send_selection_unsafe=false
|
||||
last_dir=/home/jaandrle
|
||||
|
||||
[build-menu]
|
||||
number_ft_menu_items=0
|
||||
number_non_ft_menu_items=0
|
||||
number_exec_menu_items=0
|
||||
|
||||
[search]
|
||||
pref_search_hide_find_dialog=false
|
||||
pref_search_always_wrap=false
|
||||
pref_search_current_file_dir=true
|
||||
fif_regexp=false
|
||||
fif_case_sensitive=true
|
||||
fif_match_whole_word=false
|
||||
fif_invert_results=false
|
||||
fif_recursive=false
|
||||
fif_extra_options=
|
||||
fif_use_extra_options=false
|
||||
fif_files=
|
||||
fif_files_mode=0
|
||||
find_regexp=false
|
||||
find_regexp_multiline=false
|
||||
find_case_sensitive=false
|
||||
find_escape_sequences=false
|
||||
find_match_whole_word=false
|
||||
find_match_word_start=false
|
||||
find_close_dialog=true
|
||||
replace_regexp=false
|
||||
replace_regexp_multiline=false
|
||||
replace_case_sensitive=false
|
||||
replace_escape_sequences=true
|
||||
replace_match_whole_word=false
|
||||
replace_match_word_start=false
|
||||
replace_search_backwards=false
|
||||
replace_close_dialog=true
|
||||
find_all_expanded=false
|
||||
replace_all_expanded=true
|
||||
position_find_x=1014
|
||||
position_find_y=519
|
||||
position_replace_x=504
|
||||
position_replace_y=397
|
||||
position_fif_x=-1
|
||||
position_fif_y=-1
|
||||
|
||||
[plugins]
|
||||
load_plugins=true
|
||||
custom_plugin_path=
|
||||
active_plugins=/usr/lib/x86_64-linux-gnu/geany/addons.so;/usr/lib/x86_64-linux-gnu/geany/autoclose.so;/usr/lib/x86_64-linux-gnu/geany/automark.so;/usr/lib/x86_64-linux-gnu/geany/commander.so;/usr/lib/x86_64-linux-gnu/geany/export.so;/usr/lib/x86_64-linux-gnu/geany/geanyextrasel.so;/usr/lib/x86_64-linux-gnu/geany/htmlchars.so;/usr/lib/x86_64-linux-gnu/geany/geanymacro.so;/usr/lib/x86_64-linux-gnu/geany/filebrowser.so;/usr/lib/x86_64-linux-gnu/geany/projectorganizer.so;/usr/lib/x86_64-linux-gnu/geany/spellcheck.so;/usr/lib/x86_64-linux-gnu/geany/saveactions.so;/usr/lib/x86_64-linux-gnu/geany/vimode.so;
|
||||
|
||||
[project]
|
||||
session_file=
|
||||
project_file_path=/home/jaandrle/Dokumenty/Projekty/geany
|
||||
|
||||
[files]
|
||||
recent_files=/home/jaandrle/.local/share/krunner-sources/krunner-alias-main/install.sh;/home/jaandrle/.local/share/krunner-sources/kolors/install.sh;/tmp/evolution-jaandrle-RZCWV2/Re: Fwd: 🎃Výstava dýní po mexicku🎃;/home/jaandrle/.vim/bundle/vim-html-template-literals/autoload/htl_syntax.vim;/home/jaandrle/.vim/bundle/vim-html-template-literals/test/example-code-tests/example-code-tests.vader;/home/jaandrle/Stažené/placeholder-sticker.svg;/media/jaandrle/neon/home/jaandrle/Vzdálené/GitHub/dcp-be-proxy-functions(1)/__azurite_db_blob__.json;/home/jaandrle/Vzdálené/GitHub/facilitator-network-cell/src/types/vite-env.d.ts;/media/jaandrle/neon/home/jaandrle/Stažené/.test_snap/wse_yl/test_conf/test.key;/home/jaandrle/Android/Sdk/emulator/NOTICE.txt;
|
||||
recent_projects=/home/jaandrle/Dokumenty/Projekty/geany/Facilitator-App-Native.geany;/home/jaandrle/Dokumenty/Projekty/geany/deka-dom-el.geany;/home/jaandrle/Dokumenty/Projekty/geany/Facilitator-App-Native;/home/jaandrle/Dokumenty/Projekty/geany/deka-dom-el;/home/jaandrle/Dokumenty/Projekty/geany/deka-dom-el/deka-dom-el;/home/jaandrle/Dokumenty/Projekty/geany/.babelrc;
|
||||
current_page=-1
|
7
.config/geany/geany_mac.conf
Normal file
7
.config/geany/geany_mac.conf
Normal file
@ -0,0 +1,7 @@
|
||||
[Settings]
|
||||
# 0: automatic selection based on system settings (requires Geany restart when changed, macOS 10.14+); 1: light; 2: dark; make sure there's no ~/.config/gtk-3.0/settings.ini file, otherwise it overrides the settings made here
|
||||
theme=0
|
||||
# no value: autodetect; locale string: locale to be used (e.g. en_US.UTF-8)
|
||||
locale=
|
||||
# no value: don't use any IM module; module name: use the specified module, e.g. 'quartz' for native macOS behavior, for complete list of modules, see Geany.app/Contents/Resources/lib/gtk-3.0/3.0.0/immodules, use without the 'im-' prefix
|
||||
im_module=quartz
|
5
.config/geany/gtk-3.0/settings.ini
Normal file
5
.config/geany/gtk-3.0/settings.ini
Normal file
@ -0,0 +1,5 @@
|
||||
[Settings]
|
||||
gtk-menu-images=1
|
||||
gtk-theme-name=Prof-Gnome
|
||||
gtk-application-prefer-dark-theme=1
|
||||
gtk-icon-theme-name=Papirus-Dark
|
231
.config/geany/keybindings.conf
Normal file
231
.config/geany/keybindings.conf
Normal file
@ -0,0 +1,231 @@
|
||||
[Bindings]
|
||||
menu_new=<Primary>n
|
||||
menu_open=<Primary>o
|
||||
menu_open_selected=<Primary><Shift>o
|
||||
menu_save=<Primary>s
|
||||
menu_saveas=
|
||||
menu_saveall=<Primary><Shift>s
|
||||
file_properties=
|
||||
menu_print=
|
||||
menu_close=<Primary>w
|
||||
menu_closeall=<Primary><Shift>w
|
||||
menu_reloadfile=<Primary>r
|
||||
menu_reloadall=
|
||||
file_openlasttab=
|
||||
menu_quit=<Primary>q
|
||||
menu_undo=<Primary>z
|
||||
menu_redo=<Primary><Shift>z
|
||||
edit_duplicateline=
|
||||
edit_deleteline=
|
||||
edit_deletelinetoend=<Primary><Shift>Delete
|
||||
edit_deletelinetobegin=<Primary><Shift>BackSpace
|
||||
edit_transposeline=
|
||||
edit_scrolltoline=<Primary><Shift>l
|
||||
edit_scrolllineup=<Alt>Up
|
||||
edit_scrolllinedown=<Alt>Down
|
||||
edit_completesnippet=Tab
|
||||
move_snippetnextcursor=<Shift>ISO_Left_Tab
|
||||
edit_suppresssnippetcompletion=
|
||||
popup_contextaction=
|
||||
edit_autocomplete=<Primary>space
|
||||
edit_calltip=<Primary>space
|
||||
edit_wordpartcompletion=Tab
|
||||
edit_movelineup=<Alt>Page_Up
|
||||
edit_movelinedown=<Alt>Page_Down
|
||||
menu_cut=<Primary>x
|
||||
menu_copy=<Primary>c
|
||||
menu_paste=<Primary>v
|
||||
edit_copyline=<Primary><Shift>c
|
||||
edit_cutline=<Primary><Shift>x
|
||||
menu_selectall=<Primary>a
|
||||
edit_selectword=<Shift><Alt>w
|
||||
edit_selectline=<Shift><Alt>l
|
||||
edit_selectparagraph=<Shift><Alt>p
|
||||
edit_selectwordpartleft=
|
||||
edit_selectwordpartright=
|
||||
edit_togglecase=<Primary><Alt>u
|
||||
edit_commentlinetoggle=<Primary>e
|
||||
edit_commentline=
|
||||
edit_uncommentline=
|
||||
edit_increaseindent=<Primary>i
|
||||
edit_decreaseindent=<Primary>u
|
||||
edit_increaseindentbyspace=
|
||||
edit_decreaseindentbyspace=
|
||||
edit_autoindent=
|
||||
edit_sendtocmd1=<Primary>1
|
||||
edit_sendtocmd2=<Primary>2
|
||||
edit_sendtocmd3=<Primary>3
|
||||
edit_sendtocmd4=
|
||||
edit_sendtocmd5=
|
||||
edit_sendtocmd6=
|
||||
edit_sendtocmd7=
|
||||
edit_sendtocmd8=
|
||||
edit_sendtocmd9=
|
||||
edit_sendtovte=
|
||||
format_reflowparagraph=<Primary>j
|
||||
edit_joinlines=
|
||||
menu_insert_date=
|
||||
edit_insertwhitespace=
|
||||
edit_insertlinebefore=
|
||||
edit_insertlineafter=
|
||||
menu_preferences=<Primary><Alt>p
|
||||
menu_pluginpreferences=
|
||||
menu_find=<Primary>f
|
||||
menu_findnext=F3
|
||||
menu_findprevious=<Shift>F3
|
||||
menu_findnextsel=
|
||||
menu_findprevsel=
|
||||
menu_replace=<Primary>h
|
||||
menu_findinfiles=<Primary><Shift>f
|
||||
menu_nextmessage=
|
||||
menu_previousmessage=
|
||||
popup_findusage=<Primary><Shift>e
|
||||
popup_finddocumentusage=<Primary><Shift>d
|
||||
find_markall=<Primary><Shift>m
|
||||
nav_back=<Alt>Left
|
||||
nav_forward=<Alt>Right
|
||||
menu_gotoline=<Primary>g
|
||||
edit_gotomatchingbrace=<Primary>equal
|
||||
edit_togglemarker=<Primary>m
|
||||
edit_gotonextmarker=<Primary>period
|
||||
edit_gotopreviousmarker=<Primary>comma
|
||||
popup_gototagdefinition=<Primary>t
|
||||
popup_gototagdeclaration=<Primary><Shift>t
|
||||
edit_gotolinestart=Home
|
||||
edit_gotolineend=End
|
||||
edit_gotolinestartvisual=<Alt>Home
|
||||
edit_gotolineendvisual=<Alt>End
|
||||
edit_prevwordstart=<Primary>slash
|
||||
edit_nextwordstart=<Primary>backslash
|
||||
menu_toggleall=F1
|
||||
menu_fullscreen=F11
|
||||
menu_messagewindow=
|
||||
toggle_sidebar=
|
||||
menu_zoomin=<Primary>plus
|
||||
menu_zoomout=<Primary>minus
|
||||
normal_size=<Primary>0
|
||||
menu_linewrap=
|
||||
menu_linebreak=
|
||||
menu_clone=
|
||||
menu_strip_trailing_spaces=
|
||||
menu_replacetabs=
|
||||
menu_replacespaces=
|
||||
menu_togglefold=
|
||||
menu_foldall=
|
||||
menu_unfoldall=
|
||||
reloadtaglist=<Primary><Shift>r
|
||||
remove_markers=
|
||||
remove_error_indicators=
|
||||
remove_markers_and_indicators=
|
||||
project_new=
|
||||
project_new_from_folder=
|
||||
project_open=
|
||||
project_properties=
|
||||
project_close=
|
||||
build_compile=F8
|
||||
build_link=F9
|
||||
build_make=<Shift>F9
|
||||
build_makeowntarget=<Primary><Shift>F9
|
||||
build_makeobject=<Shift>F8
|
||||
build_nexterror=
|
||||
build_previouserror=
|
||||
build_run=F5
|
||||
build_options=
|
||||
menu_opencolorchooser=
|
||||
menu_help=
|
||||
switch_editor=F2
|
||||
switch_search_bar=F7
|
||||
switch_message_window=
|
||||
switch_compiler=
|
||||
switch_messages=
|
||||
switch_scribble=F6
|
||||
switch_vte=F4
|
||||
switch_sidebar=<Shift>F2
|
||||
switch_sidebar_symbol_list=
|
||||
switch_sidebar_doc_list=
|
||||
switch_tableft=<Primary>Page_Up
|
||||
switch_tabright=<Primary>Page_Down
|
||||
switch_tablastused=<Primary>Tab
|
||||
move_tableft=<Primary><Shift>Page_Up
|
||||
move_tabright=<Primary><Shift>Page_Down
|
||||
move_tabfirst=
|
||||
move_tablast=
|
||||
|
||||
[addons]
|
||||
focus_bookmark_list=
|
||||
focus_tasks=
|
||||
update_tasks=
|
||||
xml_tagging=
|
||||
copy_file_path=
|
||||
Enclose_1=
|
||||
Enclose_2=
|
||||
Enclose_3=
|
||||
Enclose_4=
|
||||
Enclose_5=
|
||||
Enclose_6=
|
||||
Enclose_7=
|
||||
Enclose_8=
|
||||
|
||||
[code_navigation]
|
||||
switch_head_impl=<Shift><Alt>s
|
||||
goto_file=<Shift><Alt>g
|
||||
|
||||
[commander]
|
||||
show_panel=
|
||||
show_panel_commands=<Primary>semicolon
|
||||
show_panel_files=
|
||||
|
||||
[file_browser]
|
||||
focus_file_list=
|
||||
focus_path_entry=
|
||||
rename_object=
|
||||
create_file=
|
||||
create_dir=
|
||||
rename_refresh=
|
||||
track_current=
|
||||
|
||||
[vimode]
|
||||
enable_vim=
|
||||
insert_for_dummies=
|
||||
|
||||
[ProjectOrganizer]
|
||||
find_in_project=
|
||||
find_file=<Primary>p
|
||||
find_tag=
|
||||
swap_header_source=
|
||||
focus_project_sidebar=
|
||||
open_file_manager=
|
||||
open_terminal=
|
||||
|
||||
[doc_chars]
|
||||
Document current word=
|
||||
Document interactive=
|
||||
|
||||
[GeanyCtags]
|
||||
generate_tags=
|
||||
find_tag=
|
||||
|
||||
[keyrecord]
|
||||
record=
|
||||
play=
|
||||
|
||||
[geanyprj]
|
||||
find_in_project=
|
||||
|
||||
[html_chars]
|
||||
insert_html_chars=
|
||||
replace_special_characters=
|
||||
htmltoogle_toggle_plugin_status=
|
||||
|
||||
[extra_select]
|
||||
column_mode=<Primary><Shift>v
|
||||
goto_line_extend=<Primary><Shift>g
|
||||
brace_match_extend=<Primary><Shift>percent
|
||||
convert_selection=
|
||||
set_anchor=
|
||||
select_to_anchor=
|
||||
rect_select_to_anchor=
|
||||
|
||||
[spellcheck]
|
||||
spell_check=
|
||||
spell_toggle_typing=
|
17
.config/geany/plugins/addons/addons.conf
Normal file
17
.config/geany/plugins/addons/addons.conf
Normal file
@ -0,0 +1,17 @@
|
||||
[addons]
|
||||
show_toolbar_doclist_item=true
|
||||
doclist_sort_mode=2
|
||||
enable_openuri=false
|
||||
enable_tasks=true
|
||||
tasks_token_list=TODO;FIXME
|
||||
tasks_scan_all_documents=false
|
||||
enable_systray=false
|
||||
enable_bookmarklist=true
|
||||
enable_markword=false
|
||||
enable_markword_single_click_deselect=false
|
||||
strip_trailing_blank_lines=false
|
||||
enable_xmltagging=false
|
||||
enable_enclose_words=false
|
||||
enable_enclose_words_auto=false
|
||||
enable_colortip=true
|
||||
enable_double_click_color_chooser=true
|
23
.config/geany/plugins/autoclose/autoclose.conf
Normal file
23
.config/geany/plugins/autoclose/autoclose.conf
Normal file
@ -0,0 +1,23 @@
|
||||
[autoclose]
|
||||
parenthesis=true
|
||||
abracket=true
|
||||
abracket_htmlonly=true
|
||||
cbracket=true
|
||||
sbracket=true
|
||||
dquote=true
|
||||
squote=true
|
||||
backquote=true
|
||||
backquote_bashonly=false
|
||||
comments_ac_enable=true
|
||||
delete_pairing_brace=true
|
||||
suppress_doubling=true
|
||||
enclose_selections=true
|
||||
comments_enclose=false
|
||||
keep_selection=true
|
||||
make_indent_for_cbracket=true
|
||||
move_cursor_to_beginning=true
|
||||
improved_cbracket_indent=true
|
||||
whitesmiths_style=false
|
||||
close_functions=true
|
||||
bcksp_remove_pair=false
|
||||
jump_on_tab=true
|
7
.config/geany/plugins/filebrowser/filebrowser.conf
Normal file
7
.config/geany/plugins/filebrowser/filebrowser.conf
Normal file
@ -0,0 +1,7 @@
|
||||
[filebrowser]
|
||||
open_command=dolphin "%d"
|
||||
show_hidden_files=true
|
||||
hide_object_files=true
|
||||
hidden_file_extensions=.o .obj .so .dll .a .lib .pyc
|
||||
fb_follow_path=false
|
||||
fb_set_project_base_path=false
|
26
.config/geany/plugins/geanydoc/geanydoc.conf
Normal file
26
.config/geany/plugins/geanydoc/geanydoc.conf
Normal file
@ -0,0 +1,26 @@
|
||||
[C]
|
||||
internal=false
|
||||
command0=man -P "col -b" -S 2:3:5 '%w'
|
||||
command1=devhelp -s '%w'
|
||||
|
||||
[C++]
|
||||
internal=false
|
||||
command0=man -P "col -b" -S 2:3:5 '%w'
|
||||
command1=devhelp -s '%w'
|
||||
|
||||
[PHP]
|
||||
internal=false
|
||||
command0=firefox "http://www.php.net/%w"
|
||||
|
||||
[Sh]
|
||||
internal=true
|
||||
command0=man -P "col -b" -S 1:4:5:6:7:8:9 '%w'
|
||||
|
||||
[Python]
|
||||
internal=true
|
||||
command0=pydoc '%w'
|
||||
|
||||
[None]
|
||||
internal=false
|
||||
command0=safari "https://searxng.jaandrle.cz/search?q=%w&language=all&time_range=&safesearch=0&categories=general"
|
||||
|
17
.config/geany/plugins/saveactions/saveactions.conf
Normal file
17
.config/geany/plugins/saveactions/saveactions.conf
Normal file
@ -0,0 +1,17 @@
|
||||
[saveactions]
|
||||
enable_autosave=false
|
||||
enable_autosave_losing_focus=false
|
||||
enable_instantsave=false
|
||||
enable_backupcopy=false
|
||||
|
||||
[autosave]
|
||||
print_messages=false
|
||||
save_all=false
|
||||
interval=300
|
||||
|
||||
[instantsave]
|
||||
default_ft=None
|
||||
|
||||
[backupcopy]
|
||||
dir_levels=0
|
||||
time_fmt=%Y-%m-%d-%H-%M-%S
|
16
.config/geany/plugins/treebrowser/treebrowser.conf
Normal file
16
.config/geany/plugins/treebrowser/treebrowser.conf
Normal file
@ -0,0 +1,16 @@
|
||||
[treebrowser]
|
||||
open_external_cmd=xdg-open '%d'
|
||||
open_terminal=xterm
|
||||
reverse_filter=false
|
||||
one_click_chdoc=false
|
||||
show_hidden_files=false
|
||||
hide_object_files=false
|
||||
show_bars=1
|
||||
chroot_on_dclick=false
|
||||
follow_current_doc=true
|
||||
on_delete_close_file=true
|
||||
on_open_focus_editor=false
|
||||
show_tree_lines=true
|
||||
show_bookmarks=false
|
||||
show_icons=2
|
||||
open_new_files=true
|
4
.config/geany/plugins/vimode/vimode.conf
Normal file
4
.config/geany/plugins/vimode/vimode.conf
Normal file
@ -0,0 +1,4 @@
|
||||
[Settings]
|
||||
enable_vim=false
|
||||
insert_for_dummies=false
|
||||
start_in_insert=true
|
1486
.config/geany/tags/browser.js.tags
Normal file
1486
.config/geany/tags/browser.js.tags
Normal file
File diff suppressed because it is too large
Load Diff
424
.config/geany/tags/em.js.tags
Normal file
424
.config/geany/tags/em.js.tags
Normal file
@ -0,0 +1,424 @@
|
||||
# format=pipe
|
||||
E|||
|
||||
Form|||
|
||||
Infinity|||
|
||||
LN10|||
|
||||
LN2|||
|
||||
LOG10E|||
|
||||
LOG2E|||
|
||||
NaN|||
|
||||
Number|number|(object o)|
|
||||
PI|||
|
||||
Positioning|||
|
||||
Property|||
|
||||
SQRT2|||
|
||||
String|string|(object o)|
|
||||
URL|||
|
||||
UTC|int|(int year, int month, int day, int hours, int minutes, int seconds, int ms)|
|
||||
aLink|||
|
||||
abbr|||
|
||||
abs|float|(float x)|
|
||||
accept|||
|
||||
acceptCharset|||
|
||||
accessKey|||
|
||||
acos|float|(float x)|
|
||||
action|||
|
||||
add||(option o[, int before])|
|
||||
alert||(mixed value)|
|
||||
align|||
|
||||
alt|||
|
||||
altKey|||
|
||||
appCodeName|||
|
||||
appName|||
|
||||
appVersion|||
|
||||
appendChild|node|(node n)|
|
||||
archive|||
|
||||
asin|float|(float x)|
|
||||
assign||(string url)|
|
||||
atan|float|(float x)|
|
||||
atan2|float|(float y, float x)|
|
||||
attributes|||
|
||||
availHeight|||
|
||||
availWidth|||
|
||||
axis|||
|
||||
background|||
|
||||
backgroundAttachment|||
|
||||
backgroundColor|||
|
||||
backgroundImage|||
|
||||
backgroundPosition|||
|
||||
backgroundPositionX|||
|
||||
backgroundPositionY|||
|
||||
backgroundRepeat|||
|
||||
bgColor|||
|
||||
border|||
|
||||
borderBottom|||
|
||||
borderBottomColor|||
|
||||
borderBottomStyle|||
|
||||
borderBottomWidth|||
|
||||
borderCollapse|||
|
||||
borderColor|||
|
||||
borderLeft|||
|
||||
borderLeftColor|||
|
||||
borderLeftStyle|||
|
||||
borderLeftWidth|||
|
||||
borderRight|||
|
||||
borderRightColor|||
|
||||
borderRightStyle|||
|
||||
borderRightWidth|||
|
||||
borderSpacing|||
|
||||
borderStyle|||
|
||||
borderTop|||
|
||||
borderTopColor|||
|
||||
borderTopStyle|||
|
||||
borderTopWidth|||
|
||||
borderWidth|||
|
||||
bottom|||
|
||||
bubbles|||
|
||||
button|||
|
||||
cancelable|||
|
||||
caption|||
|
||||
captionSide|||
|
||||
ceil|int|(float x)|
|
||||
cellIndex|||
|
||||
cellPadding|||
|
||||
cellSpacing|||
|
||||
cells|||
|
||||
ch|||
|
||||
chOff|||
|
||||
charAt|string|(int index)|
|
||||
charCodeAt|int|(int index)|
|
||||
charset|||
|
||||
checked|||
|
||||
childNodes|||
|
||||
className|||
|
||||
clear|||
|
||||
clearInterval||(int id)|
|
||||
clearTimeout||(int id)|
|
||||
clientHeight|||
|
||||
clientWidth|||
|
||||
clientX|||
|
||||
clientY|||
|
||||
clip|||
|
||||
cloneNode|node|(bool deep)|
|
||||
closed|||
|
||||
code|||
|
||||
codeBase|||
|
||||
codeType|||
|
||||
colSpan|||
|
||||
color|||
|
||||
colorDepth|||
|
||||
cols|||
|
||||
compile|regexp|(regexp r,[ string modifier])|
|
||||
complete|||
|
||||
concat|string|(string s1, string s2[, ...])|
|
||||
confirm|bool|(string message)|
|
||||
constructor|||
|
||||
content|||
|
||||
contentDocument|||
|
||||
contentWindow|||
|
||||
cookie|||
|
||||
cookieEnabled|||
|
||||
coords|||
|
||||
cos|float|(float x)|
|
||||
counterIncrement|||
|
||||
counterReset|||
|
||||
cssFloat|||
|
||||
cssText|||
|
||||
ctrlKey|||
|
||||
currentTarget|||
|
||||
cursor|||
|
||||
data|||
|
||||
declare|||
|
||||
defaultChecked|||
|
||||
defaultSelected|||
|
||||
defaultStatus|||
|
||||
defaultValue|||
|
||||
deleteCell||(int index)|
|
||||
deleteRow||(int index)|
|
||||
dir|||
|
||||
direction|||
|
||||
disabled|||
|
||||
display|||
|
||||
document|||
|
||||
documentMode|||
|
||||
domain|||
|
||||
elements|||
|
||||
emptyCells|||
|
||||
enctype|||
|
||||
escape|string|(string str)|
|
||||
eval|mixed|(string code)|
|
||||
eventPhase|||
|
||||
exec|mixed|(string str)|
|
||||
exp|float|(float x)|
|
||||
firstChild|||
|
||||
floor|int|(float x)|
|
||||
font|||
|
||||
fontFamily|||
|
||||
fontSize|||
|
||||
fontSizeAdjust|||
|
||||
fontStretch|||
|
||||
fontStyle|||
|
||||
fontVariant|||
|
||||
fontWeight|||
|
||||
form|||
|
||||
frame|||
|
||||
frameBorder|||
|
||||
frames|||
|
||||
fromCharCode|string|(int c1[, int c2[, ...]])|
|
||||
getAttribute|mixed|(string name)|
|
||||
getElementById|mixed|(string id)|
|
||||
getElementsByName|array|(string name)|
|
||||
getElementsByTagName|array|(string tagname)|
|
||||
global|||
|
||||
go||(mixed value)|
|
||||
hash|||
|
||||
headers|||
|
||||
height|||
|
||||
history|||
|
||||
host|||
|
||||
hostname|||
|
||||
href|||
|
||||
hreflang|||
|
||||
hspace|||
|
||||
httpEquiv|||
|
||||
id|||
|
||||
ignoreCase|||
|
||||
index|||
|
||||
indexOf|int|(string search[, int start])|
|
||||
innerHTML|||
|
||||
innerHeight|||
|
||||
innerWidth|||
|
||||
insertBefore|node|(node newnode[, node refnode])|
|
||||
insertCell||(int index)|
|
||||
insertRow||(int index)|
|
||||
isFinite|bool|(mixed var)|
|
||||
isNaN|bool|(mixed var)|
|
||||
item|node|(int index)|
|
||||
join|string|(string separator)|
|
||||
label|||
|
||||
lang|||
|
||||
lastChild|||
|
||||
lastIndex|||
|
||||
lastIndexOf|int|(string search[, int start])|
|
||||
lastModified|||
|
||||
left|||
|
||||
length|||
|
||||
letterSpacing|||
|
||||
lineHeight|||
|
||||
link|||
|
||||
listStyle|||
|
||||
listStyleImage|||
|
||||
listStylePosition|||
|
||||
listStyleType|||
|
||||
location|||
|
||||
log|float|(float x)|
|
||||
longDesc|||
|
||||
lowsrc|||
|
||||
margin|||
|
||||
marginBottom|||
|
||||
marginHeight|||
|
||||
marginLeft|||
|
||||
marginRight|||
|
||||
marginTop|||
|
||||
marginWidth|||
|
||||
markerOffset|||
|
||||
marks|||
|
||||
match|bool|(regexp r)|
|
||||
max|float|(float f1[, float f2[, ...]])|
|
||||
maxHeight|||
|
||||
maxLength|||
|
||||
maxWidth|||
|
||||
media|||
|
||||
metaKey|||
|
||||
method|||
|
||||
min|float|(float f1[, float f2[, ...]])|
|
||||
minHeight|||
|
||||
minWidth|||
|
||||
moveBy||(int x, int y)|
|
||||
moveTo||(int x, int y)|
|
||||
multiline|||
|
||||
multiple|||
|
||||
name|||
|
||||
navigator|||
|
||||
nextSibling|||
|
||||
noHref|||
|
||||
noResize|||
|
||||
nodeName|||
|
||||
nodeType|||
|
||||
nodeValue|||
|
||||
offsetHeight|||
|
||||
offsetLeft|||
|
||||
offsetParent|||
|
||||
offsetTop|||
|
||||
offsetWidth|||
|
||||
onabort|||
|
||||
onblur|||
|
||||
onchange|||
|
||||
onclick|||
|
||||
ondblclick|||
|
||||
onerror|||
|
||||
onfocus|||
|
||||
onkeydown|||
|
||||
onkeypress|||
|
||||
onkeyup|||
|
||||
onload|||
|
||||
onmousedown|||
|
||||
onmousemove|||
|
||||
onmouseout|||
|
||||
onmouseover|||
|
||||
onmouseup|||
|
||||
onresize|||
|
||||
onselect|||
|
||||
onunload|||
|
||||
open||([string url[, string name[, string specs[, bool replace]]]])|
|
||||
opener|||
|
||||
options|||
|
||||
orphans|||
|
||||
outerHeight|||
|
||||
outerWidth|||
|
||||
outline|||
|
||||
outlineColor|||
|
||||
outlineStyle|||
|
||||
outlineWidth|||
|
||||
overflow|||
|
||||
ownerDocument|||
|
||||
padding|||
|
||||
paddingBottom|||
|
||||
paddingLeft|||
|
||||
paddingRight|||
|
||||
paddingTop|||
|
||||
page|||
|
||||
pageBreakAfter|||
|
||||
pageBreakBefore|||
|
||||
pageBreakInside|||
|
||||
pageXOffset|||
|
||||
pageYOffset|||
|
||||
parent|||
|
||||
parentNode|||
|
||||
parse|int|(string date)|
|
||||
parseFloat|float|(string str)|
|
||||
parseInt|int|(string str)|
|
||||
pathname|||
|
||||
pixelDepth|||
|
||||
platform|||
|
||||
port|||
|
||||
position|||
|
||||
pow|float|(float x, float y)|
|
||||
previousSibling|||
|
||||
prompt|string|(string message, string default)|
|
||||
protocol|||
|
||||
prototype|||
|
||||
push||(mixed value)|
|
||||
quotes|||
|
||||
readOnly|||
|
||||
readyState|||
|
||||
referrer|||
|
||||
rel|||
|
||||
relatedTarget|||
|
||||
remove||(int index)|
|
||||
removeAttribute||(string name)|
|
||||
removeChild||(node child)|
|
||||
replace|string|(regexp r, string newstring)|
|
||||
replaceChild|node|(node oldnode, node newnode)|
|
||||
resizeBy||(int width, int height)|
|
||||
resizeTo||(int width, int height)|
|
||||
rev|||
|
||||
right|||
|
||||
round|int|(float x)|
|
||||
rowIndex|||
|
||||
rowSpan|||
|
||||
rows|||
|
||||
rules|||
|
||||
scope|||
|
||||
screen|||
|
||||
screenLeft|||
|
||||
screenTop|||
|
||||
screenX|||
|
||||
screenY|||
|
||||
scrollBy||(int x, int y)|
|
||||
scrollHeight|||
|
||||
scrollLeft|||
|
||||
scrollTo||(int x, int y)|
|
||||
scrollTop|||
|
||||
scrollWidth|||
|
||||
scrolling|||
|
||||
search|int|(regexp r)|
|
||||
sectionRowIndex|||
|
||||
selected|||
|
||||
selectedIndex|||
|
||||
self|||
|
||||
setAttribute||(string name, mixed value)|
|
||||
setDate||(int day)|
|
||||
setFullYear||(int year)|
|
||||
setHours||(int hours)|
|
||||
setInterval|int|(mixed code, int millisec[, string language])|
|
||||
setMilliseconds||(int milliseconds)|
|
||||
setMinutes||(int minutes)|
|
||||
setMonth||(int month)|
|
||||
setSeconds||(int seconds)|
|
||||
setTime||(int timestamp)|
|
||||
setTimeout|int|(mixed code, int millisec[, string language])|
|
||||
setUTCDate||(int day)|
|
||||
setUTCFullYear||(int year)|
|
||||
setUTCHours||(int hour)|
|
||||
setUTCMilliseconds||(int milliseconds)|
|
||||
setUTCMinutes||(int minutes)|
|
||||
setUTCMonth||(int month)|
|
||||
setUTCSeconds||(int seconds)|
|
||||
setYear||(int year)|
|
||||
shape|||
|
||||
shiftKey|||
|
||||
sin|float|(float x)|
|
||||
size|||
|
||||
slice|string|(int begin[, int end])|
|
||||
sort|array|([function sortfunc])|
|
||||
source|||
|
||||
splice|array|(int index, int count[, mixed el1[, mixed el2[, ...]]])|
|
||||
split|array|([string separator[, int limit]])|
|
||||
sqrt|float|(float x)|
|
||||
src|||
|
||||
standby|||
|
||||
status|||
|
||||
style|||
|
||||
substr|string|(int start[, int length])|
|
||||
substring|string|(int from[, int to])|
|
||||
summary|||
|
||||
tBodies|||
|
||||
tFoot|||
|
||||
tHead|||
|
||||
tabIndex|||
|
||||
tableLayout|||
|
||||
tagName|||
|
||||
tan|float|(float x)|
|
||||
target|||
|
||||
test|bool|(string str)|
|
||||
text|||
|
||||
textAlign|||
|
||||
textDecoration|||
|
||||
textIndent|||
|
||||
textShadow|||
|
||||
textTransform|||
|
||||
timeStamp|||
|
||||
title|||
|
||||
toExponential|string|(int digits)|
|
||||
toFixed|string|(int digits)|
|
||||
toPrecision|string|(int digits)|
|
||||
top|||
|
||||
type|||
|
||||
undefined|||
|
||||
unescape|string|(string str)|
|
||||
unicodeBidi|||
|
||||
unshift|int|(mixed el1[, mixed el2[, ...]])|
|
||||
useMap|||
|
||||
userAgent|||
|
||||
vAlign|||
|
||||
value|||
|
||||
verticalAlign|||
|
||||
visibility|||
|
||||
vspace|||
|
||||
whiteSpace|||
|
||||
widows|||
|
||||
width|||
|
||||
write||(mixed e1[, mixed e2[, ...]])|
|
||||
writeln||(mixed e1[, mixed e2[, ...]])|
|
||||
zIndex|||
|
415
.config/geany/tags/node-v0.8.16.js.tags
Normal file
415
.config/geany/tags/node-v0.8.16.js.tags
Normal file
@ -0,0 +1,415 @@
|
||||
# format=pipe
|
||||
log|console.|([data], [...])|
|
||||
info|console.|([data], [...])|
|
||||
error|console.|([data], [...])|
|
||||
warn|console.|([data], [...])|
|
||||
dir|console.|(obj)|
|
||||
time|console.|(label)|
|
||||
timeEnd|console.|(label)|
|
||||
trace|console.|(label)|
|
||||
assert|console.|(expression, [message])|
|
||||
abort|process.|()|
|
||||
chdir|process.|(directory)|
|
||||
cwd|process.|()|
|
||||
exit|process.|([code])|
|
||||
getgid|process.|()|
|
||||
setgid|process.|(id)|
|
||||
getuid|process.|()|
|
||||
setuid|process.|(id)|
|
||||
kill|process.|(pid, [signal])|
|
||||
memoryUsage|process.|()|
|
||||
nextTick|process.|(callback)|
|
||||
umask|process.|([mask])|
|
||||
uptime|process.|()|
|
||||
hrtime|process.|()|
|
||||
resolve|require.|()|
|
||||
setTimeout||(cb, ms)|
|
||||
clearTimeout||(t)|
|
||||
setInterval||(cb, ms)|
|
||||
log|console.|([data], [...])|
|
||||
info|console.|([data], [...])|
|
||||
error|console.|([data], [...])|
|
||||
warn|console.|([data], [...])|
|
||||
dir|console.|(obj)|
|
||||
time|console.|(label)|
|
||||
timeEnd|console.|(label)|
|
||||
trace|console.|(label)|
|
||||
assert|console.|(expression, [message])|
|
||||
abort|process.|()|
|
||||
chdir|process.|(directory)|
|
||||
cwd|process.|()|
|
||||
exit|process.|([code])|
|
||||
getgid|process.|()|
|
||||
setgid|process.|(id)|
|
||||
getuid|process.|()|
|
||||
setuid|process.|(id)|
|
||||
kill|process.|(pid, [signal])|
|
||||
memoryUsage|process.|()|
|
||||
nextTick|process.|(callback)|
|
||||
umask|process.|([mask])|
|
||||
uptime|process.|()|
|
||||
hrtime|process.|()|
|
||||
resolve|require.|()|
|
||||
setTimeout||(cb, ms)|
|
||||
clearTimeout||(t)|
|
||||
setInterval||(cb, ms)|
|
||||
require|module.|(id): Object|
|
||||
format|util.|(format, [...])|
|
||||
debug|util.|(string)|
|
||||
error|util.|([...])|
|
||||
puts|util.|([...])|
|
||||
print|util.|([...])|
|
||||
log|util.|(string)|
|
||||
inspect|util.|(object, [showHidden], [depth], [colors])|
|
||||
isArray|util.|(object)|
|
||||
isRegExp|util.|(object)|
|
||||
isDate|util.|(object)|
|
||||
isError|util.|(object)|
|
||||
pump|util.|(readableStream, writableStream, [callback])|
|
||||
inherits|util.|(constructor, superConstructor)|
|
||||
addListener|events.EventEmitter#|(event, listener)|
|
||||
on|events.EventEmitter#|(event, listener)|
|
||||
once|events.EventEmitter#|(event, listener)|
|
||||
removeListener|events.EventEmitter#|(event, listener)|
|
||||
removeAllListeners|events.EventEmitter#|([event])|
|
||||
setMaxListeners|events.EventEmitter#|(n)|
|
||||
listeners|events.EventEmitter#|(event)|
|
||||
emit|events.EventEmitter#|(event, [arg1], [arg2], [...])|
|
||||
create|domain.|(): Domain|
|
||||
run|Domain#|(fn)|
|
||||
add|Domain#|(emitter)|
|
||||
remove|Domain#|(emitter)|
|
||||
bind|Domain#|(callback): Function|
|
||||
intercept|Domain#|(callback): Function|
|
||||
dispose|Domain#|()|
|
||||
write|Buffer#|(string, [offset], [length], [encoding])|
|
||||
toString|Buffer#|([encoding], [start], [end])|
|
||||
copy|Buffer#|(targetBuffer, [targetStart], [sourceStart], [sourceEnd])|
|
||||
slice|Buffer#|([start], [end])|
|
||||
readUInt8|Buffer#|(offset, [noAssert])|
|
||||
readUInt16LE|Buffer#|(offset, [noAssert])|
|
||||
readUInt16BE|Buffer#|(offset, [noAssert])|
|
||||
readUInt32LE|Buffer#|(offset, [noAssert])|
|
||||
readUInt32BE|Buffer#|(offset, [noAssert])|
|
||||
readInt8|Buffer#|(offset, [noAssert])|
|
||||
readInt16LE|Buffer#|(offset, [noAssert])|
|
||||
readInt16BE|Buffer#|(offset, [noAssert])|
|
||||
readInt32LE|Buffer#|(offset, [noAssert])|
|
||||
readInt32BE|Buffer#|(offset, [noAssert])|
|
||||
readFloatLE|Buffer#|(offset, [noAssert])|
|
||||
readFloatBE|Buffer#|(offset, [noAssert])|
|
||||
readDoubleLE|Buffer#|(offset, [noAssert])|
|
||||
readDoubleBE|Buffer#|(offset, [noAssert])|
|
||||
writeUInt8|Buffer#|(value, offset, [noAssert])|
|
||||
writeUInt16LE|Buffer#|(value, offset, [noAssert])|
|
||||
writeUInt16BE|Buffer#|(value, offset, [noAssert])|
|
||||
writeUInt32LE|Buffer#|(value, offset, [noAssert])|
|
||||
writeUInt32BE|Buffer#|(value, offset, [noAssert])|
|
||||
writeInt8|Buffer#|(value, offset, [noAssert])|
|
||||
writeInt16LE|Buffer#|(value, offset, [noAssert])|
|
||||
writeInt16BE|Buffer#|(value, offset, [noAssert])|
|
||||
writeInt32LE|Buffer#|(value, offset, [noAssert])|
|
||||
writeInt32BE|Buffer#|(value, offset, [noAssert])|
|
||||
writeFloatLE|Buffer#|(value, offset, [noAssert])|
|
||||
writeFloatBE|Buffer#|(value, offset, [noAssert])|
|
||||
writeDoubleLE|Buffer#|(value, offset, [noAssert])|
|
||||
writeDoubleBE|Buffer#|(value, offset, [noAssert])|
|
||||
fill|Buffer#|(value, [offset], [end])|
|
||||
isBuffer|Buffer#|(obj)|
|
||||
byteLength|Buffer#|(string, [encoding])|
|
||||
concat|Buffer#|(list, [totalLength])|
|
||||
Buffer|buffer.||
|
||||
setEncoding|Readable Stream#|([encoding])|
|
||||
pause|Readable Stream#|()|
|
||||
resume|Readable Stream#|()|
|
||||
destroy|Readable Stream#|()|
|
||||
pipe|Readable Stream#|(destination, [options])|
|
||||
write|Writable Stream#|(string, [encoding])|
|
||||
write|Writable Stream#|(buffer)|
|
||||
end|Writable Stream#|()|
|
||||
end|Writable Stream#|(string, encoding)|
|
||||
end|Writable Stream#|(buffer)|
|
||||
destroy|Writable Stream#|()|
|
||||
destroySoon|Writable Stream#|()|
|
||||
createCredentials|crypto.|(details)|
|
||||
createHash|crypto.|(algorithm)|
|
||||
createHmac|crypto.|(algorithm, key)|
|
||||
createCipher|crypto.|(algorithm, password)|
|
||||
createCipheriv|crypto.|(algorithm, key, iv)|
|
||||
createDecipher|crypto.|(algorithm, password)|
|
||||
createDecipheriv|crypto.|(algorithm, key, iv)|
|
||||
createSign|crypto.|(algorithm)|
|
||||
createVerify|crypto.|(algorithm)|
|
||||
createDiffieHellman|crypto.|(prime_length)|
|
||||
createDiffieHellman|crypto.|(prime, [encoding])|
|
||||
getDiffieHellman|crypto.|(group_name)|
|
||||
pbkdf2|crypto.|(password, salt, iterations, keylen, callback)|
|
||||
randomBytes|crypto.|(size, [callback])|
|
||||
update|Hash#|(data, [input_encoding])|
|
||||
digest|Hash#|([encoding])|
|
||||
update|Hmac#|(data)|
|
||||
digest|Hmac#|([encoding])|
|
||||
update|Cipher#|(data, [input_encoding], [output_encoding])|
|
||||
final|Cipher#|([output_encoding])|
|
||||
setAutoPadding|Cipher#|(auto_padding=true)|
|
||||
update|Decipher#|(data, [input_encoding], [output_encoding])|
|
||||
final|Decipher#|([output_encoding])|
|
||||
setAutoPadding|Decipher#|(auto_padding=true)|
|
||||
update|Signer#|(data)|
|
||||
sign|Signer#|(private_key, [output_format])|
|
||||
update|Verify#|(data)|
|
||||
verify|Verify#|(object, signature, [signature_format])|
|
||||
generateKeys|DiffieHellman#|([encoding])|
|
||||
computeSecret|DiffieHellman#|(other_public_key, [input_encoding], [output_encoding])|
|
||||
getPrime|DiffieHellman#|([encoding])|
|
||||
getGenerator|DiffieHellman#|([encoding])|
|
||||
getPublicKey|DiffieHellman#|([encoding])|
|
||||
getPrivateKey|DiffieHellman#|([encoding])|
|
||||
setPublicKey|DiffieHellman#|(public_key, [encoding])|
|
||||
setPrivateKey|DiffieHellman#|(public_key, [encoding])|
|
||||
createServer|tls_(ssl).|(options, [secureConnectionListener])|
|
||||
connect|tls_(ssl).|(options, [callback])|
|
||||
connect|tls_(ssl).|(port, [host], [options], [callback])|
|
||||
createSecurePair|tls_(ssl).|([credentials], [isServer], [requestCert], [rejectUnauthorized])|
|
||||
listen|tls.Server#|(port, [host], [callback])|
|
||||
close|tls.Server#|()|
|
||||
address|tls.Server#|()|
|
||||
addContext|tls.Server#|(hostname, credentials)|
|
||||
getPeerCertificate|tls.CleartextStream#|()|
|
||||
getCipher|tls.CleartextStream#|()|
|
||||
address|tls.CleartextStream#|()|
|
||||
write|StringDecoder#|(buffer)|
|
||||
rename|fs.|(oldPath, newPath, [callback])|
|
||||
renameSync|fs.|(oldPath, newPath)|
|
||||
truncate|fs.|(fd, len, [callback])|
|
||||
truncateSync|fs.|(fd, len)|
|
||||
chown|fs.|(path, uid, gid, [callback])|
|
||||
chownSync|fs.|(path, uid, gid)|
|
||||
fchown|fs.|(fd, uid, gid, [callback])|
|
||||
fchownSync|fs.|(fd, uid, gid)|
|
||||
lchown|fs.|(path, uid, gid, [callback])|
|
||||
lchownSync|fs.|(path, uid, gid)|
|
||||
chmod|fs.|(path, mode, [callback])|
|
||||
chmodSync|fs.|(path, mode)|
|
||||
fchmod|fs.|(fd, mode, [callback])|
|
||||
fchmodSync|fs.|(fd, mode)|
|
||||
lchmod|fs.|(path, mode, [callback])|
|
||||
lchmodSync|fs.|(path, mode)|
|
||||
stat|fs.|(path, [callback])|
|
||||
lstat|fs.|(path, [callback])|
|
||||
fstat|fs.|(fd, [callback])|
|
||||
statSync|fs.|(path)|
|
||||
lstatSync|fs.|(path)|
|
||||
fstatSync|fs.|(fd)|
|
||||
link|fs.|(srcpath, dstpath, [callback])|
|
||||
linkSync|fs.|(srcpath, dstpath)|
|
||||
symlink|fs.|(srcpath, dstpath, [type], [callback])|
|
||||
symlinkSync|fs.|(srcpath, dstpath, [type])|
|
||||
readlink|fs.|(path, [callback])|
|
||||
readlinkSync|fs.|(path)|
|
||||
realpath|fs.|(path, [cache], callback)|
|
||||
realpathSync|fs.|(path, [cache])|
|
||||
unlink|fs.|(path, [callback])|
|
||||
unlinkSync|fs.|(path)|
|
||||
rmdir|fs.|(path, [callback])|
|
||||
rmdirSync|fs.|(path)|
|
||||
mkdir|fs.|(path, [mode], [callback])|
|
||||
mkdirSync|fs.|(path, [mode])|
|
||||
readdir|fs.|(path, [callback])|
|
||||
readdirSync|fs.|(path)|
|
||||
close|fs.|(fd, [callback])|
|
||||
closeSync|fs.|(fd)|
|
||||
open|fs.|(path, flags, [mode], [callback])|
|
||||
openSync|fs.|(path, flags, [mode])|
|
||||
utimes|fs.|(path, atime, mtime, [callback])|
|
||||
utimesSync|fs.|(path, atime, mtime)|
|
||||
futimes|fs.|(fd, atime, mtime, [callback])|
|
||||
futimesSync|fs.|(fd, atime, mtime)|
|
||||
fsync|fs.|(fd, [callback])|
|
||||
fsyncSync|fs.|(fd)|
|
||||
write|fs.|(fd, buffer, offset, length, position, [callback])|
|
||||
writeSync|fs.|(fd, buffer, offset, length, position)|
|
||||
read|fs.|(fd, buffer, offset, length, position, [callback])|
|
||||
readSync|fs.|(fd, buffer, offset, length, position)|
|
||||
readFile|fs.|(filename, [encoding], [callback])|
|
||||
readFileSync|fs.|(filename, [encoding])|
|
||||
writeFile|fs.|(filename, data, [encoding], [callback])|
|
||||
writeFileSync|fs.|(filename, data, [encoding])|
|
||||
appendFile|fs.|(filename, data, encoding='utf8', [callback])|
|
||||
appendFileSync|fs.|(filename, data, encoding='utf8')|
|
||||
watchFile|fs.|(filename, [options], listener)|
|
||||
unwatchFile|fs.|(filename, [listener])|
|
||||
watch|fs.|(filename, [options], [listener])|
|
||||
exists|fs.|(path, [callback])|
|
||||
existsSync|fs.|(path)|
|
||||
createReadStream|fs.|(path, [options])|
|
||||
createWriteStream|fs.|(path, [options])|
|
||||
close|fs.FSWatcher#|()|
|
||||
normalize|path.|(p)|
|
||||
join|path.|([path1], [path2], [...])|
|
||||
resolve|path.|([from ...], to)|
|
||||
relative|path.|(from, to)|
|
||||
dirname|path.|(p)|
|
||||
basename|path.|(p, [ext])|
|
||||
extname|path.|(p)|
|
||||
createServer|net.|([options], [connectionListener])|
|
||||
connect|net.|(options, [connectionListener])|
|
||||
createConnection|net.|(options, [connectionListener])|
|
||||
connect|net.|(port, [host], [connectListener])|
|
||||
createConnection|net.|(port, [host], [connectListener])|
|
||||
connect|net.|(path, [connectListener])|
|
||||
createConnection|net.|(path, [connectListener])|
|
||||
isIP|net.|(input)|
|
||||
isIPv4|net.|(input)|
|
||||
isIPv6|net.|(input)|
|
||||
listen|net.Server#|(port, [host], [backlog], [callback])|
|
||||
listen|net.Server#|(path, [callback])|
|
||||
listen|net.Server#|(handle, [callback])|
|
||||
close|net.Server#|([callback])|
|
||||
address|net.Server#|()|
|
||||
Socket|net.Socket#|([options])|
|
||||
connect|net.Socket#|(port, [host], [connectListener])|
|
||||
connect|net.Socket#|(path, [connectListener])|
|
||||
setEncoding|net.Socket#|([encoding])|
|
||||
write|net.Socket#|(data, [encoding], [callback])|
|
||||
end|net.Socket#|([data], [encoding])|
|
||||
destroy|net.Socket#|()|
|
||||
pause|net.Socket#|()|
|
||||
resume|net.Socket#|()|
|
||||
setTimeout|net.Socket#|(timeout, [callback])|
|
||||
setNoDelay|net.Socket#|([noDelay])|
|
||||
setKeepAlive|net.Socket#|([enable], [initialDelay])|
|
||||
address|net.Socket#|()|
|
||||
createSocket|dgram.|(type, [callback])|
|
||||
send|Socket#|(buf, offset, length, port, address, [callback])|
|
||||
bind|Socket#|(port, [address])|
|
||||
close|Socket#|()|
|
||||
address|Socket#|()|
|
||||
setBroadcast|Socket#|(flag)|
|
||||
setTTL|Socket#|(ttl)|
|
||||
setMulticastTTL|Socket#|(ttl)|
|
||||
setMulticastLoopback|Socket#|(flag)|
|
||||
addMembership|Socket#|(multicastAddress, [multicastInterface])|
|
||||
dropMembership|Socket#|(multicastAddress, [multicastInterface])|
|
||||
lookup|dns.|(domain, [family], callback)|
|
||||
resolve|dns.|(domain, [rrtype], callback)|
|
||||
resolve4|dns.|(domain, callback)|
|
||||
resolve6|dns.|(domain, callback)|
|
||||
resolveMx|dns.|(domain, callback)|
|
||||
resolveTxt|dns.|(domain, callback)|
|
||||
resolveSrv|dns.|(domain, callback)|
|
||||
resolveNs|dns.|(domain, callback)|
|
||||
resolveCname|dns.|(domain, callback)|
|
||||
reverse|dns.|(ip, callback)|
|
||||
setEncoding|ClientResponse.|([encoding])|
|
||||
pause|ClientResponse.|()|
|
||||
resume|ClientResponse.|()|
|
||||
createServer|http.|([requestListener])|
|
||||
createClient|http.|([port], [host])|
|
||||
request|http.|(options, callback)|
|
||||
get|http.|(options, callback)|
|
||||
listen|http.Server#|(port, [hostname], [backlog], [callback])|
|
||||
listen|http.Server#|(path, [callback])|
|
||||
listen|http.Server#|(handle, [callback])|
|
||||
close|http.Server#|([callback])|
|
||||
setEncoding|http.ServerRequest#|([encoding])|
|
||||
pause|http.ServerRequest#|()|
|
||||
resume|http.ServerRequest#|()|
|
||||
writeContinue|http.ServerResponse#|()|
|
||||
writeHead|http.ServerResponse#|(statusCode, [reasonPhrase], [headers])|
|
||||
setHeader|http.ServerResponse#|(name, value)|
|
||||
getHeader|http.ServerResponse#|(name)|
|
||||
removeHeader|http.ServerResponse#|(name)|
|
||||
write|http.ServerResponse#|(chunk, [encoding])|
|
||||
addTrailers|http.ServerResponse#|(headers)|
|
||||
end|http.ServerResponse#|([data], [encoding])|
|
||||
write|http.ClientRequest#|(chunk, [encoding])|
|
||||
end|http.ClientRequest#|([data], [encoding])|
|
||||
abort|http.ClientRequest#|()|
|
||||
setTimeout|http.ClientRequest#|(timeout, [callback])|
|
||||
setNoDelay|http.ClientRequest#|([noDelay])|
|
||||
setSocketKeepAlive|http.ClientRequest#|([enable], [initialDelay])|
|
||||
listen|createServer.|(path, [callback])|
|
||||
listen|createServer.|(handle, [callback])|
|
||||
close|createServer.|([callback])|
|
||||
createServer|https.|(options, [requestListener])|
|
||||
request|https.|(options, callback)|
|
||||
get|https.|(options, callback)|
|
||||
parse|url.|(urlStr, [parseQueryString], [slashesDenoteHost])|
|
||||
format|url.|(urlObj)|
|
||||
resolve|url.|(from, to)|
|
||||
stringify|querystring.|(obj, [sep], [eq])|
|
||||
parse|querystring.|(str, [sep], [eq], [options])|
|
||||
decode|punycode.|(string)|
|
||||
encode|punycode.|(string)|
|
||||
toUnicode|punycode.|(domain)|
|
||||
toASCII|punycode.|(domain)|
|
||||
createInterface|readline.|(options)|
|
||||
setPrompt|Interface#|(prompt, length)|
|
||||
prompt|Interface#|([preserveCursor])|
|
||||
question|Interface#|(query, callback)|
|
||||
pause|Interface#|()|
|
||||
resume|Interface#|()|
|
||||
close|Interface#|()|
|
||||
write|Interface#|(data, [key])|
|
||||
start|repl.|(options)|
|
||||
runInThisContext|vm.|(code, [filename])|
|
||||
runInNewContext|vm.|(code, [sandbox], [filename])|
|
||||
runInContext|vm.|(code, context, [filename])|
|
||||
createContext|vm.|([initSandbox])|
|
||||
createScript|vm.|(code, [filename])|
|
||||
runInThisContext|Script#|()|
|
||||
runInNewContext|Script#|([sandbox])|
|
||||
kill|ChildProcess#|([signal])|
|
||||
send|ChildProcess#|(message, [sendHandle])|
|
||||
disconnect|ChildProcess#|()|
|
||||
spawn|child_process.|(command, [args], [options]): ChildProcess object|
|
||||
exec|child_process.|(command, [options], callback)|
|
||||
execFile|child_process.|(file, args, options, callback)|
|
||||
fork|child_process.|(modulePath, [args], [options])|
|
||||
fail|assert.|(actual, expected, message, operator)|
|
||||
ok|assert.|(value, message), assert.ok(value, [message])|
|
||||
equal|assert.|(actual, expected, [message])|
|
||||
notEqual|assert.|(actual, expected, [message])|
|
||||
deepEqual|assert.|(actual, expected, [message])|
|
||||
notDeepEqual|assert.|(actual, expected, [message])|
|
||||
strictEqual|assert.|(actual, expected, [message])|
|
||||
notStrictEqual|assert.|(actual, expected, [message])|
|
||||
throws|assert.|(block, [error], [message])|
|
||||
doesNotThrow|assert.|(block, [error], [message])|
|
||||
ifError|assert.|(value)|
|
||||
isatty|tty.|(fd)|
|
||||
setRawMode|tty.|(mode)|
|
||||
setRawMode|ReadStream#|(mode)|
|
||||
createGzip|zlib.|([options])|
|
||||
createGunzip|zlib.|([options])|
|
||||
createDeflate|zlib.|([options])|
|
||||
createInflate|zlib.|([options])|
|
||||
createDeflateRaw|zlib.|([options])|
|
||||
createInflateRaw|zlib.|([options])|
|
||||
createUnzip|zlib.|([options])|
|
||||
deflate|zlib.|(buf, callback)|
|
||||
deflateRaw|zlib.|(buf, callback)|
|
||||
gzip|zlib.|(buf, callback)|
|
||||
gunzip|zlib.|(buf, callback)|
|
||||
inflate|zlib.|(buf, callback)|
|
||||
inflateRaw|zlib.|(buf, callback)|
|
||||
unzip|zlib.|(buf, callback)|
|
||||
tmpDir|os.|()|
|
||||
hostname|os.|()|
|
||||
type|os.|()|
|
||||
platform|os.|()|
|
||||
arch|os.|()|
|
||||
release|os.|()|
|
||||
uptime|os.|()|
|
||||
loadavg|os.|()|
|
||||
totalmem|os.|()|
|
||||
freemem|os.|()|
|
||||
cpus|os.|()|
|
||||
networkInterfaces|os.|()|
|
||||
setupMaster|cluster.|([settings])|
|
||||
fork|cluster.|([env]): Worker object|
|
||||
disconnect|cluster.|([callback])|
|
||||
send|Worker#|(message, [sendHandle])|
|
||||
destroy|Worker#|()|
|
||||
disconnect|Worker#|()|
|
211
.config/geany/tags/std.js.tags
Normal file
211
.config/geany/tags/std.js.tags
Normal file
@ -0,0 +1,211 @@
|
||||
# format=pipe
|
||||
## global objects
|
||||
Array|||
|
||||
ArrayBuffer|||
|
||||
Boolean|||
|
||||
Date|||
|
||||
decodeURI||(encodedURI): string|
|
||||
decodeURIComponent||(encodedURI): string|
|
||||
encodeURI||(URI): string|
|
||||
encodeURIComponent||(str): string|
|
||||
Error|||
|
||||
eval||(string): void|
|
||||
EvalError|||
|
||||
Float32Array|||
|
||||
Float64Array|||
|
||||
Function|||
|
||||
Infinity|||
|
||||
Int16Array|||
|
||||
Int32Array|||
|
||||
Int8Array|||
|
||||
isFinite||(number): boolean|
|
||||
isNaN||(object): boolean|
|
||||
Iterator|||
|
||||
JSON|||
|
||||
Math|||
|
||||
NaN|||
|
||||
Number|||
|
||||
Object|||
|
||||
parseFloat||(string): number|
|
||||
parseInt||(string[, radix]): number|
|
||||
RangeError|||
|
||||
ReferenceError|||
|
||||
RegExp|||
|
||||
StopIteration|||
|
||||
String|||
|
||||
SyntaxError|||
|
||||
TypeError|||
|
||||
Uint16Array|||
|
||||
Uint32Array|||
|
||||
Uint8Array|||
|
||||
Uint8ClampedArray|||
|
||||
undefined|||
|
||||
uneval|||
|
||||
URIError|||
|
||||
## Array
|
||||
isArray|[static] Array.|(obj: Object): Boolean|
|
||||
length|Array.||
|
||||
pop|Array.|(): Array|
|
||||
push|Array.|(element1: Object, ..., elementN: Object): Number|
|
||||
reverse|Array.|(): Array|
|
||||
shift|Array.|(): Object|
|
||||
sort|Array.|([compareFunction]): Array|
|
||||
splice|Array.|(index: number[, howMany: number[, element1: Object[, ...[, elementN: Object]]]]): Array|
|
||||
unshift|Array.|(element1: Object, ..., elementN: Object): Number|
|
||||
concat|Array.|(value1: Object, value2: Object, ..., valueN: Object): Array|
|
||||
join|Array.|(separator: string): Array|
|
||||
slice|Array.|(begin: number[, end: number]): Array|
|
||||
indexOf|Array.|(element: Object): Number|
|
||||
lastIndexOf|Array.|(element: Object): Number|
|
||||
filter|Array.|(callback: Function[, thisObject: Object]): Array|
|
||||
forEach|Array.|(callback: Function[, thisObject: Object]): Array|
|
||||
every|Array.|(callback: Function[, thisObject: Object]): Boolean|
|
||||
map|Array.|(callback: Function[, thisObject: Object]): Array|
|
||||
some|Array.|(callback: Function[, thisObject: Object]): Boolean|
|
||||
reduce|Array.|(callback: Function[, initialValue: Object]): Object|
|
||||
reduceRight|Array.|(callback: Function[, initialValue: Object]): Object|
|
||||
## Date
|
||||
now|[static] Date.|(): void|
|
||||
parse|[static] Date.|(): number|
|
||||
UTC|[static] Date.|(): number|
|
||||
getDate|Date.|(): number|
|
||||
getDay|Date.|(): number|
|
||||
getFullYear|Date.|(): number|
|
||||
getHours|Date.|(): number|
|
||||
getMilliseconds|Date.|(): number|
|
||||
getMinutes|Date.|(): number|
|
||||
getMonth|Date.|(): number|
|
||||
getSeconds|Date.|(): number|
|
||||
getTime|Date.|(): number|
|
||||
getTimezoneOffset|Date.|(): number|
|
||||
getUTCDate|Date.|(): number|
|
||||
getUTCDay|Date.|(): number|
|
||||
getUTCFullYear|Date.|(): number|
|
||||
getUTCHours|Date.|(): number|
|
||||
getUTCMilliseconds|Date.|(): number|
|
||||
getUTCMinutes|Date.|(): number|
|
||||
getUTCMonth|Date.|(): number|
|
||||
getUTCSeconds|Date.|(): number|
|
||||
getYear|Date.|(): number|
|
||||
setFullYear|Date.|(year, [month], [day]): void|
|
||||
setMonth|Date.|(month, [day]): void|
|
||||
setDate|Date.|(day_of_month): void|
|
||||
setHours|Date.|(hours, [minutes], [seconds], [millisec]): void|
|
||||
setMinutes|Date.|(minutes, [seconds], [millisec]): void|
|
||||
setSeconds|Date.|(seconds, [millisec]): void|
|
||||
setMilliseconds|Date.|(milli): void|
|
||||
setTime|Date.|(milli): void|
|
||||
setUTCFullYear|Date.|(year, [month], [day]): void|
|
||||
setUTCMonth|Date.|(month, [day]): void|
|
||||
setUTCDate|Date.|(day_of_month): void|
|
||||
setUTCHours|Date.|(hours, [minutes], [seconds], [millisec]): void|
|
||||
setUTCMinutes|Date.|(minutes, [seconds], [millisec]): void|
|
||||
setUTCSeconds|Date.|(seconds, [millisec]): void|
|
||||
setUTCMilliseconds|Date.|(milli): void|
|
||||
setYear|Date.|(year): void|
|
||||
toDateString|Date.|(): string|
|
||||
toISOString|Date.|(): string|
|
||||
toGMTString|Date.|(): string|
|
||||
toLocaleDateString|Date.|(): string|
|
||||
toLocaleFormat|Date.|(): string|
|
||||
toLocaleString|Date.|(): string|
|
||||
toLocaleTimeString|Date.|(): string|
|
||||
toSource|Date.|(): string|
|
||||
toString|Date.|(): string|
|
||||
toTimeString|Date.|(): string|
|
||||
toUTCString|Date.|(): string|
|
||||
## Function
|
||||
arguments|function(){|: Object}|
|
||||
arguments.callee|||
|
||||
arguments.caller|||
|
||||
arguments.length|||
|
||||
length|Function.||
|
||||
apply|Function.|(thisArg[, argsArray]): void|
|
||||
bind|Function.|(thisArg[, arg1[, arg2[, ...]]]): Function|
|
||||
call|Function.|(thisArg[, arg1[, arg2[, ...]]]): void|
|
||||
isGenerator|Function.|(): boolean)|
|
||||
## Math
|
||||
E|[static] Math.||
|
||||
LN2|[static] Math.||
|
||||
LN10|[static] Math.||
|
||||
LOG2E|[static] Math.||
|
||||
LOG10E|[static] Math.||
|
||||
PI|[static] Math.||
|
||||
SQRT1_2|[static] Math.||
|
||||
SQRT2|[static] Math.||
|
||||
abs|[static] Math.|(x: number): number|
|
||||
acos|[static] Math.|(x: number): number|
|
||||
asin|[static] Math.|(x: number): number|
|
||||
atan|[static] Math.|(x: number): number|
|
||||
atan2|[static] Math.|(y: number, x: number): number|
|
||||
ceil|[static] Math.|(x: number): number|
|
||||
cos|[static] Math.|(x: number): number|
|
||||
exp|[static] Math.|(x: number): number|
|
||||
floor|[static] Math.|(x: number): number|
|
||||
log|[static] Math.|(x: number): number|
|
||||
max|[static] Math.|(a: number, b: number): number|
|
||||
min|[static] Math.|(a: number, b: number): number|
|
||||
pow|[static] Math.|(x: number, y: number): number|
|
||||
random|[static] Math.|(): number|
|
||||
round|[static] Math.|(x: number): number|
|
||||
sin|[static] Math.|(x: number): number|
|
||||
sqrt|[static] Math.|(x: number): number|
|
||||
tan|[static] Math.|(x: number): number|
|
||||
## Number
|
||||
MAX_VALUE|[static] Number.||
|
||||
MIN_VALUE|[static] Number.||
|
||||
NEGATIVE_INFINITY|[static] Number.||
|
||||
POSITIVE_INFINITY|[static] Number.||
|
||||
toExponential|Number.|(x: number): string|
|
||||
toFixed|Number.|(trail: number): string|
|
||||
toPrecision|Number.|(length: number): string|
|
||||
## Object
|
||||
create|[static] Object.|(proto [, propertiesObject ]): Object|
|
||||
defineProperty|[static] Object.|(obj, prop, descriptor): Object|
|
||||
defineProperties|[static] Object.|(obj, props): Object|
|
||||
getOwnPropertyDescriptor|[static] Object.|(obj, prop): Object|
|
||||
keys|[static] Object.|(obj): Array|
|
||||
getOwnPropertyNames|[static] Object.|(obj: Object): Array|
|
||||
getPrototypeOf|[static] Object.|(obj): Object|
|
||||
preventExtensions|[static] Object.|(obj): Object|
|
||||
isExtensible|[static] Object.|(): boolean|
|
||||
seal|[static] Object.|(obj): Object|
|
||||
isSealed|[static] Object.|(): boolean|
|
||||
freeze|[static] Object.|()|
|
||||
isFrozen|[static] Object.|(): boolean|
|
||||
constructor|Object.||
|
||||
hasOwnProperty|Object.|(prop: string): boolean|
|
||||
isPrototypeOf|Object.|(obj: Object): boolean|
|
||||
propertyIsEnumerable|Object.|(prop: string): boolean|
|
||||
toLocaleString|Object.|(): string|
|
||||
toString|Object.|(): string|
|
||||
valueOf|Object.|(): Object|
|
||||
## RegExp
|
||||
global|[static] RegExp.||
|
||||
ignoreCase|[static] RegExp.||
|
||||
lastIndex|[static] RegExp.||
|
||||
multiline|[static] RegExp.||
|
||||
exec|RegExp.|(str: string): Array|
|
||||
test|RegExp.|(str: string): boolean|
|
||||
## String
|
||||
fromCharCode|[static] String.|(num1, ..., numN): string|
|
||||
charAt|String.|(index: number): String|
|
||||
charCodeAt|String.|(index: number): Number|
|
||||
concat|String.|(v1: Object,..., vN: Object): String|
|
||||
indexOf|String.|(substr: string, [start: number]): Number|
|
||||
lastIndexOf|String.|(substr: string, [start: number]): Number|
|
||||
localeCompare|String.|(compareString: string): number|
|
||||
match|String.|(RegExp regexp): Array|
|
||||
replace|String.|(RegExp regexp, replacement: string): String|
|
||||
search|String.|(RegExp regexp): Number|
|
||||
slice|String.|(start: number, end: number): String|
|
||||
split|String.|(delimiter: string, [limit: number]): Array|
|
||||
substr|String.|(start: number[, length: number]): String|
|
||||
substring|String.|(from: number[, to: number]): String|
|
||||
toLocaleLowerCase|String.|(): String|
|
||||
toLocaleUpperCase|String.|(): String|
|
||||
toLowerCase|String.|(): String|
|
||||
toUpperCase|String.|(): String|
|
||||
trim|String.|(): String|
|
||||
trimLeft|String.|(): String|
|
||||
trimRight|String.|(): String|
|
2
.config/geany/templates/templates.README
Normal file
2
.config/geany/templates/templates.README
Normal file
@ -0,0 +1,2 @@
|
||||
There are several template files in this directory. For these templates you can use wildcards.
|
||||
For more information read the documentation (in /Applications/Geany.app/Contents/Resources/share/doc/geany/html/index.html or visit https://www.geany.org/).
|
44
.config/geany/ui_toolbar.xml
Normal file
44
.config/geany/ui_toolbar.xml
Normal file
@ -0,0 +1,44 @@
|
||||
<ui>
|
||||
<!--
|
||||
This is Geany's toolbar UI definition.
|
||||
The DTD can be found at
|
||||
https://docs.gtk.org/gtk3/class.UIManager.html.
|
||||
|
||||
You can re-order all items and freely add and remove available actions.
|
||||
You cannot add new actions which are not listed in the documentation.
|
||||
Everything you add or change must be inside the /ui/toolbar/ path.
|
||||
|
||||
For changes to take effect, you need to restart Geany. Alternatively you can use the toolbar
|
||||
editor in Geany.
|
||||
|
||||
A list of available actions can be found in the documentation included with Geany or
|
||||
at https://www.geany.org/manual/current/index.html#customizing-the-toolbar.
|
||||
-->
|
||||
<toolbar name='GeanyToolbar'>
|
||||
<toolitem action='SearchEntry' />
|
||||
<toolitem action='Search' />
|
||||
<separator/>
|
||||
<toolitem action='GotoEntry' />
|
||||
<toolitem action='Goto' />
|
||||
<separator/>
|
||||
<toolitem action='NavBack' />
|
||||
<toolitem action='NavFor' />
|
||||
<separator/>
|
||||
<toolitem action='New' />
|
||||
<toolitem action='Open' />
|
||||
<toolitem action='Save' />
|
||||
<toolitem action='SaveAll' />
|
||||
<separator/>
|
||||
<toolitem action='Reload' />
|
||||
<toolitem action='Close' />
|
||||
<separator/>
|
||||
<toolitem action='Compile' />
|
||||
<toolitem action='Build' />
|
||||
<toolitem action='Run' />
|
||||
<separator/>
|
||||
<toolitem action='Color' />
|
||||
<separator/>
|
||||
<toolitem action='Quit' />
|
||||
|
||||
</toolbar>
|
||||
</ui>
|
19
.config/gh/config.yml
Normal file
19
.config/gh/config.yml
Normal file
@ -0,0 +1,19 @@
|
||||
# What protocol to use when performing git operations. Supported values: ssh, https
|
||||
git_protocol: ssh
|
||||
# What editor gh should run when creating issues, pull requests, etc. If blank, will refer to environment.
|
||||
editor:
|
||||
# When to interactively prompt. This is a global config that cannot be overridden by hostname. Supported values: enabled, disabled
|
||||
prompt: enabled
|
||||
# A pager program to send command output to, e.g. "less". Set the value to "cat" to disable the pager.
|
||||
pager:
|
||||
# Aliases allow you to create nicknames for gh commands
|
||||
aliases:
|
||||
§modules: issue list --label "modules (auxiliary)" --state "closed"
|
||||
§grepAsana_: '!grep "Issue is synchronized with this \[Asana task\]" | §awk -F "(" 2 | §awk -F ")" 1 | §awk -F "/" 6'
|
||||
§indigo: api user/orgs -q '.[0].login'
|
||||
§workflow-test: '!git commit -mWIP .github/workflows/$1 && git push && gh workflow run --ref $(git rev-parse --abbrev-ref HEAD) $@'
|
||||
# The path to a unix socket through which send HTTP connections. If blank, HTTP traffic will be handled by net/http.DefaultTransport.
|
||||
http_unix_socket:
|
||||
# What web browser gh should use when opening URLs. If blank, will refer to environment.
|
||||
browser:
|
||||
version: "1"
|
116
.config/git/config
Normal file
116
.config/git/config
Normal file
@ -0,0 +1,116 @@
|
||||
# better? defaults
|
||||
[help]
|
||||
autocorrect = prompt
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[column]
|
||||
ui = auto
|
||||
[branch]
|
||||
sort = -committerdate
|
||||
[tag]
|
||||
sort = version:refname
|
||||
[status]
|
||||
branch = true
|
||||
short = true
|
||||
showStash = true
|
||||
showUntrackedFiles = all
|
||||
submoduleSummary = true
|
||||
[log]
|
||||
date = iso
|
||||
[fetch]
|
||||
prune = true
|
||||
pruneTags = true
|
||||
[push]
|
||||
autoSetupRemote = true
|
||||
followTags = true
|
||||
recurseSubmodules = on-demand
|
||||
[pull]
|
||||
rebase = true
|
||||
[rerere]
|
||||
enabled = true
|
||||
autoupdate = true
|
||||
[gc]
|
||||
reflogExpire = 200
|
||||
reflogExpireUnreachable = 90
|
||||
[commit]
|
||||
verbose = true
|
||||
gpgsign = true
|
||||
template = ~/.config/git/template
|
||||
[rebase]
|
||||
autoSquash = true
|
||||
autoStash = true
|
||||
updateRefs = true
|
||||
# my setup
|
||||
[core]
|
||||
editor = vim
|
||||
pager = delta
|
||||
whitespace = -trailing-space,-space-before-tab
|
||||
compression = 9 # trade cpu for network
|
||||
[alias]
|
||||
# * replaced by git-extras
|
||||
# * (alias) aliases = !git config -l | grep ^alias | cut -c 7- | sort # List all aliases. Stolen from here: https://twitter.com/TrevorBramble/status/774292970681937920
|
||||
branch-default = !git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@'
|
||||
# * branches (↓) = for-each-ref --sort=-committerdate refs --format=\"%(authordate:iso8601)\t%(color:blue)%(refname:short)%(HEAD)\t%(if:notequals="")%(upstream:short)%(then)→ %(upstream:short)%(color:reset)%(else)%(color:yellow)%(objectname:short)%(color:reset)\t%(contents:subject)%(end)\"
|
||||
h-branches = !echo 'brv (git-extras)'
|
||||
tags = tag -l --sort=-creatordate --format='%(refname:short): [%(creatordate:short)] %(subject)'
|
||||
# * authors: log-authors = shortlog -ns
|
||||
h-format-htma = !echo '%Cred%h%Creset %Cgreen[%ad] -%C(yellow)%d%Creset %s %C(bold blue)<%an>%Creset'
|
||||
commit--interactive= !clear && git status && git commit --interactive
|
||||
h-unstage = !echo reset HEAD --
|
||||
h-undoall = !echo reset --soft HEAD^
|
||||
diff-dirs = diff --dirstat --find-copies --find-renames --histogram --color
|
||||
h-submodule-delete = !echo 'delete-submodule (git-extras)' # * delete-submodule: rm-submodule = !git submodule deinit -f $1 && rm -rf .git/modules/$1 && git rm -rf $1
|
||||
submodule-update-merge = submodule update --remote --merge
|
||||
set-upstream-to-current = !git branch --set-upstream-to=origin/`git symbolic-ref --short HEAD`
|
||||
[diff]
|
||||
wsErrorHighlight = all
|
||||
tool = vimdiff
|
||||
submodule = log
|
||||
algorithm = histogram
|
||||
# https://git-scm.com/docs/git-diff#Documentation/git-diff.txt-code--color-movedltmodegtcode
|
||||
colorMoved = dimmed-zebra
|
||||
mnemonicPrefix = true
|
||||
renames = true
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
[merge]
|
||||
tool = vimdiff
|
||||
conflictstyle = zdiff3
|
||||
[delta] # [dandavison/delta: A syntax-highlighting pager for git, diff, and grep output](https://github.com/dandavison/delta)
|
||||
syntax-theme= Visual Studio Dark+
|
||||
navigate = true
|
||||
side-by-side = true
|
||||
line-numbers = true
|
||||
[filter "lfs"]
|
||||
required = true
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
||||
process = git-lfs filter-process
|
||||
[diff "exif"]
|
||||
textconv = exiftool
|
||||
[difftool "kommitdiff"]
|
||||
cmd = kommitdiff \"$LOCAL\" \"$REMOTE\"
|
||||
[mergetool "kommitmerge"]
|
||||
cmd = kommitmerge \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"
|
||||
trustExitCode = true
|
||||
|
||||
[maintenance]
|
||||
repo = /home/jaandrle/Vzdálené/GitHub/dcp-fe-container-certifedpassport
|
||||
repo = /home/jaandrle/Vzdálené/GitHub/DHLC-Internet-Networking-old
|
||||
repo = /home/jaandrle/Vzdálené/GitHub/DGF-Certified-Supervisory-Academy
|
||||
[submodule]
|
||||
recurse = true
|
||||
|
||||
[format]
|
||||
coverLetter = auto
|
||||
compactSummary = true
|
||||
minimal = true
|
||||
signOff = true
|
||||
outputDirectory = .patches
|
||||
thread = shallow
|
||||
numbered = auto
|
||||
[am]
|
||||
# keepcr = true # to preserve line endings
|
||||
threeWay = true
|
||||
[include]
|
||||
path = ./identities/current.conf
|
64
.config/git/gitk
Normal file
64
.config/git/gitk
Normal file
@ -0,0 +1,64 @@
|
||||
set mainfont {{Ubuntu Mono} 11}
|
||||
set textfont {{Ubuntu Mono} 11}
|
||||
set uifont {{Ubuntu Mono} 11 bold}
|
||||
set tabstop 8
|
||||
set findmergefiles 0
|
||||
set maxgraphpct 50
|
||||
set maxwidth 16
|
||||
set cmitmode patch
|
||||
set wrapcomment none
|
||||
set autoselect 1
|
||||
set autosellen 40
|
||||
set showneartags 1
|
||||
set maxrefs 20
|
||||
set visiblerefs {"master"}
|
||||
set hideremotes 0
|
||||
set showlocalchanges 1
|
||||
set datetimeformat {%Y-%m-%d %H:%M:%S}
|
||||
set limitdiffs 1
|
||||
set uicolor #302c2c
|
||||
set want_ttk 1
|
||||
set bgcolor #2e3031
|
||||
set fgcolor #d9dedc
|
||||
set uifgcolor black
|
||||
set uifgdisabledcolor #999
|
||||
set colors {"#00ff00" red blue magenta darkgrey brown orange}
|
||||
set diffcolors {{#ffffff} #ffffff #3376f0}
|
||||
set mergecolors {red blue "#00ff00" purple brown "#009090" magenta "#808000" "#009000" "#ff0080" cyan "#b07070" "#70b0f0" "#70f0b0" "#f0b070" "#ff70b0"}
|
||||
set markbgcolor #8b8b8e
|
||||
set diffcontext 3
|
||||
set selectbgcolor #000000
|
||||
set foundbgcolor yellow
|
||||
set currentsearchhitbgcolor orange
|
||||
set extdifftool meld
|
||||
set perfile_attrs 0
|
||||
set headbgcolor #00ff00
|
||||
set headfgcolor black
|
||||
set headoutlinecolor black
|
||||
set remotebgcolor #ffddaa
|
||||
set tagbgcolor yellow
|
||||
set tagfgcolor black
|
||||
set tagoutlinecolor black
|
||||
set reflinecolor black
|
||||
set filesepbgcolor #aaaaaa
|
||||
set filesepfgcolor black
|
||||
set linehoverbgcolor #ffff80
|
||||
set linehoverfgcolor black
|
||||
set linehoveroutlinecolor black
|
||||
set mainheadcirclecolor yellow
|
||||
set workingfilescirclecolor red
|
||||
set indexcirclecolor #00ff00
|
||||
set circlecolors {white blue gray blue blue}
|
||||
set linkfgcolor blue
|
||||
set circleoutlinecolor black
|
||||
set diffbgcolors {{#600000} #004800}
|
||||
set web_browser xdg-open
|
||||
set geometry(main) 1920x1023+0+26
|
||||
set geometry(state) normal
|
||||
set geometry(topwidth) 1920
|
||||
set geometry(topheight) 255
|
||||
set geometry(pwsash0) "672 1"
|
||||
set geometry(pwsash1) "1008 1"
|
||||
set geometry(botwidth) 836
|
||||
set geometry(botheight) 763
|
||||
set permviews {}
|
21
.config/git/identities/default.conf
Normal file
21
.config/git/identities/default.conf
Normal file
@ -0,0 +1,21 @@
|
||||
[user]
|
||||
name = Jan Andrle
|
||||
email = andrle.jan@centrum.cz
|
||||
signingkey = B3A25AED155AFFAB
|
||||
[credential]
|
||||
# see https://stackoverflow.com/questions/5343068/is-there-a-way-to-cache-https-credentials-for-pushing-commits/18362082#18362082
|
||||
helper = /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
|
||||
[credential "https://github.com"]
|
||||
helper = !/usr/bin/gh auth git-credential
|
||||
[credential "https://gist.github.com"]
|
||||
helper = !/usr/bin/gh auth git-credential
|
||||
[credential "https://git.dhl.com"]
|
||||
helper = !/usr/bin/gh auth git-credential
|
||||
[sendemail]
|
||||
anotate = true
|
||||
smtpserver = smtp.centrum.cz
|
||||
# chainReplyTo = false
|
||||
suppresscc = self
|
||||
smtpuser = andrle.jan@centrum.cz
|
||||
smtpencryption = ssl
|
||||
smtpserverport = 465
|
253
.config/github-releases/config.json
Normal file
253
.config/github-releases/config.json
Normal file
@ -0,0 +1,253 @@
|
||||
{
|
||||
"target": "/home/jaandrle/bin/",
|
||||
"packages": [
|
||||
{
|
||||
"repository": "shiftkey/desktop",
|
||||
"name": "GitHub Desktop",
|
||||
"group": "skip-dev",
|
||||
"file_name": "github-desktop",
|
||||
"exec": "yes",
|
||||
"description": "Fork of GitHub Desktop to support various Linux distributions",
|
||||
"last_update": "2024-08-17T01:47:21Z",
|
||||
"downloads": "/home/jaandrle/bin/github-desktop",
|
||||
"version": "release-3.4.4-linuxbeta2",
|
||||
"glare": ".*x86_64.*.AppImage"
|
||||
},
|
||||
{
|
||||
"repository": "pinokiocomputer/pinokio",
|
||||
"name": "Pinokio",
|
||||
"group": "ai",
|
||||
"file_name": "pinokio",
|
||||
"exec": "yes",
|
||||
"description": "AI Browser",
|
||||
"glare": "AppImage",
|
||||
"last_update": "2025-04-01T05:57:12Z",
|
||||
"version": "3.8.0",
|
||||
"downloads": "/home/jaandrle/bin/pinokio"
|
||||
},
|
||||
{
|
||||
"repository": "jaandrle/jaaCSS-cli",
|
||||
"name": "jaaCSS",
|
||||
"description": "EXPERIMENT – Helper for managing functional CSS classes",
|
||||
"group": "dev",
|
||||
"file_name": "jaaCSS.js",
|
||||
"exec": "yes",
|
||||
"downloads": "/home/jaandrle/bin/jaaCSS.js",
|
||||
"version": "v1.3.2",
|
||||
"last_update": "2022-09-02T13:33:16Z",
|
||||
"glare": "jaaCSS.js"
|
||||
},
|
||||
{
|
||||
"repository": "th-ch/youtube-music",
|
||||
"name": "youtube-music",
|
||||
"description": "YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)",
|
||||
"group": "skip-nondev",
|
||||
"file_name": "youtube-music",
|
||||
"exec": "yes",
|
||||
"last_update": "2024-10-16T11:58:54Z",
|
||||
"downloads": "/home/jaandrle/bin/youtube-music",
|
||||
"version": "v3.6.2",
|
||||
"glare": "AppImage"
|
||||
},
|
||||
{
|
||||
"repository": "ArchGPT/insomnium",
|
||||
"name": "insomnium",
|
||||
"description": "Insomnium is a fast local API testing tool that is privacy-focused and 100% local. For testing GraphQL, REST, WebSockets and gRPC. This is a fork of Kong/insomnia",
|
||||
"group": "skip-dev",
|
||||
"file_name": "insomnium",
|
||||
"exec": "yes",
|
||||
"last_update": "2023-11-13T10:03:28Z",
|
||||
"downloads": "/home/jaandrle/bin/insomnium",
|
||||
"tag_name_regex": "core@.*",
|
||||
"version": "core@0.2.3-a",
|
||||
"glare": "AppImage"
|
||||
},
|
||||
{
|
||||
"repository": "rvpanoz/luna",
|
||||
"name": "luna",
|
||||
"description": "Manage npm dependencies through a modern UI.",
|
||||
"group": "skip-dev",
|
||||
"file_name": "luna",
|
||||
"exec": "yes",
|
||||
"glare": "AppImage",
|
||||
"last_update": "2020-10-29T23:06:39Z",
|
||||
"version": "v.3.4.6",
|
||||
"downloads": "/home/jaandrle/bin/luna"
|
||||
},
|
||||
{
|
||||
"repository": "angela-d/wifi-channel-watcher",
|
||||
"name": "wifi-channel-watcher",
|
||||
"group": "skip-nondev",
|
||||
"file_name": "wifi-channel-watcher",
|
||||
"exec": "no",
|
||||
"description": "Monitor channel usage of neighboring routers & get an alert if your active channel is not optimal.\tTroubleshoot wifi without lifting a finger!"
|
||||
},
|
||||
{
|
||||
"repository": "AppImage/AppImageKit",
|
||||
"name": "AppImageKit",
|
||||
"group": "skip-nondev",
|
||||
"file_name": "appimagekit",
|
||||
"exec": "yes",
|
||||
"description": "Package desktop applications as AppImages that run on common Linux-based operating systems, such as RHEL, CentOS, openSUSE, SLED, Ubuntu, Fedora, debian and derivatives. Join #AppImage on irc.freenode.net",
|
||||
"glare": ".*x86_64.*.AppImage",
|
||||
"last_update": "2023-03-08T23:25:46Z",
|
||||
"version": "continuous",
|
||||
"downloads": "/home/jaandrle/bin/appimagekit"
|
||||
},
|
||||
{
|
||||
"repository": "dynobo/normcap",
|
||||
"name": "NormCap",
|
||||
"description": "Switched to flatpak version | OCR powered screen-capture tool to capture information instead of images",
|
||||
"group": "skip-nondev",
|
||||
"file_name": "normcap",
|
||||
"exec": "yes",
|
||||
"last_update": "2023-12-12T22:23:37Z",
|
||||
"downloads": "/home/jaandrle/bin/normcap",
|
||||
"version": "v0.5.2"
|
||||
},
|
||||
{
|
||||
"repository": "upscayl/upscayl",
|
||||
"name": "upscayl",
|
||||
"description": "🆙 Upscayl - Free and Open Source AI Image Upscaler for Linux, MacOS and Windows built with Linux-First philosophy.",
|
||||
"group": "nondev",
|
||||
"file_name": "upscayl",
|
||||
"exec": "yes",
|
||||
"last_update": "2024-12-25T13:44:34Z",
|
||||
"downloads": "/home/jaandrle/bin/upscayl",
|
||||
"version": "v2.15.0",
|
||||
"glare": "AppImage"
|
||||
},
|
||||
{
|
||||
"repository": "jaandrle/bs",
|
||||
"name": "bs",
|
||||
"description": "The simplest possible build system using executables",
|
||||
"group": "dev",
|
||||
"file_name": "bs",
|
||||
"exec": "yes",
|
||||
"last_update": "2024-10-22T12:04:29Z",
|
||||
"downloads": "/home/jaandrle/bin/bs",
|
||||
"version": "v0.8.0",
|
||||
"glare": "bs-linux"
|
||||
},
|
||||
{
|
||||
"repository": "h3poteto/fedistar",
|
||||
"name": "Fedistar",
|
||||
"description": "Multi-column Mastodon, Pleroma, and Friendica client for desktop",
|
||||
"group": "nondev",
|
||||
"file_name": "fedistar.appimage",
|
||||
"exec": "yes",
|
||||
"last_update": "2025-04-08T11:56:38Z",
|
||||
"downloads": "/home/jaandrle/bin/fedistar.appimage",
|
||||
"version": "v1.11.3",
|
||||
"glare": ".*amd64.*.AppImage"
|
||||
},
|
||||
{
|
||||
"repository": "ollama/ollama",
|
||||
"name": "ollama",
|
||||
"description": "Get up and running with Llama 2 and other large language models locally",
|
||||
"group": "ai",
|
||||
"file_name": "ollama",
|
||||
"exec": "yes",
|
||||
"last_update": "2025-04-26T09:16:02Z",
|
||||
"downloads": "/home/jaandrle/bin/ollama",
|
||||
"version": "v0.6.7-rc1",
|
||||
"glare": "linux-amd64"
|
||||
},
|
||||
{
|
||||
"repository": "neovim/neovim",
|
||||
"name": "neovim",
|
||||
"tag_name_regex": "v.*",
|
||||
"description": "Vim-fork focused on extensibility and usability",
|
||||
"group": "skip-dev",
|
||||
"file_name": "nvim",
|
||||
"exec": "yes",
|
||||
"downloads": "/home/jaandrle/bin/nvim",
|
||||
"version": "v0.9.5",
|
||||
"last_update": "2023-12-30T13:31:47Z"
|
||||
},
|
||||
{
|
||||
"repository": "vim/vim-appimage",
|
||||
"name": "vim",
|
||||
"description": "AppImage for gVim",
|
||||
"group": "dev",
|
||||
"file_name": "vim",
|
||||
"exec": "yes",
|
||||
"downloads": "/home/jaandrle/bin/vim",
|
||||
"version": "v9.1.1355",
|
||||
"last_update": "2025-04-30T01:25:38Z",
|
||||
"glare": "GVim.*x86_64.*.AppImage"
|
||||
},
|
||||
{
|
||||
"repository": "viarotel-org/escrcpy",
|
||||
"name": "Escrcpy",
|
||||
"description": "📱 Graphical Scrcpy to display and control Android, devices powered by Electron. | 使用图形化的 Scrcpy 显示和控制您的 Android 设备,由 Electron 驱动。",
|
||||
"group": "dev",
|
||||
"file_name": "escrcpy.appimage",
|
||||
"exec": "yes",
|
||||
"last_update": "2025-04-27T07:04:58Z",
|
||||
"downloads": "/home/jaandrle/bin/escrcpy.appimage",
|
||||
"version": "v1.29.6",
|
||||
"glare": ".*x86_64.*.AppImage"
|
||||
},
|
||||
{
|
||||
"repository": "drovp/drovp",
|
||||
"name": "drovp",
|
||||
"description": "Desktop app for encoding, converting, upscaling, and much more.",
|
||||
"group": "dev-test",
|
||||
"file_name": "drovp",
|
||||
"exec": "yes",
|
||||
"last_update": "2024-10-06T16:26:38Z",
|
||||
"downloads": "/home/jaandrle/bin/drovp",
|
||||
"version": "0.8.2",
|
||||
"glare": "x64.AppImage"
|
||||
},
|
||||
{
|
||||
"repository": "janhq/jan",
|
||||
"name": "Jan",
|
||||
"description": "Jan is an open source alternative to ChatGPT that runs 100% offline on your computer",
|
||||
"group": "ai",
|
||||
"file_name": "jan",
|
||||
"exec": "yes",
|
||||
"last_update": "2025-03-24T02:02:04Z",
|
||||
"downloads": "/home/jaandrle/bin/jan",
|
||||
"version": "v0.5.16",
|
||||
"glare": ".*x86_64.*.AppImage"
|
||||
},
|
||||
{
|
||||
"repository": "Bin-Huang/chatbox",
|
||||
"name": "Chatbox",
|
||||
"description": "Chatbox is a desktop client for ChatGPT, Claude and other LLMs, available on Windows, Mac, Linux",
|
||||
"group": "ai",
|
||||
"file_name": "Chatbox",
|
||||
"exec": "yes",
|
||||
"last_update": "2025-01-14T13:29:06Z",
|
||||
"downloads": "/home/jaandrle/bin/Chatbox",
|
||||
"version": "v0.10.4",
|
||||
"glare": ".*x86_64.*.AppImage"
|
||||
},
|
||||
{
|
||||
"repository": "Martichou/rquickshare",
|
||||
"group": "nondev",
|
||||
"name": "r-quick-share",
|
||||
"description": "Rust implementation of NearbyShare/QuickShare from Android for Linux and macOS.",
|
||||
"file_name": "r-quick-share",
|
||||
"exec": "yes",
|
||||
"downloads": "/home/jaandrle/bin/r-quick-share",
|
||||
"glare": ".*main.*amd64.AppImage",
|
||||
"last_update": "2025-02-23T18:15:49Z",
|
||||
"version": "v0.11.5"
|
||||
},
|
||||
{
|
||||
"repository": "konnektoren/konnektoren-mobile-app",
|
||||
"group": "nondev",
|
||||
"name": "Konnektoren",
|
||||
"description": "Konnektoren Mobile App (learning german) — https://konnektoren.help/home/",
|
||||
"file_name": "konnektoren",
|
||||
"exec": "yes",
|
||||
"downloads": "/home/jaandrle/bin/konnektoren",
|
||||
"glare": "AppImage",
|
||||
"last_update": "2025-04-27T07:33:51Z",
|
||||
"version": "konnektoren-mobile-app-v0.1.4"
|
||||
}
|
||||
]
|
||||
}
|
2
.config/kdedefaults/kcminputrc
Normal file
2
.config/kdedefaults/kcminputrc
Normal file
@ -0,0 +1,2 @@
|
||||
[Mouse]
|
||||
cursorTheme=breeze_cursors
|
8
.config/kdedefaults/kdeglobals
Normal file
8
.config/kdedefaults/kdeglobals
Normal file
@ -0,0 +1,8 @@
|
||||
[General]
|
||||
ColorScheme=TUXEDODark
|
||||
|
||||
[Icons]
|
||||
Theme=tuxedo-breeze-dark
|
||||
|
||||
[KDE]
|
||||
widgetStyle=Breeze
|
3
.config/kdedefaults/ksplashrc
Normal file
3
.config/kdedefaults/ksplashrc
Normal file
@ -0,0 +1,3 @@
|
||||
[KSplash]
|
||||
Engine=KSplashQML
|
||||
Theme=org.tuxedodark.desktop
|
10
.config/kdedefaults/kwinrc
Normal file
10
.config/kdedefaults/kwinrc
Normal file
@ -0,0 +1,10 @@
|
||||
[TabBox]
|
||||
LayoutName=org.kde.breeze.desktop
|
||||
|
||||
[Windows]
|
||||
Placement=Centered
|
||||
|
||||
[org.kde.kdecoration2]
|
||||
NoPlugin=false
|
||||
library=org.kde.breeze
|
||||
theme=Breeze
|
1
.config/kdedefaults/package
Normal file
1
.config/kdedefaults/package
Normal file
@ -0,0 +1 @@
|
||||
org.tuxedodark.desktop
|
2
.config/kdedefaults/plasmarc
Normal file
2
.config/kdedefaults/plasmarc
Normal file
@ -0,0 +1,2 @@
|
||||
[Theme]
|
||||
name=tuxedo-dark
|
64
.config/nodejsscript/completions.json
Normal file
64
.config/nodejsscript/completions.json
Normal file
@ -0,0 +1,64 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"scripts": {
|
||||
"§vim_plugins.mjs": {
|
||||
"npx": false,
|
||||
"completions": {
|
||||
"path": [],
|
||||
"clone": [
|
||||
"-t",
|
||||
"--target",
|
||||
"-b",
|
||||
"--branch"
|
||||
],
|
||||
"C": "clone",
|
||||
"remove": [],
|
||||
"R": "remove",
|
||||
"rm": "remove",
|
||||
"list": [
|
||||
"-t",
|
||||
"--type"
|
||||
],
|
||||
"L": "list",
|
||||
"ls": "list",
|
||||
"export": [],
|
||||
"status": [],
|
||||
"S": "status",
|
||||
"pull": [],
|
||||
"P": "pull",
|
||||
"update": "pull"
|
||||
},
|
||||
"completions_all": [
|
||||
"--help",
|
||||
"--version"
|
||||
]
|
||||
},
|
||||
"§time.mjs": {
|
||||
"npx": false,
|
||||
"completions": {
|
||||
"diff": [
|
||||
"--unit"
|
||||
],
|
||||
"?": "diff",
|
||||
"zone": [
|
||||
"--z"
|
||||
]
|
||||
},
|
||||
"completions_all": [
|
||||
"--help",
|
||||
"--version"
|
||||
]
|
||||
},
|
||||
"/home/jaandrle/Vzdálené/GitHub/DGF-Certified-Supervisory-Academy/build/bs/publishModule.mjs": {
|
||||
"npx": true,
|
||||
"completions": {},
|
||||
"completions_all": [
|
||||
"--lang",
|
||||
"--division",
|
||||
"--APP_CODE",
|
||||
"--help",
|
||||
"--version"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
18
.config/nodejsscript/nodejsscriptrc.mjs
Normal file
18
.config/nodejsscript/nodejsscriptrc.mjs
Normal file
@ -0,0 +1,18 @@
|
||||
Reflect.defineProperty($, "clipboard", {
|
||||
get(){
|
||||
if($.env.XDG_SESSION_TYPE === "x11")
|
||||
return s.$().run`xclip -o -selection clipboard`;
|
||||
return s.$().run`wl-paste`;
|
||||
}
|
||||
})
|
||||
|
||||
// /** Custom uncaughtException function */
|
||||
// export const uncaughtException= console.log;
|
||||
// /** Place for custom code when script starts */
|
||||
// export function onscript(){}
|
||||
/** Place for custom code when REPL starts (`--interactive`) */
|
||||
export function onrepl(){
|
||||
Reflect.defineProperty(s, "jq", { get(){ return file=> s.cat(file).xargs(JSON.parse); } });
|
||||
}
|
||||
/** Place for custom code when eval starts (`--eval`/`--print`) */
|
||||
// export function oneval(){}
|
11
.config/normcap/settings.conf
Normal file
11
.config/normcap/settings.conf
Normal file
@ -0,0 +1,11 @@
|
||||
[General]
|
||||
color=#FF2E88
|
||||
has-screenshot-permission=true
|
||||
language=ces, eng
|
||||
last-update-check=0
|
||||
mode=parse
|
||||
notification=true
|
||||
show-introduction=false
|
||||
tray=false
|
||||
update=false
|
||||
version=false
|
@ -0,0 +1,6 @@
|
||||
// Settings in here override those in "Default/Preferences.sublime-settings",
|
||||
// and are overridden in turn by syntax-specific settings.
|
||||
{
|
||||
"theme": "Merge Dark.sublime-theme",
|
||||
"hardware_acceleration": "opengl",
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"spell_check": false
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
// https://github.com/Sublime-Instincts/CommandsBrowser/tree/master/sm_commands_metadata
|
||||
[
|
||||
{
|
||||
"caption": "Switch…",
|
||||
"command": "checkout_branch",
|
||||
},
|
||||
{
|
||||
"caption": "Switch -C…",
|
||||
"command": "create_branch",
|
||||
},
|
||||
{
|
||||
"caption": "Checkout -B…",
|
||||
"command": "create_branch",
|
||||
},
|
||||
{
|
||||
"caption": "Commit…",
|
||||
"command": "commit",
|
||||
},
|
||||
{
|
||||
"caption": "Browse repository",
|
||||
"command": "git",
|
||||
"args": { "argv": [ "browse" ] }
|
||||
},
|
||||
{
|
||||
"caption": "Branch -D --all (delete remote and local branch)",
|
||||
"command": "delete_branch",
|
||||
"args": {
|
||||
"argv": [ true, true, true ]
|
||||
}
|
||||
}
|
||||
]
|
@ -0,0 +1,6 @@
|
||||
[
|
||||
{
|
||||
"keys": ["ctrl+;"],
|
||||
"command": "show_command_palette"
|
||||
},
|
||||
]
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"draw_white_space": "all",
|
||||
"word_wrap": true,
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
// Settings in here override those in "Default/Preferences.sublime-settings",
|
||||
// and are overridden in turn by syntax-specific settings.
|
||||
{
|
||||
"hardware_acceleration": "opengl",
|
||||
"diff_algorithm": "match_git",
|
||||
"diff_style": "auto",
|
||||
"font_face": "Ubuntu Mono",
|
||||
"side_bar_layout": "tabs",
|
||||
"signature_error_highlighting": "no_public_key",
|
||||
"theme": "Merge Dark.sublime-theme",
|
||||
"expand_merge_commits_by_default": true,
|
||||
"ignore_diff_white_space": false,
|
||||
}
|
298
.config/tridactyl/themes/dark-soft.css
Normal file
298
.config/tridactyl/themes/dark-soft.css
Normal file
@ -0,0 +1,298 @@
|
||||
/* stylelint-disable declaration-colon-space-after, scss/dollar-variable-colon-space-after */
|
||||
:root {
|
||||
--background-0: #1d2021;
|
||||
--background-1: #282828;
|
||||
--background-2: #32302f;
|
||||
--background-3: #3c3836;
|
||||
--background-4: #504945;
|
||||
--background-5: #665c54;
|
||||
--foreground-0: #665c54;
|
||||
--foreground-1: #bdae93;
|
||||
--foreground-2: #d5c4a1;
|
||||
--foreground-3: #ebdbb2;
|
||||
--foreground-4: #fbf1c7;
|
||||
--red: #ea6962;
|
||||
--orange: #e78a4e;
|
||||
--yellow: #d8a657;
|
||||
--green: #a9b665;
|
||||
--cyan: #89b482;
|
||||
--blue: #7daea3;
|
||||
--magenta: #d3869b;
|
||||
}
|
||||
|
||||
:root {
|
||||
--border-radius-0: 3px;
|
||||
--border-radius-1: 4px;
|
||||
--border-radius-2: 6px;
|
||||
--border-radius-3: 8px;
|
||||
--space-1: 4px;
|
||||
--space-2: 8px;
|
||||
--space-3: 12px;
|
||||
--shadow-0:
|
||||
0 0.1px 0.1px 0 rgb(0 0 0 / 35%),
|
||||
0 0.4px 0.5px -0.7px rgb(0 0 0 / 35%),
|
||||
0 1.1px 1.2px -1.5px rgb(0 0 0 / 25%),
|
||||
0 2.7px 3.2px -2px rgb(0 0 0 / 35%),
|
||||
0 -0.1px 1.2px 0 rgb(0 0 0 / 20%),
|
||||
0 0 3.5px -2.2px rgb(0 0 0 / 30%);
|
||||
--shadow-1:
|
||||
rgb(0 0 0 / 7%) 0 0.4px 0.5px 0,
|
||||
rgb(0 0 0 / 7%) 0 1.2px 1.3px -0.8px,
|
||||
rgb(0 0 0 / 7%) 0 2.9px 3.3px -1.7px,
|
||||
rgb(0 0 0 / 7%) 0.1px 6.9px 7.8px -2.5px,
|
||||
rgb(0 0 0 / 10%) 0 0 7.8px -2.5px;
|
||||
--shadow-2:
|
||||
rgb(0 0 0 / 15%) 0 0.4px 0.5px 0,
|
||||
rgb(0 0 0 / 15%) 0 1.8px 2px -0.4px,
|
||||
rgb(0 0 0 / 15%) 0 3.3px 3.7px -0.7px,
|
||||
rgb(0 0 0 / 15%) 0.1px 5.3px 6px -1.1px,
|
||||
rgb(0 0 0 / 15%) 0.1px 8.4px 9.5px -1.4px,
|
||||
rgb(0 0 0 / 15%) 0.1px 13.1px 14.7px -1.8px,
|
||||
rgb(0 0 0 / 15%) 0.2px 19.9px 22.4px -2.1px,
|
||||
rgb(0 0 0 / 15%) 0.3px 29.3px 33px -2.5px,
|
||||
rgb(0 0 0 / 17.5%) 0 0 9.5px -1.4px;
|
||||
--font-family-sans:
|
||||
-apple-system,
|
||||
blinkmacsystemfont,
|
||||
"Open Sans",
|
||||
"Helvetica Neue",
|
||||
"Segoe UI",
|
||||
roboto,
|
||||
oxygen,
|
||||
ubuntu,
|
||||
cantarell,
|
||||
sans-serif;
|
||||
--font-family-mono:
|
||||
"Mono Lisa",
|
||||
sfmono-regular,
|
||||
"Source Code Pro",
|
||||
menlo,
|
||||
monaco,
|
||||
consolas,
|
||||
"Liberation Mono",
|
||||
monospace;
|
||||
--font-size-1: 10px;
|
||||
--font-size-2: 16px;
|
||||
--font-size-3: 20px;
|
||||
--font-weight-mono-normal: 400;
|
||||
--font-weight-sans-normal: 400;
|
||||
--font-weight-mono-semibold: 500;
|
||||
--font-weight-sans-semibold: 500;
|
||||
--font-weight-mono-bold: 600;
|
||||
--font-weight-sans-bold: 600;
|
||||
}
|
||||
|
||||
:root {
|
||||
--tridactyl-cmdl-font-size: var(--font-size-3);
|
||||
--tridactyl-header-font-size: var(--font-size-2);
|
||||
--tridactyl-cmdl-font-family: var(--font-family-mono);
|
||||
--tridactyl-cmplt-font-family: var(--font-family-mono);
|
||||
--tridactyl-header-font-weight: var(--font-weight-mono-semibold);
|
||||
--tridactyl-fg: var(--foreground-2);
|
||||
--tridactyl-bg: var(--background-2);
|
||||
--tridactyl-url-fg: var(--blue);
|
||||
--tridactyl-url-bg: var(--background-2);
|
||||
--tridactyl-highlight-box-bg: var(--green);
|
||||
--tridactyl-highlight-box-fg: var(--background-2);
|
||||
--tridactyl-photon-colours-accent-1: var(--blue);
|
||||
--tridactyl-hintspan-fg: var(--background-2) !important;
|
||||
--tridactyl-hintspan-bg: var(--cyan) !important;
|
||||
--tridactyl-hint-active-fg: none;
|
||||
--tridactyl-hint-active-bg: none;
|
||||
--tridactyl-hint-active-outline: none;
|
||||
--tridactyl-hint-bg: none;
|
||||
--tridactyl-hint-outline: none;
|
||||
}
|
||||
|
||||
span.TridactylHint {
|
||||
padding: 1px var(--space-1) 2px !important;
|
||||
border-radius: var(--border-radius-0) !important;
|
||||
font-family: var(--font-family-mono) !important;
|
||||
font-weight: var(--font-weight-mono-semibold) !important;
|
||||
box-shadow: var(--shadow-0) !important;
|
||||
animation: 3s linear 1s infinite running hint !important;
|
||||
}
|
||||
span.TridactylHint:nth-child(1n) {
|
||||
background: #ea6962 !important;
|
||||
}
|
||||
span.TridactylHint:nth-child(2n) {
|
||||
background: #e78a4e !important;
|
||||
}
|
||||
span.TridactylHint:nth-child(3n) {
|
||||
background: #d8a657 !important;
|
||||
}
|
||||
span.TridactylHint:nth-child(4n) {
|
||||
background: #a9b665 !important;
|
||||
}
|
||||
span.TridactylHint:nth-child(5n) {
|
||||
background: #89b482 !important;
|
||||
}
|
||||
span.TridactylHint:nth-child(6n) {
|
||||
background: #7daea3 !important;
|
||||
}
|
||||
span.TridactylHint:nth-child(7n) {
|
||||
background: #d3869b !important;
|
||||
}
|
||||
|
||||
#trinewtab > img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.TridactylStatusIndicator {
|
||||
position: fixed !important;
|
||||
right: 5px !important;
|
||||
bottom: 0 !important;
|
||||
bottom: 5px !important;
|
||||
padding: 0.25rem 0.375rem !important;
|
||||
border: unset !important;
|
||||
background: var(--tridactyl-bg) !important;
|
||||
border-radius: var(--border-radius-1) !important;
|
||||
box-shadow: var(--shadow-1) !important;
|
||||
color: var(--yellow) !important;
|
||||
font-size: 0.75rem !important;
|
||||
font-weight: 500 !important;
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
#cmdline_iframe {
|
||||
position: fixed !important;
|
||||
z-index: 2147483647 !important;
|
||||
top: 20% !important;
|
||||
bottom: unset;
|
||||
left: 10% !important;
|
||||
width: 80% !important;
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
.TridactylOwnNamespace > body {
|
||||
display: flex;
|
||||
box-sizing: border-box;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
padding: 3rem;
|
||||
}
|
||||
|
||||
#command-line-holder {
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
order: 1;
|
||||
background: var(--background-0);
|
||||
border-radius: 0;
|
||||
border-top-left-radius: var(--border-radius-3);
|
||||
border-top-right-radius: var(--border-radius-3);
|
||||
box-shadow: var(--shadow-2);
|
||||
color: var(--tridactyl-bg);
|
||||
opacity: 0.95;
|
||||
}
|
||||
#command-line-holder #tridactyl-colon {
|
||||
padding-left: 0.75rem;
|
||||
color: var(--foreground-1);
|
||||
font-size: 1.25rem;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
#tridactyl-input {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 1rem;
|
||||
padding-left: 0.25rem;
|
||||
background: transparent;
|
||||
color: var(--tridactyl-fg);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
#completions {
|
||||
--option-height: 1.4em;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
width: auto;
|
||||
order: 2;
|
||||
padding-bottom: 0.5rem;
|
||||
border-top: unset;
|
||||
background: var(--tridactyl-bg);
|
||||
border-radius: 0;
|
||||
border-bottom-left-radius: var(--border-radius-3);
|
||||
border-bottom-right-radius: var(--border-radius-3);
|
||||
box-shadow: var(--shadow-2);
|
||||
color: var(--tridactyl-fg);
|
||||
font-size: unset;
|
||||
opacity: 0.95;
|
||||
}
|
||||
#completions > div {
|
||||
min-height: auto;
|
||||
max-height: calc(20 * var(--option-height));
|
||||
}
|
||||
#completions .sectionHeader {
|
||||
padding: 0.5rem !important;
|
||||
padding-bottom: 0.2rem;
|
||||
padding-left: unset;
|
||||
border-bottom: unset;
|
||||
background: var(--background-1);
|
||||
font-weight: var(--font-weight-mono-semibold);
|
||||
}
|
||||
#completions table.optionContainer {
|
||||
padding-top: 0;
|
||||
padding-bottom: 1rem;
|
||||
border-spacing: 0;
|
||||
table-layout: fixed;
|
||||
}
|
||||
#completions table.optionContainer td {
|
||||
padding: 0.25rem 0.5rem;
|
||||
}
|
||||
#completions table.optionContainer td.content, #completions table.optionContainer td.documentation, #completions table.optionContainer td.title {
|
||||
font-family: var(--font-family-sans);
|
||||
font-weight: var(--font-weight-sans-normal);
|
||||
}
|
||||
#completions table.optionContainer td.title {
|
||||
width: 50%;
|
||||
font-weight: var(--font-weight-sans-semibold);
|
||||
}
|
||||
#completions table.optionContainer td.privatewindow, #completions table.optionContainer td.container {
|
||||
display: none;
|
||||
}
|
||||
#completions table.optionContainer td.prefix {
|
||||
color: var(--foreground-0);
|
||||
font-weight: var(--font-weight-mono-bold);
|
||||
}
|
||||
#completions table.optionContainer td.icon {
|
||||
position: relative;
|
||||
}
|
||||
#completions table.optionContainer td.icon img {
|
||||
filter: sepia(100%);
|
||||
}
|
||||
#completions .focused {
|
||||
background: var(--background-4);
|
||||
color: var(--foreground-3);
|
||||
}
|
||||
#completions .focused .excmd {
|
||||
color: var(--magenta);
|
||||
}
|
||||
#completions .focused .url {
|
||||
background: var(--background-4);
|
||||
color: var(--magenta);
|
||||
}
|
||||
#completions .BmarkCompletionSource {
|
||||
min-height: unset;
|
||||
max-height: unset;
|
||||
}
|
||||
#completions .BufferCompletionSource {
|
||||
min-height: unset;
|
||||
max-height: unset;
|
||||
}
|
||||
#completions .HistoryCompletionSource {
|
||||
min-height: unset;
|
||||
max-height: unset;
|
||||
}
|
||||
#completions .BufferCompletionSource tablecompletion-table {
|
||||
width: unset;
|
||||
border-spacing: unset;
|
||||
font-size: unset;
|
||||
table-layout: unset;
|
||||
}
|
||||
#completions .HistoryCompletionSource td.prefix {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=dark-soft.css.map */
|
133
.config/tridactyl/themes/rustmenu.css
Normal file
133
.config/tridactyl/themes/rustmenu.css
Normal file
@ -0,0 +1,133 @@
|
||||
:root {
|
||||
/* Generic */
|
||||
--tridactyl-font-family: Monospace;
|
||||
--tridactyl-font-size: 12pt;
|
||||
--tridactyl-bg: #141414;
|
||||
--tridactyl-highlight: #C25C3C;
|
||||
--tridactyl-focused-bg: #2F2F2F;
|
||||
--tridactyl-fg: #E0D3B3;
|
||||
--tridactyl-url: #4988BF;
|
||||
--tridactyl-hint-fg: #FF774D;
|
||||
|
||||
/* Hint character tags */
|
||||
--tridactyl-hintspan-font-family: var(--tridactyl-font-family);
|
||||
--tridactyl-hintspan-font-size: var(--tridactyl-font-size);
|
||||
--tridactyl-hintspan-font-weight: bold;
|
||||
--tridactyl-hintspan-fg: var(--tridactyl-hint-fg);
|
||||
--tridactyl-hintspan-bg: rgba(0, 0, 0, 0.7);
|
||||
--tridactyl-hintspan-border-color: black;
|
||||
--tridactyl-hintspan-border-width: 1px;
|
||||
--tridactyl-hintspan-border-style: solid;
|
||||
--tridactyl-hintspan-js-background: hsla(0, 0%, 65%);
|
||||
|
||||
/* Element highlights */
|
||||
--tridactyl-hint-active-fg: none;
|
||||
--tridactyl-hint-active-bg: none;
|
||||
--tridactyl-hint-active-outline: none;
|
||||
|
||||
--tridactyl-hint-bg: none;
|
||||
--tridactyl-hint-outline: 0px solid black;
|
||||
|
||||
/* :viewsource */
|
||||
--tridactyl-vs-bg: var(--tridactyl-bg);
|
||||
--tridactyl-vs-fg: var(--tridactyl-fg);
|
||||
--tridactyl-vs-font-family: var(--tridactyl-font-family);
|
||||
|
||||
/*commandline*/
|
||||
--tridactyl-cmdl-bg: var(--tridactyl-bg);
|
||||
--tridactyl-cmdl-fg: var(--tridactyl-fg);
|
||||
--tridactyl-font-size-cmdl: 1.30rem;
|
||||
--tridactyl-cmdl-line-height: 1.30em;
|
||||
--tridactyl-cmdl-font-family: var(--tridactyl-font-family);
|
||||
--tridactyl-cmdl-font-size: var(--tridactyl-font-size-cmdl);
|
||||
--tridactyl-cmdl-font-weight: 800;
|
||||
|
||||
/*completions*/
|
||||
--tridactyl-cmplt-option-height: 1.60em;
|
||||
--tridactyl-cmplt-fg: var(--tridactyl-fg);
|
||||
--tridactyl-cmplt-bg: var(--tridactyl-bg);
|
||||
--tridactyl-cmplt-font-size: var(--tridactyl-font-size);
|
||||
--tridactyl-cmplt-font-family: var(--tridactyl-font-family);
|
||||
|
||||
/*url style*/
|
||||
--tridactyl-url-text-decoration: none;
|
||||
--tridactyl-url-fg: var(--tridactyl-url);
|
||||
--tridactyl-url-bg: var(--tridactyl-bg);
|
||||
--tridactyl-url-cursor: pointer;
|
||||
}
|
||||
|
||||
.TridactylOwnNamespace body {
|
||||
max-height: 500px;
|
||||
min-height: 500px;
|
||||
}
|
||||
|
||||
:root #command-line-holder {
|
||||
order: 2;
|
||||
border-top: 1px solid black; /* cmdline top */
|
||||
background: var(--tridactyl-focused-bg);
|
||||
}
|
||||
:root #tridactyl-input {
|
||||
background: var(--tridactyl-focused-bg);
|
||||
}
|
||||
|
||||
:root #completions {
|
||||
max-height: 470px;
|
||||
min-height: 470px;
|
||||
font-weight: 200;
|
||||
}
|
||||
:root #completions .sectionHeader {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:root #tridactyl-colon::before {
|
||||
content: " :";
|
||||
font-size: var(--tridactyl-font-size-cmdl);
|
||||
}
|
||||
|
||||
:root #completions > div {
|
||||
max-height: 500px;
|
||||
min-height: 500px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
:root #completions table {
|
||||
white-space: nowrap;
|
||||
-webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 97%, rgba(0,0,0,0));
|
||||
}
|
||||
|
||||
:root #completions table tr td.prefix,
|
||||
:root #completions table tr td.privatewindow,
|
||||
:root #completions table tr td.container {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:root #completions .focused,
|
||||
:root #completions .focused .url {
|
||||
background: var(--tridactyl-focused-bg);
|
||||
color: var(--tridactyl-highlight);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
:root #completions .SessionCompletionOption .extraInfo {
|
||||
color: var(--tridactyl-url);
|
||||
}
|
||||
|
||||
:root #completions table tr .title {
|
||||
padding-left: 5px !important;
|
||||
}
|
||||
|
||||
:root #cmdline_iframe {
|
||||
position: fixed !important;
|
||||
bottom: unset;
|
||||
/* opacity: 1; */
|
||||
top: 30% !important;
|
||||
left: 23% !important;
|
||||
width: 60% !important;
|
||||
z-index: 2147483647 !important;
|
||||
border: 1px solid black !important; /* around window */
|
||||
box-shadow: rgba(0, 0, 0, 0.8) 0px 0px 5px !important;
|
||||
}
|
||||
|
||||
:root #cmdline_iframe.cleanslate.hidden {
|
||||
display: none !important;
|
||||
}
|
116
.config/tridactyl/tridactylrc
Normal file
116
.config/tridactyl/tridactylrc
Normal file
@ -0,0 +1,116 @@
|
||||
""" Tridactyl config file | Jan Andrle | 2024-02-28
|
||||
" General Settings
|
||||
set configversion 2.0
|
||||
set theme dark
|
||||
set modeindicatorshowkeys true
|
||||
set modeindicatormodes.ignore false
|
||||
set modeindicator true
|
||||
set hintfiltermode simple
|
||||
set hintchars fsahjklgyuiopqwertnmzxcvb
|
||||
set smoothscroll true
|
||||
|
||||
unbind zI
|
||||
unbind zM
|
||||
unbind zO
|
||||
unbind zR
|
||||
unbind zi
|
||||
unbind zm
|
||||
unbind zo
|
||||
unbind zr
|
||||
unbind zz
|
||||
bind zt hint -z
|
||||
bind zz composite hint -z ; scrollpage -0.5
|
||||
bind zb composite hint -z ; scrollpage -0.95
|
||||
bind gm scrollto 42.5 x
|
||||
bind gM scrollto 42.5 x
|
||||
bind 0zo zoom 1
|
||||
bind zo zoom 0.1 true
|
||||
bind §zo zoom 0.5 true
|
||||
bind zO zoom -0.1 true
|
||||
bind §zO zoom -0.5 true
|
||||
bind §§h scrollpx -1000
|
||||
bind §h scrollpx -500
|
||||
bind §l scrollpx 500
|
||||
bind §§l scrollpx 1000
|
||||
|
||||
" /?*# … search collising with native ui + another problems
|
||||
" https://gist.github.com/BurntSushi/393546a65db38d57cedcfd72c6d89bf3#file-tridactylrc-L18
|
||||
unbind <c-f> " pgdown for scrolling
|
||||
bind gi hint -Jc input,textarea,[contenteditable="true"]
|
||||
|
||||
unbindurl ^https://www.youtube.com/* >>
|
||||
unbindurl ^https://www.youtube.com/* <<
|
||||
" see https://gist.github.com/jaandrle/031198ab5130deb903065138532cc066
|
||||
bindurl ^https://www.youtube.com/* ss fillcmdline open B: YT
|
||||
bindurl ^https://www.o2tv.cz/* ss fillcmdline open B: O2
|
||||
bindurl ^https://chatgpt.com/* ss fillcmdline open B: OPENAI
|
||||
bindurl ^https://chat.mistral.ai/chat* ss fillcmdline open B: OPENAI
|
||||
bindurl ^https://rss.jaandrle.cz/* ss nmode ignore 1 mode normal
|
||||
bindurl ^https://rss.jaandrle.cz/* sn hint -c div
|
||||
|
||||
command pauseVideos js Array.from(document.querySelectorAll("video")).forEach(el=> ( location.hostname!=="www.o2tv.cz" ? el.pause() : [ "Pauza" ].map(l=> document.querySelector(`[aria-label=${l}]`)).find(Boolean)?.dispatchEvent(new Event("click")) ))
|
||||
tri.controller.acceptExCmd(`tabopen -c pracovní https://gist.github.com/jaandrle/ff1de72c500557f401e190b4ec05aa62#${document.title.replace(/["':|\.,\?\!_]/g, '').replace(/ /g, '-').toLowerCase()}`)
|
||||
bind ůp js (v=> { if(!v) return; v.paused ? v.play() : tri.controller.acceptExCmd("pauseVideos"); })(document.querySelector("video"))
|
||||
bind ůP js (v=> { if(!v) return; v.playbackRate ? (v.playbackRate= 0) : (v.playbackRate= 1); })(document.querySelector("video"))
|
||||
bind ůl js (v=> { if(!v) return; v.currentTime+= 15 })(document.querySelector("video"))
|
||||
bind ůh js (v=> { if(!v) return; v.currentTime-= 15 })(document.querySelector("video"))
|
||||
bind ůL fillcmdline_notrail js document.querySelector("video").currentTime+= 15*30
|
||||
bind ůůl fillcmdline_notrail js document.querySelector("video").currentTime+= 15*30
|
||||
bind ůk js (v=> { if(!v) return; v.playbackRate+= 0.25 })(document.querySelector("video"))
|
||||
bind ůj js (v=> { if(!v) return; v.playbackRate-= 0.25 })(document.querySelector("video"))
|
||||
bind ů= js (v=> { if(!v) return; v.playbackRate= 1 })(document.querySelector("video"))
|
||||
bind ůG js (v=> { if(!v) return; v.play(); v.currentTime= ( location.hostname!=="www.disneyplus.com" ? v.duration : (document.querySelector(".time-remaining-label").textContent.split(":").reduce((acc, curr, i)=> (!i ? 60 : 1)*curr+acc, 0)+v.currentTime) )-10; setTimeout(()=> tri.controller.acceptExCmd("pauseVideos"), 5000); })(document.querySelector("video"))
|
||||
|
||||
unbind --mode=normal d
|
||||
bind dd tabclose
|
||||
|
||||
unbind --mode=normal s
|
||||
bind st fillcmdline_notrail tab
|
||||
bind \t fillcmdline_notrail tab
|
||||
|
||||
" h keyboardlayoutoverrides … https://gistpreview.github.io/?324119c773fac31651f6422087b36804
|
||||
" set keyboardlayoutoverrides "Digit2: ;, Backquote: :"
|
||||
set keytranslatemap {"ě":";",";":":"}
|
||||
bindurl ^https://mail.centrum.cz/* ;; composite hint_focus ; js document.activeElement.dispatchEvent(new CustomEvent("mouseover"))
|
||||
bind --mode=normal ;gt hint -c [tabindex]
|
||||
|
||||
bind š tab #
|
||||
bind sš fillcmdline tab
|
||||
|
||||
" b→t→n to make more consistent with gn*
|
||||
unbind --mode=normal b
|
||||
unbind --mode=normal B
|
||||
bind --mode=normal t fillcmdline tab
|
||||
bind --mode=normal T fillcmdline taball
|
||||
bind --mode=normal n fillcmdline tabopen
|
||||
bind --mode=normal N current_url tabopen
|
||||
|
||||
bind -c fillcmdline recontain
|
||||
bind \c fillcmdline_notrail container
|
||||
|
||||
bind --mode=visual \t composite js "https://libretranslate.com/?source=auto&target=cs&q="+encodeURI(document.getSelection().toString()) | tabopen
|
||||
bind --mode=visual \T composite js "https://translate.google.com/?sl=auto&tl=cs&op=translate&text="+encodeURI(document.getSelection().toString()) | tabopen
|
||||
bind --mode=normal \t composite js "http://translate.google.com/translate?js=n&tl=cs&u="+encodeURI(location.href) | tabopen
|
||||
|
||||
bind gnk tabopen -c osobní https://keep.google.com/u/0/#NOTE/1UXE_BEihe2EexHwZqEYA2oSdILLxF74SPcaLFMStfIpMkWPnStWJDQqH5C1TryJld_dC
|
||||
bind gok open -c osobní https://keep.google.com/u/0/#NOTE/1UXE_BEihe2EexHwZqEYA2oSdILLxF74SPcaLFMStfIpMkWPnStWJDQqH5C1TryJld_dC
|
||||
bind gwk winopen -c osobní https://keep.google.com/u/0/#NOTE/1UXE_BEihe2EexHwZqEYA2oSdILLxF74SPcaLFMStfIpMkWPnStWJDQqH5C1TryJld_dC
|
||||
bind gnC tabopen -c osobní https://calendar.google.com
|
||||
bind goC open -c osobní https://calendar.google.com
|
||||
bind gwC winopen -c osobní https://calendar.google.com
|
||||
|
||||
alias hint_focus hint -;
|
||||
quickmark c moz-extension://616498c0-3916-4f0b-b0a9-ce01ecf2298d/popup.html
|
||||
|
||||
command mastodonUncoverAll composite hint_focus .scrollable ; js (onclick=document.createEvent("Events"), onclick.initEvent("click", true, false), Array.from(document.activeElement.getElementsByClassName("status__content__spoiler-link")).forEach(el=> el.dispatchEvent(onclick)))
|
||||
command mastodonRedirectHome js const canonicalHref = document.querySelector('link[rel=canonical]')?.href; const parts = (canonicalHref ? new URL(canonicalHref) : location).pathname.split('/'); if(parts.length===2) location.href= `https://fosstodon.org/${parts[1]}@${location.host}`; else location.href= `https://fosstodon.org/authorize_interaction?uri=${location.href}`;
|
||||
bind sm fillcmdline_notrail mastodon
|
||||
|
||||
command data_delall composite hint_focus * ; js document.activeElement.querySelectorAll("input").forEach(el=> el.checked=false)
|
||||
|
||||
command scrollblur js tri.scrolling.setCurrentFocus(document.documentElement || document.body)
|
||||
autocmd DocLoad https://user.centrum.cz/?url=http%3A%2F%2Fmail.centrum.cz open https://mail.centrum.cz/?fld=-666
|
||||
|
||||
" For syntax highlighting see https://github.com/tridactyl/vim-tridactyl
|
||||
" vim: set filetype=tridactyl
|
||||
" vim: set ft=vim :
|
9
.config/uurc
Normal file
9
.config/uurc
Normal file
@ -0,0 +1,9 @@
|
||||
#! /usr/bin/
|
||||
uu_w_alias="wttr.in/${1:-prague}?M"
|
||||
uu_w_is_raw=0
|
||||
uu_h_alias="cheat.sh/$1"
|
||||
uu_h_is_raw=0
|
||||
uu_surl_alias="tinyurl.com/api-create.php?url=$1"
|
||||
uu_surl_is_raw=1
|
||||
uu_ip_alias="ifconfig.co/json"
|
||||
uu_ip_is_raw=1
|
8
.config/vifm/README.md
Normal file
8
.config/vifm/README.md
Normal file
@ -0,0 +1,8 @@
|
||||
# Vifm
|
||||
[Vifm - Manual](https://vifm.info/manual.shtml).
|
||||
|
||||
## Related files
|
||||
- [./\*](./)
|
||||
|
||||
## Additional
|
||||
- [How to use bat as a fileviewer · Issue #404 · vifm/vifm](https://github.com/vifm/vifm/issues/404)
|
27
.config/vifm/colors/ph.vifm
Normal file
27
.config/vifm/colors/ph.vifm
Normal file
@ -0,0 +1,27 @@
|
||||
" ph
|
||||
|
||||
highlight clear
|
||||
|
||||
highlight Win cterm=none ctermfg=248 ctermbg=234
|
||||
highlight Directory cterm=bold ctermfg=033 ctermbg=234
|
||||
highlight Link cterm=bold ctermfg=yellow ctermbg=234
|
||||
highlight BrokenLink cterm=reverse ctermfg=red ctermbg=default
|
||||
highlight Socket cterm=bold ctermfg=125 ctermbg=default
|
||||
highlight Device cterm=bold ctermfg=red ctermbg=default
|
||||
highlight Fifo cterm=bold ctermfg=cyan ctermbg=default
|
||||
highlight Executable cterm=bold ctermfg=166 ctermbg=default
|
||||
highlight Selected cterm=bold ctermfg=255 ctermbg=237
|
||||
highlight CurrLine cterm=bold ctermfg=default ctermbg=237
|
||||
highlight TopLine cterm=bold ctermfg=black ctermbg=235
|
||||
highlight TopLineSel cterm=bold ctermfg=black ctermbg=default
|
||||
highlight StatusLine cterm=bold ctermfg=black ctermbg=235
|
||||
highlight WildMenu cterm=underline,reverse ctermfg=white ctermbg=black
|
||||
highlight CmdLine cterm=none ctermfg=white ctermbg=black
|
||||
highlight ErrorMsg cterm=none ctermfg=red ctermbg=black
|
||||
highlight Border cterm=none ctermfg=black ctermbg=234
|
||||
highlight JobLine cterm=bold,reverse ctermfg=black ctermbg=white
|
||||
highlight SuggestBox cterm=bold ctermfg=default ctermbg=default
|
||||
|
||||
if $USER == 'root'
|
||||
highlight Border ctermbg=red
|
||||
endif
|
@ -1 +0,0 @@
|
||||
/home/jaandrle/Vzdálené/GitHub/dotfiles/vifm/vifmrc
|
372
.config/vifm/vifmrc
Normal file
372
.config/vifm/vifmrc
Normal file
@ -0,0 +1,372 @@
|
||||
"" VIFM Config file / 2023-03-16 / Jan Andrle
|
||||
"" #region B – Bookmarks
|
||||
if !has('win')
|
||||
:bmark! "~/" home
|
||||
:bmark! "~/Stažené/" downloads
|
||||
:bmark! "~/Dokumenty/" documents
|
||||
:bmark! "~/Dokumenty/Projekty/" projects
|
||||
:bmark! "~/Vzdálené/GitHub/" git github
|
||||
:bmark! "~/Vzdálené/ftp/" ftp
|
||||
:bmark! "~/Vzdálené/OneDrive" onedrive
|
||||
:bmark! "~/.config/vifm/" vifm
|
||||
:bmark! "~/.chatgpt/notes" chatgpt-notes
|
||||
:bmark! "/media/jaandrle/" volumes
|
||||
else
|
||||
:bmark! "~/" home
|
||||
:bmark! "C:/Projekty/" projects cordova
|
||||
:bmark! "~/Documents/GitHub/" projects git github
|
||||
:bmark! "y:/" qnap
|
||||
:bmark! "y:/DHL/" qnap dhl
|
||||
:bmark! "~/Downloads/" downloads
|
||||
:bmark! "~/Downloads/FTPtemp/" ftp temp
|
||||
:bmark! "~/AppData/Roaming/Vifm/" vifm
|
||||
endif
|
||||
mark b ~/bin/
|
||||
mark h ~/
|
||||
"" #endregion B
|
||||
"" #region G – General
|
||||
" set vicmd=elvis\ -G\ termcap | " set vicmd=vile
|
||||
set vicmd=vim
|
||||
command! README :!vim ~/Dokumenty/GitHub/dotfiles/vifm/README.md
|
||||
command! Help :!vim ~/.config/vifm/vifm-help.txt
|
||||
map <f1> :Help<cr>
|
||||
" cabbrev help Help
|
||||
set vimhelp
|
||||
if !has('win')
|
||||
set fusehome=/tmp/vifm_FUSE
|
||||
set slowfs=curlftpfs
|
||||
endif
|
||||
set syscalls norunexec
|
||||
" Automatically resolve symbolic links on l or Enter.
|
||||
set notrash
|
||||
nmap dd :!trash %"f<cr>
|
||||
nmap d? :exe "!clear && echo 'Native system trash (`trash-cli`): use `trash`|`trash-empty`|`trash-list`|`trash-put`|`trash-restore`|`trash-rm`' && trash-list | sort -r" | shell<cr>
|
||||
set history=100 undolevels=100
|
||||
" What should be saved automatically between vifm sessions. Drop "savedirs"
|
||||
" value if you don't want vifm to remember last visited directories for you.
|
||||
set vifminfo=dhistory,savedirs,chistory,state,tui,shistory,
|
||||
\phistory,fhistory,dirstack,registers,bookmarks,bmarks
|
||||
|
||||
cmap <c-b>
|
||||
cmap <c-f>
|
||||
nmap ; :
|
||||
nmap š <tab>
|
||||
nnoremap <c-h> :history<cr>
|
||||
nnoremap \= :filter !{}<left><left>
|
||||
" Open console in current directory
|
||||
if !has('win')
|
||||
nnoremap Ot :!(exo-open --launch TerminalEmulator --working-directory %d > /dev/null 2>&1) &<cr>
|
||||
nnoremap Ov :!(exo-open --launch TerminalEmulator --working-directory %d -- -e "vifm ." > /dev/null 2>&1) &<cr>
|
||||
nnoremap OV :!vim<cr>
|
||||
else
|
||||
nnoremap Ot :!start "[Vifm] PowerShell %d" powershell.exe -c "powershell.exe -NoExit -Command Set-Location -LiteralPath '%d'"<cr>
|
||||
endif
|
||||
"" #endregion G
|
||||
"" #region AD – Apperance/Default
|
||||
set quickview
|
||||
command! SetView :view
|
||||
set dotfiles
|
||||
colorscheme codedark
|
||||
set wildmenu wildstyle=popup
|
||||
set suggestoptions=normal,visual,view,otherpane,keys,foldsubkeys,marks,registers
|
||||
set ignorecase smartcase incsearch
|
||||
set scrolloff=4
|
||||
|
||||
highlight User1 cterm=italic
|
||||
set statusline=" %-E %-d %-A %1*»%-z«%* %= %{&sort} "
|
||||
" hide side borders + use Unicode ellipsis
|
||||
set tuioptions-=s
|
||||
if $TERM != 'linux' | set tuioptions+=u | endif
|
||||
" change appearance of middle border
|
||||
" set fillchars=vborder:·
|
||||
if has('win')
|
||||
set columns=97
|
||||
nnoremap <c-L>c :set columns=97<cr>
|
||||
map <c-L>1 33<c-W>|
|
||||
map <c-L>2 49<c-W>|
|
||||
map <c-L>3 66<c-W>|
|
||||
endif
|
||||
"" #endregion AD
|
||||
"" #region AT – Apperance/Texts
|
||||
" Use KiB, MiB, ... instead of KB, MB, ...
|
||||
set noiec
|
||||
set tabstop=2
|
||||
set timefmt=%y-%m-%dT%H:%M
|
||||
" Customize view columns a bit (enable ellipsis for truncated file names)
|
||||
set viewcolumns=-{root}..,5.4{ext},-6{}
|
||||
command! SetViewColumnsDefault :set viewcolumns=-{root}..,5.4{ext},-6{}
|
||||
command! SetViewColumnsShort :set viewcolumns=-{name}..,{}
|
||||
command! SetWrap :set wrap!
|
||||
"" #endregion AT
|
||||
"" #region AS – Apperance/Sorting+Numbers
|
||||
set sortnumbers sort=+iname
|
||||
command! SetSortAll :sort
|
||||
command! SetSort
|
||||
\ :if &sort == '-size,+name'
|
||||
\ | set sort=-mtime
|
||||
\ | echo 'Sorted by modification date (from latest)'
|
||||
\ |elseif &sort == '-size,+iname'
|
||||
\ | set sort=-mtime
|
||||
\ | echo 'Sorted by modification date (from latest)'
|
||||
\ |elseif &sort == '+iname'
|
||||
\ | set sort=-size
|
||||
\ | echo 'Sorted by size'
|
||||
\ |else
|
||||
\ | set sort=+iname
|
||||
\ | echo 'Sorted by name'
|
||||
\ |endif
|
||||
set number
|
||||
command! SetNumber
|
||||
\ :if &relativenumber
|
||||
\ | set norelativenumber
|
||||
\ | set number
|
||||
\ | echo 'Numbers showned'
|
||||
\ |elseif &number
|
||||
\ | set nonumber
|
||||
\ | echo 'No Numbers'
|
||||
\ |else
|
||||
\ | set relativenumber
|
||||
\ | echo 'Relative numbers showned'
|
||||
\ |endif
|
||||
"" #endregion AS
|
||||
"" #region C – Commands
|
||||
cnoremap <c-b> <a-b>
|
||||
cnoremap <c-f> <a-f>
|
||||
cnoremap <> <><left>
|
||||
cnoremap () ()<left>
|
||||
cnoremap {} {}<left>
|
||||
cnoremap "" ""<left>
|
||||
cnoremap '' ''<left>
|
||||
" #region :com[mand][!] command_name action
|
||||
" The following macros can be used in a command
|
||||
" %a is replaced with the user arguments.
|
||||
" %c the current file under the cursor.
|
||||
" %C the current file under the cursor in the other directory.
|
||||
" %f the current selected file, or files.
|
||||
" %F the current selected file, or files in the other directory.
|
||||
" %b same as %f %F.
|
||||
" %d the current directory name.
|
||||
" %D the other window directory name.
|
||||
" %m run the command in a menu window
|
||||
" #endregion
|
||||
if has('win')
|
||||
command! meld "C:\Program Files (x86)\Meld\Meld.exe" %"f %"F &
|
||||
command! zipAll powershell Compress-Archive -Path %"c/* -CompressionLevel Fastest -DestinationPath %c:r.zip
|
||||
command! isrunnig %m tasklist /FI "IMAGENAME eq %a" 2>NUL | find /I /N "%a"
|
||||
else
|
||||
command! onedrive xfce4-terminal -x bash -c 'echo Microsoft Onedrive Log:; onedrive --synchronize &
|
||||
command! meld meld %"f %"F 2> /dev/null &
|
||||
command! zipAll zip -r "%c:r.zip" ./*
|
||||
command! terminal !(exo-open --launch TerminalEmulator > /dev/null 2>&1) &
|
||||
nmap \t :terminal<cr>
|
||||
endif
|
||||
if !has('win')
|
||||
command! volumes :cd /media/jaandrle/
|
||||
endif
|
||||
|
||||
command! df df -h %m 2> /dev/null
|
||||
command! diff vim -d %f %F
|
||||
command! vim vim %"f
|
||||
command! make !!make %a
|
||||
command! mkcd :mkdir %a | cd %a
|
||||
command! vgrep vim "+grep %a"
|
||||
command! reload :write | restart
|
||||
|
||||
command! run !! ./%f
|
||||
command! runGUI !! ./%f &
|
||||
nmap or :runGUI<cr>
|
||||
nmap oR :run<cr>
|
||||
"" #endregion C
|
||||
" #region F – Filetypes
|
||||
nnoremap ov :!vim %"f<cr>
|
||||
nnoremap oo :file &<cr>l
|
||||
nnoremap oO :file &<cr>/[#$]<cr>l
|
||||
nnoremap on :file &<cr>/xdg-open<cr>l
|
||||
|
||||
" #region Farch – Archives
|
||||
if has('win')
|
||||
fileviewer *.zip,*.jar,*.war,*.ear,*.oxt,
|
||||
\*.docx,*.pptx,*.xmlx,*.epub
|
||||
\ tar -tf %c
|
||||
else
|
||||
fileviewer *.zip,*.jar,*.war,*.ear,*.oxt,
|
||||
\*.docx,*.pptx,*.xmlx,*.epub
|
||||
\ zip -sf %c
|
||||
endif
|
||||
filetype *.zip,*.jar,*.war,*.ear,*.oxt,*.apkg,
|
||||
\*.docx,*.pptx,*.xmlx,
|
||||
\*.epub,*.eml
|
||||
\ {Mount with fuse-zip}
|
||||
\ FUSE_MOUNT|fuse-zip %SOURCE_FILE %DESTINATION_DIR,
|
||||
\ {View contents}
|
||||
\ zip -sf %c | less,
|
||||
\ {Extract here}
|
||||
\ §extract %"f
|
||||
filetype *.tar,*.tar.bz2,*.tbz2,*.tgz,*.tar.gz,*.tar.xz,*.txz
|
||||
\ {Mount with archivemount}
|
||||
\ FUSE_MOUNT|archivemount %SOURCE_FILE %DESTINATION_DIR,
|
||||
\ {Extract here}
|
||||
\ §extract %"f
|
||||
fileviewer *.tgz,*.tar.gz tar -tzf %c
|
||||
fileviewer *.tar.bz2,*.tbz2 tar -tjf %c
|
||||
fileviewer *.tar.txz,*.txz xz --list %c
|
||||
fileviewer *.tar tar -tf %c
|
||||
filetype *.rar {Mount with rar2fs}
|
||||
\ FUSE_MOUNT|rar2fs %SOURCE_FILE %DESTINATION_DIR,
|
||||
\ {Extract here}
|
||||
\ §extract %"f
|
||||
fileviewer *.rar unrar v %c
|
||||
filetype *.iso {Mount with fuseiso}
|
||||
\ FUSE_MOUNT|fuseiso %SOURCE_FILE %DESTINATION_DIR,
|
||||
\ {Extract here}
|
||||
\ §extract %"f
|
||||
filetype *.7z {Mount with fuse-7z}
|
||||
\ FUSE_MOUNT|fuse-7z %SOURCE_FILE %DESTINATION_DIR,
|
||||
\ {Extract here}
|
||||
\ §extract %"f
|
||||
fileviewer *.7z 7z l %c
|
||||
" #endregion Farch
|
||||
filetype *.ftp {Mount with curlftpfs}
|
||||
\ FUSE_MOUNT2|curlftpfs -o disable_eprt %PARAM %DESTINATION_DIR %FOREGROUND %CLEAR,
|
||||
"\ FUSE_MOUNT2|curlftpfs -o ftp_port=-,,disable_eprt %PARAM %DESTINATION_DIR %FOREGROUND %CLEAR,
|
||||
filetype *.ssh {Mount with sshfs}
|
||||
\ FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR %FOREGROUND,
|
||||
|
||||
if has('win')
|
||||
" filetype * start, explorer
|
||||
filetype *
|
||||
\ {File Explorer}
|
||||
\ explorer %"c:p &,
|
||||
\ {Total Commander}
|
||||
\ "C:\Program Files (x86)\totalcmd\TOTALCMD.EXE" /O %"c:p &,
|
||||
\ {Notepad++}
|
||||
\ "C:\Program Files\Notepad++\notepad++.exe" %"c:p &
|
||||
filextype *.txt {Open with Notepad} start notepad.exe %f
|
||||
else
|
||||
filetype * {Native Open} xdg-open > /dev/null 2>&1 &
|
||||
endif
|
||||
" #region Futils – Utils (eg. hashs checks)
|
||||
filetype *.torrent ktorrent %f &
|
||||
fileviewer *.torrent dumptorrent -v %c
|
||||
" Object
|
||||
filetype *.o nm %f | less
|
||||
" Man page
|
||||
filetype *.[1-8] man ./%c
|
||||
fileviewer *.[1-8] man ./%c | col -b
|
||||
" MD5 SHA1 SHA256 SHA512 GPG signature
|
||||
filetype *.md5 {Check MD5 hash sum}
|
||||
\ md5sum -c %f %S,
|
||||
filetype *.sha1 {Check SHA1 hash sum}
|
||||
\ sha1sum -c %f %S,
|
||||
filetype *.sha256 {Check SHA256 hash sum}
|
||||
\ sha256sum -c %f %S,
|
||||
filetype *.sha512 {Check SHA512 hash sum}
|
||||
\ sha512sum -c %f %S,
|
||||
filetype *.asc {Check signature}
|
||||
\ !!gpg --verify %c,
|
||||
" #endregion Futils
|
||||
" #region FmediaBin
|
||||
if has('win')
|
||||
fileviewer
|
||||
\*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm,
|
||||
\*.exe,*.epub,*.doc,*.docx
|
||||
\*.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus,
|
||||
\*.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
|
||||
\*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,
|
||||
\*.as[fx]
|
||||
" \ powershell New-Object System.IO.FileInfo(\"%c:p\")
|
||||
\ forfiles /M %"c /C "cmd /c (echo @path && echo . . . && echo Last modification: @fdate @ftime)" && echo . . . && type %"c
|
||||
else
|
||||
fileviewer
|
||||
\*.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm,
|
||||
\ env -u COLORTERM viu %"c -w %pw -t &&
|
||||
\ echo $(file -b %f)
|
||||
\ %pc
|
||||
fileviewer
|
||||
\*.exe,*.doc,
|
||||
\*.svg,
|
||||
\ echo $(file -b %f) && echo — && echo $(ls -lh %f)&& echo — && echo $(head %f | tr -d '\0')
|
||||
fileviewer *.pdf pdftotext -nopgbrk %c -
|
||||
fileviewer <video/*>,<audio/*> mediainfo %c
|
||||
endif
|
||||
" #endregion FmediaBin
|
||||
fileviewer .*/,*/ tree %c -L 3 -C &
|
||||
fileviewer ../ tree %c -L 1 -C &
|
||||
fileviewer *.js,*.mjs,*.ts,*.sh,
|
||||
\*.css,*.scss,
|
||||
\*.php,
|
||||
\*.md,*.html,
|
||||
\*.json,*.xml
|
||||
\ env -uCOLORTERM batcat --color always --theme 'Visual Studio Dark+' --wrap never --pager never --tabs 2 %c -p
|
||||
fileviewer <text/x-*>,<application/*> env -uCOLORTERM batcat --color always --theme 'Visual Studio Dark+' --wrap never --pager never --tabs 2 %c -p
|
||||
" #endregion F
|
||||
" #region S – sS keys
|
||||
nnoremap sf :file &
|
||||
nnoremap sjj :cd ./
|
||||
nnoremap sjh :cd ~/
|
||||
nnoremap sjg :cd ~/Vzdálené/GitHub/
|
||||
nnoremap sjp :cd ~/Dokumenty/Projekty/
|
||||
nnoremap sb :bmg
|
||||
nnoremap sS :Set
|
||||
nnoremap SS :<up><cr>
|
||||
" #endregion S
|
||||
" #region Y – Copy files/names/…
|
||||
nmap ycc :clone <cr>
|
||||
" copy/move files to the opposite pane
|
||||
nmap yp :copy <cr>
|
||||
nmap yP :move <cr>
|
||||
" Interaction with system clipboard (yank directory path/curr.file path/filename)
|
||||
if has('win')
|
||||
nnoremap ycp :!echo %"d:gs!\!/! %i | clip<cr>:echo expand('%"d') "is yanked to clipboard"<cr>
|
||||
nnoremap ycf :!echo %"c:gs!\!/! %i | clip<cr>:echo expand('%"c:p') "is yanked to clipboard"<cr>
|
||||
nnoremap ycn :!echo %"c %i | clip<cr>:echo expand('%"c') "is yanked to clipboard"<cr>
|
||||
elseif executable('xclip')
|
||||
nnoremap ycd :!echo -n %d | xclip -selection clipboard %i<cr>:echo expand('%"d') "is yanked to clipboard"<cr>
|
||||
nnoremap ycf :!echo -n %c:p | xclip -selection clipboard %i<cr>:echo expand('%"c:p') "is yanked to clipboard"<cr>
|
||||
nnoremap ycn :!echo -n %c | xclip -selection clipboard %i<cr>:echo expand('%"c') "is yanked to clipboard"<cr>
|
||||
elseif executable('xsel')
|
||||
nnoremap ycd :!echo -n %d | xsel --input --primary %i && echo -n %d | xsel --clipboard --input %i<cr>:echo expand('%"d') "is yanked to clipboard"<cr>
|
||||
nnoremap ycf :!echo -n %c:p | xsel --input --primary %i && echo -n %c:p | xsel --clipboard --input %i<cr>:echo expand('%"c:p') "is yanked to clipboard"<cr>
|
||||
nnoremap ycn :!echo -n %c | xsel --input --primary %i && echo -n %c | xsel --clipboard --input %i<cr>:echo expand('%"c') "is yanked to clipboard"<cr>
|
||||
endif
|
||||
" #endregion Y
|
||||
|
||||
"" #region N – Notes
|
||||
"Filter-out build and temporary files
|
||||
" windo filter! /^.*\.(lo|o|d|class|py[co])$|.*~$/
|
||||
" Example of standard two-panel file managers mappings
|
||||
" nnoremap <f3> :!less %f<cr>
|
||||
" nnoremap <f4> :edit<cr>
|
||||
" nnoremap <f5> :copy<cr>
|
||||
" nnoremap <f6> :move<cr>
|
||||
" nnoremap <f7> :mkdir<space>
|
||||
" nnoremap <f8> :delete<cr>
|
||||
|
||||
" ------------------------------------------------------------------------------
|
||||
|
||||
" Various customization examples
|
||||
|
||||
" Use ag (the silver searcher) instead of grep
|
||||
"
|
||||
" set grepprg=ag\ --line-numbers\ %i\ %a\ %s
|
||||
|
||||
" Add additional place to look for executables
|
||||
"
|
||||
" let $PATH = $HOME.'/bin/fuse:'.$PATH
|
||||
|
||||
" Block particular shortcut
|
||||
"
|
||||
" nnoremap <left> <nop>
|
||||
|
||||
" Export IPC name of current instance as environment variable and use it to
|
||||
" communicate with the instance later.
|
||||
"
|
||||
" It can be used in some shell script that gets run from inside vifm, for
|
||||
" example, like this:
|
||||
" vifm --server-name "$VIFM_SERVER_NAME" --remote +"cd '$PWD'"
|
||||
"
|
||||
" let $VIFM_SERVER_NAME = v:servername
|
||||
" #endregion N
|
||||
|
||||
" vim: set filetype=vifm tabstop=4 shiftwidth=4 textwidth=250 noexpandtab :
|
||||
" vim>60: set foldmethod=marker foldmarker=#region,#endregion :
|
4
.config/xremap.yml
Normal file
4
.config/xremap.yml
Normal file
@ -0,0 +1,4 @@
|
||||
keymap:
|
||||
- name: Ctrl+tab alias
|
||||
remap:
|
||||
C-KEY_KPSLASH: C-KEY_TAB
|
206
.ctags
Normal file
206
.ctags
Normal file
@ -0,0 +1,206 @@
|
||||
--exclude="*/node_modules/*"
|
||||
--exclude=*.min.js
|
||||
--exclude=*.min.css
|
||||
--exclude=*.map
|
||||
--exclude=.backup
|
||||
--exclude=.sass-cache
|
||||
--exclude=vendors
|
||||
--exclude=.git
|
||||
|
||||
--langdef=css
|
||||
--langmap=css:.css
|
||||
--langmap=css:+.styl
|
||||
--langmap=css:+.less
|
||||
--regex-css=/^[ \t]*\.([A-Za-z0-9_-]+)/\1/c,class,classes/
|
||||
--regex-css=/^[ \t]*#([A-Za-z0-9_-]+)/\1/i,id,ids/
|
||||
--regex-css=/^[ \t]*(([A-Za-z0-9_-]+[ \t\n,]+)+)\{/\1/t,tag,tags/
|
||||
--regex-css=/^[ \t]*@media\s+([A-Za-z0-9_-]+)/\1/m,media,medias/
|
||||
|
||||
--langdef=scss
|
||||
--langmap=scss:.sass
|
||||
--langmap=scss:+.scss
|
||||
--regex-scss=/^[ \t]*@mixin ([A-Za-z0-9_-]+)/\1/m,mixin,mixins/
|
||||
--regex-scss=/^[ \t]*@function ([A-Za-z0-9_-]+)/\1/f,function,functions/
|
||||
--regex-scss=/^[ \t]*\$([A-Za-z0-9_-]+)/\1/v,variable,variables/
|
||||
--regex-scss=/^([A-Za-z0-9_-]*)*\.([A-Za-z0-9_-]+) *[,{]/\2/c,class,classes/
|
||||
--regex-scss=/^[ \t]+\.([A-Za-z0-9_-]+) *[,{]/\1/c,class,classes/
|
||||
--regex-scss=/^(.*)*\#([A-Za-z0-9_-]+) *[,{]/\2/i,id,ids/
|
||||
--regex-scss=/^[ \t]*#([A-Za-z0-9_-]+)/\1/i,id,ids/
|
||||
--regex-scss=/(^([A-Za-z0-9_-])*([A-Za-z0-9_-]+)) *[,|\{]/\1/t,tag,tags/
|
||||
--regex-scss=/(^([^\/\/])*)[ \t]+([A-Za-z0-9_-]+)) *[,|\{]/\3/t,tag,tags/
|
||||
--regex-scss=/(^(.*, *)([A-Za-z0-9_-]+)) *[,|\{]/\3/t,tag,tags/
|
||||
--regex-scss=/(^[ \t]+([A-Za-z0-9_-]+)) *[,|\{]/\1/t,tag,tags/
|
||||
--regex-scss=/^[ \t]*@media\s+([A-Za-z0-9_-]+)/\1/d,media,media/
|
||||
|
||||
--langdef=stylus
|
||||
--langmap=stylus:.styl
|
||||
--regex-stylus=/^[ \t]*\.([A-Za-z0-9_-]+)/\1/c,class,classes/
|
||||
--regex-stylus=/^[ \t]*#([A-Za-z0-9_-]+)/\1/i,id,ids/
|
||||
--regex-stylus=/^[ \t]*(([A-Za-z0-9_-]+[ \t\n,]+)+)\{/\1/t,tag,tags/
|
||||
--regex-stylus=/^[ \t]*@media\s+([A-Za-z0-9_-]+)/\1/m,media,medias/
|
||||
|
||||
--langdef=markdown
|
||||
--langmap=markdown:.md
|
||||
--regex-markdown=/^# (<.*>)?(.+)/\2/i,h1/
|
||||
--regex-markdown=/^## (<.*>)?(.+)/\2/i,h2/
|
||||
--regex-markdown=/^### (<.*>)?(.+)/\2/i,h3/
|
||||
|
||||
--langdef=js
|
||||
--langmap=javascript:.js.es6.es.jsx.mjs
|
||||
--javascript-kinds=-c-f-m-p-v
|
||||
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*\[/\1/A,Array,Arrays/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*\[/\1/A,Array,Arrays/b
|
||||
--regex-javascript=/^[ \t]*const[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*\[/\1/A,Array,Arrays/b
|
||||
|
||||
--regex-javascript=/^[ \t]*class[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)/\1/C,Class,Classes/b
|
||||
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}\({[ \t]*\)*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)\([A-Za-z0-9_]\{1,\}\)/\3/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}\({[ \t]*\)*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)*\([A-Za-z0-9_]\{1,\}\),[ \t]*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)\([A-Za-z0-9_]\{1,\}\)/\5/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}\({[ \t]*\)*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)*\([A-Za-z0-9_]\{1,\}\),[ \t]*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)*\([A-Za-z0-9_]\{1,\}\),[ \t]*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)\([A-Za-z0-9_]\{1,\}\)/\7/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)/\1/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)/\1/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}const[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)/\1/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}function[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)/\1/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*[^,]\{1,\},[ \t]*\([A-Za-z0-9_$]\{1,\}\)/\2/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*[^,]\{1,\},[ \t]*\([A-Za-z0-9_$]\{1,\}\)/\2/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}const[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*[^,]\{1,\},[ \t]*\([A-Za-z0-9_$]\{1,\}\)/\2/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*[^,]\{1,\},[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)/\3/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*[^,]\{1,\},[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)/\3/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}const[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*[^,]\{1,\},[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)/\3/E,Export,Exports/b
|
||||
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}default[ \t]\{1,\}\({[ \t]*\)*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)\([A-Za-z0-9_]\{1,\}\)/\3/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}default[ \t]\{1,\}\({[ \t]*\)*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)*\([A-Za-z0-9_]\{1,\}\),[ \t]*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)\([A-Za-z0-9_]\{1,\}\)/\5/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}default[ \t]\{1,\}\({[ \t]*\)*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)*\([A-Za-z0-9_]\{1,\}\),[ \t]*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)*\([A-Za-z0-9_]\{1,\}\),[ \t]*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)\([A-Za-z0-9_]\{1,\}\)/\7/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}default[ \t]\{1,\}var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)/\1/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}default[ \t]\{1,\}let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)/\1/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}default[ \t]\{1,\}const[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)/\1/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}default[ \t]\{1,\}function[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)/\1/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}default[ \t]\{1,\}var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*[^,]\{1,\},[ \t]*\([A-Za-z0-9_$]\{1,\}\)/\2/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}default[ \t]\{1,\}let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*[^,]\{1,\},[ \t]*\([A-Za-z0-9_$]\{1,\}\)/\2/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}default[ \t]\{1,\}const[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*[^,]\{1,\},[ \t]*\([A-Za-z0-9_$]\{1,\}\)/\2/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}default[ \t]\{1,\}var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*[^,]\{1,\},[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)/\3/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}default[ \t]\{1,\}let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*[^,]\{1,\},[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)/\3/E,Export,Exports/b
|
||||
--regex-javascript=/^[ \t]*export[ \t]\{1,\}default[ \t]\{1,\}const[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*[^,]\{1,\},[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)/\3/E,Export,Exports/b
|
||||
|
||||
--regex-javascript=/^[ \t]*function[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t(]/\1/F,Function,Functions/b
|
||||
--regex-javascript=/^[ \t]*[(]function[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t(]/\1/F,Function,Functions/b
|
||||
--regex-javascript=/^[ \t]*async[ \t]function[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t(]/\1/F,Function,Functions/b
|
||||
--regex-javascript=/^[ \t]*[(]async[ \t]function[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t(]/\1/F,Function,Functions/b
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*\(async[ \t]\{1,\}\)*function[^\*][^\*]/\1/F,Function,Functions/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*\(async[ \t]\{1,\}\)*function[^\*][^\*]/\1/F,Function,Functions/b
|
||||
--regex-javascript=/^[ \t]*const[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*\(async[ \t]\{1,\}\)*function[^\*][^\*]/\1/F,Function,Functions/b
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*([^)]*$/\1/F,Function,Functions/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*([^)]*$/\1/F,Function,Functions/b
|
||||
--regex-javascript=/^[ \t]*const[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*([^)]*$/\1/F,Function,Functions/b
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=.\{1,\}=>/\1/F,Function,Functions/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=.\{1,\}=>/\1/F,Function,Functions/b
|
||||
--regex-javascript=/^[ \t]*const[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=.\{1,\}=>/\1/F,Function,Functions/b
|
||||
|
||||
--regex-javascript=/^[ \t]*function[ \t]*\*[ \t]*\([A-Za-z0-9_$]\{1,\}\)/\1/G,Generator,Generators/b
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*function\([ \t]*\*\)/\1/G,Generator,Generators/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*function\([ \t]*\*\)/\1/G,Generator,Generators/b
|
||||
--regex-javascript=/^[ \t]*const[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*function\([ \t]*\*\)/\1/G,Generator,Generators/b
|
||||
--regex-javascript=/^[ \t]*\(\*[ \t]\)\([A-Za-z0-9_$]\{1,\}\)[ \t]*(.*)[ \t]*[{]/\2/G,Generator,Generators/b
|
||||
|
||||
--regex-javascript=/^[ \t]*import[ \t]\{1,\}\([{][ \t]*\)*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)\([A-Za-z0-9_]\{1,\}\)/\3/I,Import,Imports/b
|
||||
--regex-javascript=/^[ \t]*import[ \t]\{1,\}\([{][ \t]*\)*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)*\([A-Za-z0-9_]\{1,\}\),[ \t]*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)\([A-Za-z0-9_]\{1,\}\)/\5/I,Import,Imports/b
|
||||
--regex-javascript=/^[ \t]*import[ \t]\{1,\}\([{][ \t]*\)*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)*\([A-Za-z0-9_]\{1,\}\),[ \t]*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)*\([A-Za-z0-9_]\{1,\}\),[ \t]*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)\([A-Za-z0-9_]\{1,\}\)/\7/I,Import,Imports/b
|
||||
--regex-javascript=/^[ \t]*import[ \t]\{1,\}type[ \t]\{1,\}\([{][ \t]*\)*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)\([A-Za-z0-9_]\{1,\}\)/\3/I,Import,Imports/b
|
||||
--regex-javascript=/^[ \t]*import[ \t]\{1,\}typeof[ \t]\{1,\}\([{][ \t]*\)*\([A-Za-z0-9_\*]*[ \t]as[ \t]\)\([A-Za-z0-9_]\{1,\}\)/\3/I,Import,Imports/b
|
||||
--regex-javascript=/^[ \t]*[A-Za-z0-9_]\{1,\}[ \t]as[ \t]\([A-Za-z0-9_]\{1,\}\)/\1/I,Import,Imports/b
|
||||
|
||||
--regex-javascript=/^[ \t]*\([A-Za-z0-9_$]\{1,\}\)\.\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*function/\2/M,Method,Methods/b
|
||||
--regex-javascript=/^[ \t]*\([A-Za-z0-9_$]\{1,\}\)\.\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*(/\2/M,Method,Methods/b
|
||||
--regex-javascript=/^[ \t]*\([A-Za-z0-9_$]\{1,\}\)\.\([A-Za-z0-9_$]\{1,\}\)\.\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*function/\3/M,Method,Methods/b
|
||||
--regex-javascript=/^[ \t]*\([A-Za-z0-9_$]\{1,\}\)\.\([A-Za-z0-9_$]\{1,\}\)\.\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*(/\3/M,Method,Methods/b
|
||||
--regex-javascript=/^[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*[:=][ \t]*[(]*function[ \t]*(/\1/M,Method,Methods/b
|
||||
--regex-javascript=/^[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*[:=][ \t](\{1,\}/\1/M,Method,Methods/b
|
||||
--regex-javascript=/^[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*[:=][ \t]\{1,\}async[ \t](\{1,\}/\1/M,Method,Methods/b
|
||||
--regex-javascript=/^[ \t]*static[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*(/\1/M,Method,Methods/b
|
||||
--regex-javascript=/^[ \t]*async[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*(/\1/M,Method,Methods/b
|
||||
--regex-javascript=/^[ \t]*\([A-Za-z0-9_$]\{1,\}\)(.*)[ \t]*[{]/\1/M,Method,Methods/b
|
||||
--regex-javascript=/^[ \t]*get[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*(/\1/M,Method,Methods/b
|
||||
--regex-javascript=/^[ \t]*set[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*(/\1/M,Method,Methods/b
|
||||
|
||||
--regex-javascript=/^[ \t]*\([A-Za-z0-9_$]\{1,\}\)\.\([A-Za-z0-9_$]\{1,\}\)[ \t]*[=][ \t]*{/\2/P,Property,Properties/b
|
||||
--regex-javascript=/^[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*:[ \t]*[{"\/\[]/\1/P,Property,Properties/b
|
||||
--regex-javascript=/^[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*:[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t,]*$/\1/P,Property,Properties/b
|
||||
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*[{]/\1/O,Object,Objects/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*[{]/\1/O,Object,Objects/b
|
||||
--regex-javascript=/^[ \t]*const[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*[{]/\1/O,Object,Objects/b
|
||||
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*styled/\1/S,StyledComponent,StyledComponents/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*styled/\1/S,StyledComponent,StyledComponents/b
|
||||
--regex-javascript=/^[ \t]*const[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*styled/\1/S,StyledComponent,StyledComponents/b
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*createGlobalStyle/\1/S,StyledComponent,StyledComponents/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*createGlobalStyle/\1/S,StyledComponent,StyledComponents/b
|
||||
--regex-javascript=/^[ \t]*const[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*createGlobalStyle/\1/S,StyledComponent,StyledComponents/b
|
||||
|
||||
--regex-javascript=/\/\/[ \t]*\(FIXME\)[ \t]*:*\(.*\)/\1/T,Tag,Tags/b
|
||||
--regex-javascript=/\/\/[ \t]*\(TODO\)[ \t]*:*\(.*\)/\1/T,Tag,Tags/b
|
||||
--regex-javascript=/\/\/[ \t]*\(BUG\)[ \t]*:*\(.*\)/\1/T,Tag,Tags/b
|
||||
--regex-javascript=/\/\/[ \t]*\(NOBUG\)[ \t]*:*\(.*\)/\1/T,Tag,Tags/b
|
||||
--regex-javascript=/\/\/[ \t]*\(???\)[ \t]*:*\(.*\)/\1/T,Tag,Tags/b
|
||||
--regex-javascript=/\/\/[ \t]*\(!!!\)[ \t]*:*\(.*\)/\1/T,Tag,Tags/b
|
||||
--regex-javascript=/\/\/[ \t]*\(HACK\)[ \t]*:*\(.*\)/\1/T,Tag,Tags/b
|
||||
--regex-javascript=/\/\/[ \t]*\(XXX\)[ \t]*:*\(.*\)/\1/T,Tag,Tags/b
|
||||
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*[0-9\"'\/]/\1/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*[0-9\"'\/]/\1/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*const[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*[0-9\"'\/]/\1/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*new/\1/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*new/\1/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*const[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*=[ \t]*new/\1/V,Variable,Variables/b
|
||||
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*[,;]/\1/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*[,;]/\1/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)/\2/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)/\2/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)/\3/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)/\3/V,Variable,Variables/b
|
||||
|
||||
--regex-javascript=/^[ \t]*const[ \t]\{1,\}{[ \t]*\([A-Za-z0-9_$]\{1,\}\)[^}]*}[ \t]*=/\1/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*const[ \t]\{1,\}{[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[^}]*}[ \t]*=/\2/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*const[ \t]\{1,\}{[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[^}]*}[ \t]*=/\3/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*const[ \t]\{1,\}{[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[^}]*}[ \t]*=/\4/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*const[ \t]\{1,\}\[[ \t]*\([A-Za-z0-9_$]\{1,\}\).*\][ \t]*=/\1/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*const[ \t]\{1,\}\[[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\).*\][ \t]*=/\2/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*const[ \t]\{1,\}\[[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\).*\][ \t]*=/\3/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*const[ \t]\{1,\}\[[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\).*\][ \t]*=/\4/V,Variable,Variables/b
|
||||
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}{[ \t]*\([A-Za-z0-9_$]\{1,\}\)[^}]*}[ \t]*=/\1/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}{[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[^}]*}[ \t]*=/\2/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}{[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[^}]*}[ \t]*=/\3/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}{[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[^}]*}[ \t]*=/\4/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}\[[ \t]*\([A-Za-z0-9_$]\{1,\}\).*\][ \t]*=/\1/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}\[[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\).*\][ \t]*=/\2/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}\[[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\).*\][ \t]*=/\3/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*var[ \t]\{1,\}\[[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\).*\][ \t]*=/\4/V,Variable,Variables/b
|
||||
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}{[ \t]*\([A-Za-z0-9_$]\{1,\}\)[^}]*}[ \t]*=/\1/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}{[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[^}]*}[ \t]*=/\2/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}{[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[^}]*}[ \t]*=/\3/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}{[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[^}]*}[ \t]*=/\4/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}\[[ \t]*\([A-Za-z0-9_$]\{1,\}\).*\][ \t]*=/\1/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}\[[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\).*\][ \t]*=/\2/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}\[[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\).*\][ \t]*=/\3/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]*let[ \t]\{1,\}\[[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\)[ \t]*,[ \t]*\([A-Za-z0-9_$]\{1,\}\).*\][ \t]*=/\4/V,Variable,Variables/b
|
||||
|
||||
--regex-javascript=/^[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\),$/\1/V,Variable,Variables/b
|
||||
--regex-javascript=/^[ \t]\{1,\}\([A-Za-z0-9_$]\{1,\}\)$/\1/V,Variable,Variables/b
|
||||
|
||||
--langdef=typescript
|
||||
--langmap=typescript:.ts.tsx
|
||||
--regex-typescript=/^[ \t]*(export[ \t]+([a-z]+[ \t]+)?)?class[ \t]+([a-zA-Z0-9_$]+)/\3/c,classes/
|
||||
--regex-typescript=/^[ \t]*(declare[ \t]+)?namespace[ \t]+([a-zA-Z0-9_$]+)/\2/c,modules/
|
||||
--regex-typescript=/^[ \t]*(export[ \t]+)?module[ \t]+([a-zA-Z0-9_$]+)/\2/n,modules/
|
||||
--regex-typescript=/^[ \t]*(export[ \t]+)?(default[ \t]+)?(async[ \t]+)?function(\*)?[ \t]+([a-zA-Z0-9_$]+)/\5/f,functions/
|
||||
--regex-typescript=/^[ \t]*export[ \t]+(var|let|const)[ \t]+([a-zA-Z0-9_$]+)/\2/v,variables/
|
||||
--regex-typescript=/^[ \t]*(var|let|const)[ \t]+([a-zA-Z0-9_$]+)[ \t]*=[ \t]*function[ \t]*[*]?[ \t]*\(\)/\2/v,varlambdas/
|
||||
--regex-typescript=/^[ \t]*(export[ \t]+)?(public|protected|private)?[ \t]*(static[ \t]+)?(abstract[ \t]+)?(((get|set|readonly)[ \t]+)|(async[ \t]+[*]*[ \t]*))?(#?[a-zA-Z1-9_$]+)[ \t]*[:(]/\9/m,members/
|
||||
--regex-typescript=/^[ \t]*(export[ \t]+)?interface[ \t]+([a-zA-Z0-9_$]+)/\2/i,interfaces/
|
||||
--regex-typescript=/^[ \t]*(export[ \t]+)?type[ \t]+([a-zA-Z0-9_$]+)/\2/t,types/
|
||||
--regex-typescript=/^[ \t]*(export[ \t]+)?enum[ \t]+([a-zA-Z0-9_$]+)/\2/e,enums/
|
||||
--regex-typescript=/^[ \t]*import[ \t]+([a-zA-Z0-9_$]+)/\1/I,imports/
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user