Initial
This commit is contained in:
commit
66e2ecab7a
50 changed files with 3610 additions and 0 deletions
34
files/.bash_aliases
Normal file
34
files/.bash_aliases
Normal file
|
@ -0,0 +1,34 @@
|
|||
#!/bin/bash
|
||||
# Bash aliases, interpreted by ~/.bashrc
|
||||
|
||||
# Import this machine's local aliases
|
||||
[ -f ~/.bash_localiases ] && source ~/.bash_localiases
|
||||
|
||||
alias ls='ls --color=auto'
|
||||
alias grep='grep --color=auto'
|
||||
alias ll='ls -lAh'
|
||||
|
||||
alias vi='vim'
|
||||
|
||||
alias g++std='g++ -Wall -Wextra -O2 -std=c++11'
|
||||
alias g++dbg='g++ -Wall -Wextra -g -DDEBUG -std=c++11'
|
||||
alias g++nazi='g++ -Wall -Wextra -pedantic -std=c++11 -O0'
|
||||
alias gccstd='gcc -Wall -Wextra -O2'
|
||||
alias gccdbg='gcc -Wall -Wextra -O0 -DDEBUG -g'
|
||||
alias gccnazi='gcc -Wall -Wextra -pedantic -O0'
|
||||
alias obc='obuild configure'
|
||||
alias obb='obuild build'
|
||||
alias obi='obuild install'
|
||||
alias obbi='obuild build && obuild install'
|
||||
alias obcb='obuild configure && obuild build'
|
||||
alias obcbi='obuild configure && obuild build && obuild install'
|
||||
|
||||
alias ocaml="/usr/bin/rlwrap ocaml"
|
||||
alias coqtop="/usr/bin/rlwrap coqtop"
|
||||
|
||||
alias cpufreq='watch grep \"cpu MHz\" /proc/cpuinfo'
|
||||
|
||||
alias xclipboard='xclip -selection clipboard'
|
||||
|
||||
alias wine_pulse='PULSE_LATENCY_MSEC=60 wine'
|
||||
|
6
files/.bash_completion
Normal file
6
files/.bash_completion
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
# Loads external completion files
|
||||
|
||||
source ~/.scripts/git-completion.bash
|
||||
source ~/.scripts/pass.bash-completion
|
||||
|
3
files/.bash_profile
Normal file
3
files/.bash_profile
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
[ -f ~/.bashrc ] && source ~/.bashrc
|
12
files/.bash_ps1
Normal file
12
files/.bash_ps1
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
# Sets the PS1
|
||||
|
||||
_tbold="\[$(tput bold)\]"
|
||||
_treset="\[$(tput sgr0)\]"
|
||||
_tred="\[$(tput setaf 1)\]"
|
||||
_tblue="\[$(tput setaf 4)\]"
|
||||
_tmag="\[$(tput setaf 5)\]"
|
||||
|
||||
export PS1="${_tbold}[${_tred}\u@\h ${_tblue}\W${_treset}${_tbold}]\\$ ${_treset}"
|
||||
|
||||
unset _t{bold,reset,red,blue,mag}
|
12
files/.bash_sshagent
Normal file
12
files/.bash_sshagent
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Start the gpg-agent if not already running
|
||||
if ! pgrep -x -u "${USER}" gpg-agent >/dev/null 2>&1; then
|
||||
gpg-connect-agent /bye >/dev/null 2>&1
|
||||
fi
|
||||
# Set SSH to use gpg-agent
|
||||
unset SSH_AGENT_PID
|
||||
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
|
||||
export GPG_TTY=$(tty)
|
||||
gpg-connect-agent updatestartuptty /bye >/dev/null
|
||||
|
52
files/.bashrc
Normal file
52
files/.bashrc
Normal file
|
@ -0,0 +1,52 @@
|
|||
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
||||
# for examples
|
||||
|
||||
#if [ -f "$HOME/.at_login" ]; then
|
||||
# /bin/bash "$HOME/.at_login"
|
||||
#fi
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
[ -z "$PS1" ] && return
|
||||
|
||||
# don't put duplicate lines in the history. See bash(1) for more options
|
||||
# ... or force ignoredups and ignorespace
|
||||
HISTCONTROL=ignoredups:ignorespace
|
||||
|
||||
# append to the history file, don't overwrite it
|
||||
shopt -s histappend
|
||||
|
||||
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
||||
HISTSIZE=1000
|
||||
HISTFILESIZE=2000
|
||||
|
||||
# check the window size after each command and, if necessary,
|
||||
# update the values of LINES and COLUMNS.
|
||||
shopt -s checkwinsize
|
||||
|
||||
# make less more friendly for non-text input files, see lesspipe(1)
|
||||
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
||||
|
||||
# Aliases
|
||||
[ -f ~/.bash_aliases ] && source ~/.bash_aliases
|
||||
|
||||
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
|
||||
. /etc/bash_completion
|
||||
fi
|
||||
|
||||
[ -f ~/.bash_ps1 ] && source ~/.bash_ps1
|
||||
|
||||
[ -f ~/.bash_sshagent ] && source ~/.bash_sshagent
|
||||
|
||||
export GTK_IM_MODULE=xim
|
||||
|
||||
export EDITOR=/usr/bin/vim
|
||||
|
||||
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
|
||||
|
||||
export PATH="$PATH:/home/tobast/bin"
|
||||
|
||||
export TERMINAL="/usr/bin/terminator"
|
||||
|
||||
# Opam
|
||||
which opam > /dev/null 2>&1 && eval `opam config env`
|
6
files/.config/i3/bin/i3lock
Executable file
6
files/.config/i3/bin/i3lock
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
WPDIR=~/Images/wallpapers/
|
||||
WALLPAPER=$WPDIR/wallpaper_lock.png
|
||||
|
||||
/usr/bin/i3lock -tefi "$WALLPAPER"
|
32
files/.config/i3/bin/mklockimg
Executable file
32
files/.config/i3/bin/mklockimg
Executable file
|
@ -0,0 +1,32 @@
|
|||
#!/bin/bash
|
||||
|
||||
WPDIR=~/Images/wallpapers
|
||||
WALLPAPER=$WPDIR/wallpaper.jpg
|
||||
WALLPAPER_OUT=$WPDIR/wallpaper_lock.png
|
||||
LOCKIMG=$WPDIR/img/lock.png
|
||||
LOCKTXT=$WPDIR/img/text.png
|
||||
|
||||
WPSIZE=$(identify "$WALLPAPER" | cut -d ' ' -f 3)
|
||||
WP_WID=$(echo "$WPSIZE" | cut -d 'x' -f 1)
|
||||
WP_HEI=$(echo "$WPSIZE" | cut -d 'x' -f 2)
|
||||
|
||||
LOCKSIZE=$(identify "$LOCKIMG" | cut -d ' ' -f 3)
|
||||
LOCK_WID=$(echo "$LOCKSIZE" | cut -d 'x' -f 1)
|
||||
LOCK_HEI=$(echo "$LOCKSIZE" | cut -d 'x' -f 2)
|
||||
|
||||
TEXTSIZE=$(identify "$LOCKTXT" | cut -d ' ' -f 3)
|
||||
TEXT_WID=$(echo "$TEXTSIZE" | cut -d 'x' -f 1)
|
||||
TEXT_HEI=$(echo "$TEXTSIZE" | cut -d 'x' -f 2)
|
||||
|
||||
LOCKPOS_X=$(($WP_WID/2 - $LOCK_WID/2))
|
||||
LOCKPOS_Y=$(($WP_HEI/2 - $LOCK_HEI/2))
|
||||
TEXTPOS_X=$(($WP_WID/2 - $TEXT_WID/2))
|
||||
TEXTPOS_Y=$(($WP_HEI/2 - $TEXT_HEI/2 + 200))
|
||||
|
||||
SCREENSIZE=$(xrandr --current | grep '*' | uniq | awk '{print $1}')
|
||||
SCREEN_WID=$(echo $SCREENSIZE | cut -d 'x' -f 1)
|
||||
SCREEN_HEI=$(echo $SCREENSIZE | cut -d 'x' -f 2)
|
||||
|
||||
convert "$WALLPAPER" "$LOCKIMG" -geometry "+$LOCKPOS_X+$LOCKPOS_Y" -composite \
|
||||
"$LOCKTXT" -geometry "+$TEXTPOS_X+$TEXTPOS_Y" -composite \
|
||||
-geometry "${SCREEN_WID}x${SCREEN_HEI}" "$WALLPAPER_OUT"
|
3
files/.config/i3/bin/wallpaper
Executable file
3
files/.config/i3/bin/wallpaper
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
/usr/bin/feh --bg-fill ~/Images/wallpapers/wallpaper.jpg
|
210
files/.config/i3/config
Normal file
210
files/.config/i3/config
Normal file
|
@ -0,0 +1,210 @@
|
|||
# This file has been auto-generated by i3-config-wizard(1).
|
||||
# It will not be overwritten, so edit it as you like.
|
||||
#
|
||||
# Should you change your keyboard layout some time, delete
|
||||
# this file and re-run i3-config-wizard(1).
|
||||
#
|
||||
|
||||
# i3 config file (v4)
|
||||
#
|
||||
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
||||
|
||||
set $mod Mod4
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font pango:monospace 8
|
||||
|
||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||
#font pango:DejaVu Sans Mono 8
|
||||
|
||||
# Before i3 v4.8, we used to recommend this one as the default:
|
||||
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
||||
# The font above is very space-efficient, that is, it looks good, sharp and
|
||||
# clear in small sizes. However, its unicode glyph coverage is limited, the old
|
||||
# X core fonts rendering does not support right-to-left and this being a bitmap
|
||||
# font, it doesn’t scale on retina/hidpi displays.
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
floating_modifier $mod
|
||||
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec /usr/bin/terminator
|
||||
|
||||
# lock the screen
|
||||
bindsym $mod+z exec ~/.config/i3/bin/i3lock
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
## Specific applications
|
||||
# start dmenu (a program launcher)
|
||||
bindsym $mod+d exec dmenu_run
|
||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||
# installed.
|
||||
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
||||
|
||||
# Passmenu
|
||||
bindsym $mod+Shift+p exec /usr/bin/passmenu
|
||||
##
|
||||
|
||||
# change focus
|
||||
bindsym $mod+j focus left
|
||||
bindsym $mod+k focus down
|
||||
bindsym $mod+l focus up
|
||||
bindsym $mod+semicolon focus right
|
||||
|
||||
# Focus parent/child
|
||||
bindsym $mod+i focus parent
|
||||
bindsym $mod+o focus child
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
bindsym $mod+Up focus up
|
||||
bindsym $mod+Right focus right
|
||||
|
||||
# move focused window
|
||||
bindsym $mod+Shift+j move left
|
||||
bindsym $mod+Shift+k move down
|
||||
bindsym $mod+Shift+l move up
|
||||
bindsym $mod+Shift+semicolon move right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Shift+Left move left
|
||||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
# split in horizontal orientation
|
||||
bindsym $mod+h split h
|
||||
|
||||
# split in vertical orientation
|
||||
bindsym $mod+v split v
|
||||
|
||||
# enter fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
|
||||
# change container layout (stacked, tabbed, toggle split)
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
|
||||
# toggle tiling / floating
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
# change focus between tiling / floating windows
|
||||
bindsym $mod+space focus mode_toggle
|
||||
|
||||
# focus the parent container
|
||||
bindsym $mod+a focus parent
|
||||
|
||||
# focus the child container
|
||||
#bindsym $mod+d focus child
|
||||
|
||||
# Switch to latest urgent
|
||||
bindsym $mod+x [urgent=latest] focus
|
||||
|
||||
# Switch to particular applications
|
||||
bindsym $mod+Shift+i [title="WeeChat 1.0.1"] focus
|
||||
bindsym $mod+Shift+b [class="Firefox"] focus
|
||||
|
||||
# switch to workspace
|
||||
bindsym $mod+1 workspace 1
|
||||
bindsym $mod+2 workspace 2
|
||||
bindsym $mod+3 workspace 3
|
||||
bindsym $mod+4 workspace 4
|
||||
bindsym $mod+5 workspace 5
|
||||
bindsym $mod+6 workspace 6
|
||||
bindsym $mod+7 workspace 7
|
||||
bindsym $mod+8 workspace 8
|
||||
bindsym $mod+9 workspace 9
|
||||
bindsym $mod+0 workspace 10
|
||||
bindsym $mod+minus workspace 11
|
||||
bindsym $mod+equal workspace 12
|
||||
|
||||
# Weechat-like
|
||||
workspace_auto_back_and_forth yes
|
||||
bindsym $mod+p workspace back_and_forth
|
||||
|
||||
# switch to next/prev workspace
|
||||
bindsym $mod+Control+Left workspace prev_on_output
|
||||
bindsym $mod+Control+Right workspace next_on_output
|
||||
|
||||
# switch workspace to screen
|
||||
bindsym $mod+Control+Shift+Left move workspace to output left
|
||||
bindsym $mod+Control+Shift+Right move workspace to output right
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym $mod+Shift+1 move container to workspace 1
|
||||
bindsym $mod+Shift+2 move container to workspace 2
|
||||
bindsym $mod+Shift+3 move container to workspace 3
|
||||
bindsym $mod+Shift+4 move container to workspace 4
|
||||
bindsym $mod+Shift+5 move container to workspace 5
|
||||
bindsym $mod+Shift+6 move container to workspace 6
|
||||
bindsym $mod+Shift+7 move container to workspace 7
|
||||
bindsym $mod+Shift+8 move container to workspace 8
|
||||
bindsym $mod+Shift+9 move container to workspace 9
|
||||
bindsym $mod+Shift+0 move container to workspace 10
|
||||
bindsym $mod+Shift+minus move container to workspace 11
|
||||
bindsym $mod+Shift+equal move container to workspace 12
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
# exit i3 (logs you out of your X session)
|
||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
||||
|
||||
# resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
|
||||
# Pressing left will shrink the window’s width.
|
||||
# Pressing right will grow the window’s width.
|
||||
# Pressing up will shrink the window’s height.
|
||||
# Pressing down will grow the window’s height.
|
||||
bindsym j resize shrink width 10 px or 10 ppt
|
||||
bindsym k resize grow height 10 px or 10 ppt
|
||||
bindsym l resize shrink height 10 px or 10 ppt
|
||||
bindsym semicolon resize grow width 10 px or 10 ppt
|
||||
|
||||
# same bindings, but for the arrow keys
|
||||
bindsym Left resize shrink width 10 px or 10 ppt
|
||||
bindsym Down resize grow height 10 px or 10 ppt
|
||||
bindsym Up resize shrink height 10 px or 10 ppt
|
||||
bindsym Right resize grow width 10 px or 10 ppt
|
||||
|
||||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
bar {
|
||||
font pango:DejaVu Sans Mono, Awesome 8
|
||||
status_command i3status
|
||||
# tray_output primary
|
||||
}
|
||||
|
||||
## Volume control
|
||||
bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 2%+
|
||||
bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 2%-
|
||||
|
||||
## Autostart
|
||||
|
||||
# Wallpaper
|
||||
exec --no-startup-id /bin/bash ~/.config/i3/bin/wallpaper
|
||||
|
||||
# Tray
|
||||
#exec --no-startup-id gnome-settings-daemon
|
||||
exec --no-startup-id nm-applet
|
||||
|
||||
# Screen lock
|
||||
exec xautolock -time 10 -locker i3lock
|
||||
|
|
@ -0,0 +1 @@
|
|||
/home/tobast/.config/systemd/user/exchangefs.service
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/systemd/user/redshift-gtk.service
|
|
@ -0,0 +1 @@
|
|||
/home/tobast/.config/systemd/user/weenotify.service
|
1
files/.config/systemd/user/default.target.wants/xmodmap.service
Symbolic link
1
files/.config/systemd/user/default.target.wants/xmodmap.service
Symbolic link
|
@ -0,0 +1 @@
|
|||
/home/tobast/.config/systemd/user/xmodmap.service
|
10
files/.config/systemd/user/exchangefs.service
Normal file
10
files/.config/systemd/user/exchangefs.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Exchangefs
|
||||
After=display-manager.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/mount /media/exchange
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
10
files/.config/systemd/user/weenotify.service
Normal file
10
files/.config/systemd/user/weenotify.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Weechat notifications from a distant server
|
||||
After=network.target display-manager.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/python3 /home/tobast/Softs/weenotify/weenotify.py --log-file ~/.weenotify.log
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
10
files/.config/systemd/user/xmodmap.service
Normal file
10
files/.config/systemd/user/xmodmap.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Xmodmap
|
||||
After=display-manager.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/bin/bash -c "/usr/bin/xmodmap -e 'clear Lock' && /usr/bin/xmodmap /home/tobast/.xmodmap"
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
50
files/.config/terminator/config
Normal file
50
files/.config/terminator/config
Normal file
|
@ -0,0 +1,50 @@
|
|||
[global_config]
|
||||
enabled_plugins = LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
|
||||
title_inactive_bg_color = "#000000"
|
||||
title_inactive_fg_color = "#909090"
|
||||
title_receive_bg_color = "#5d5d5d"
|
||||
title_receive_fg_color = "#d5d5d5"
|
||||
title_transmit_bg_color = "#000000"
|
||||
[keybindings]
|
||||
close_term = None
|
||||
close_window = None
|
||||
help = None
|
||||
[layouts]
|
||||
[[default]]
|
||||
[[[child1]]]
|
||||
parent = window0
|
||||
type = Terminal
|
||||
[[[window0]]]
|
||||
parent = ""
|
||||
type = Window
|
||||
[plugins]
|
||||
[profiles]
|
||||
[[default]]
|
||||
background_darkness = 0.79
|
||||
background_image = None
|
||||
background_type = transparent
|
||||
foreground_color = "#fffeab"
|
||||
scrollbar_position = hidden
|
||||
show_titlebar = False
|
||||
[[Proj_nocursor]]
|
||||
background_color = "#ffffff"
|
||||
background_image = None
|
||||
cursor_blink = False
|
||||
cursor_color = "#ffffff"
|
||||
cursor_shape = underline
|
||||
foreground_color = "#000000"
|
||||
icon_bell = False
|
||||
show_titlebar = False
|
||||
[[lowOpacity]]
|
||||
background_darkness = 0.61
|
||||
background_image = None
|
||||
background_type = transparent
|
||||
foreground_color = "#fffeab"
|
||||
scrollbar_position = hidden
|
||||
[[projection]]
|
||||
background_color = "#ffffff"
|
||||
background_image = None
|
||||
foreground_color = "#000000"
|
||||
palette = "#2e3436:#cc0000:#4e9a06:#ca5307:#3465a4:#75507b:#06989a:#d3d7cf:#555753:#ef2929:#8ae234:#ff751d:#657689:#ad7fa8:#34e2e2:#eeeeec"
|
||||
scrollbar_position = hidden
|
||||
show_titlebar = False
|
13
files/.screenrc
Normal file
13
files/.screenrc
Normal file
|
@ -0,0 +1,13 @@
|
|||
defutf8 on
|
||||
|
||||
startup_message off
|
||||
|
||||
bindkey ^[[6;3~ next # term-like alt+pgup
|
||||
bindkey ^[[5;3~ prev # term-like alt+pgdn
|
||||
|
||||
term xterm
|
||||
|
||||
hardstatus off
|
||||
hardstatus alwayslastline
|
||||
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m-%d %{W} %c %{g}]'
|
||||
|
39
files/.ssh/config
Normal file
39
files/.ssh/config
Normal file
|
@ -0,0 +1,39 @@
|
|||
Host sas.ens
|
||||
User tbastian
|
||||
Hostname sas.eleves.ens.fr
|
||||
|
||||
Host minecraft
|
||||
User minecraft
|
||||
Hostname games.tobast.fr
|
||||
|
||||
Host teeworlds
|
||||
User teeworlds
|
||||
Hostname games.tobast.fr
|
||||
|
||||
Host insurgency
|
||||
Host insurgency
|
||||
User insurgency
|
||||
Hostname games.tobast.fr
|
||||
|
||||
Host factorio
|
||||
User factorio
|
||||
Hostname games.tobast.fr
|
||||
|
||||
Host orac
|
||||
User btheophile
|
||||
Hostname orac.amt.edu.au
|
||||
|
||||
Host www.tobast
|
||||
User www
|
||||
Hostname tobast.fr
|
||||
|
||||
Host proloVM
|
||||
User tobast
|
||||
Hostname prologin.org
|
||||
Port 42022
|
||||
|
||||
Host git-pass
|
||||
User gogs
|
||||
Hostname git.tobast.fr
|
||||
Identityfile ~/.password-store/id_rsa_pass
|
||||
IdentitiesOnly yes
|
7
files/.vim/.netrwhist
Normal file
7
files/.vim/.netrwhist
Normal file
|
@ -0,0 +1,7 @@
|
|||
let g:netrw_dirhistmax =10
|
||||
let g:netrw_dirhist_cnt =5
|
||||
let g:netrw_dirhist_1='/etc/initcpio'
|
||||
let g:netrw_dirhist_2='/home/tobast/.opam/system/share/merlin/vim/ftplugin'
|
||||
let g:netrw_dirhist_3='/home/tobast/cours/L3/semantique/project/repo/.git'
|
||||
let g:netrw_dirhist_4='/home/tobast/cours/L3/internship/code/cam-strategies/operations'
|
||||
let g:netrw_dirhist_5='/home/tobast/.config/systemd/user'
|
1
files/.vim/bundle/Smart-Tabs
Submodule
1
files/.vim/bundle/Smart-Tabs
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit e588ad3f2dc41c2dc0786ecd74c3c4d3fe4534ae
|
1
files/.vim/bundle/Vundle.vim
Submodule
1
files/.vim/bundle/Vundle.vim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 4984767509e3d05ca051e253c8a8b37de784be45
|
1
files/.vim/bundle/coq.vim
Submodule
1
files/.vim/bundle/coq.vim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 9b229f5872854dadfb8ba4b67a6a273f37eca4b8
|
1
files/.vim/bundle/lh-vim-lib
Submodule
1
files/.vim/bundle/lh-vim-lib
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 49836fb38f62a1e5648e8910a861ece25370acc3
|
1
files/.vim/bundle/local_vimrc
Submodule
1
files/.vim/bundle/local_vimrc
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit d5437433c6211e5156ece0cb9b3b188a8e73613b
|
1
files/.vim/bundle/pydoc.vim
Submodule
1
files/.vim/bundle/pydoc.vim
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 092a195220ff5bb9216ca5c9430256a4448ba708
|
1
files/.vim/bundle/vim-git
Submodule
1
files/.vim/bundle/vim-git
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 79f5482e091710c6613ac8653dfa2e41d148a527
|
1
files/.vim/bundle/vim-python-pep8-indent
Submodule
1
files/.vim/bundle/vim-python-pep8-indent
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 10228215c76da4004b5ac4b60cfdf94682ea6e22
|
2
files/.vim/ftdetect/irclog.vim
Normal file
2
files/.vim/ftdetect/irclog.vim
Normal file
|
@ -0,0 +1,2 @@
|
|||
au BufRead,BufNewFile *.irclog set filetype=irclog
|
||||
autocmd Filetype irclog setlocal colorcolumn=0 nonumber
|
2
files/.vim/ftdetect/latex.vim
Normal file
2
files/.vim/ftdetect/latex.vim
Normal file
|
@ -0,0 +1,2 @@
|
|||
autocmd Filetype tex setlocal textwidth=79
|
||||
autocmd Filetype tex setlocal spell
|
223
files/.vim/ftdetect/scala.vim
Normal file
223
files/.vim/ftdetect/scala.vim
Normal file
|
@ -0,0 +1,223 @@
|
|||
" Vim syntax file
|
||||
" Language: Scala
|
||||
" Maintainer: Derek Wyatt
|
||||
" URL: https://github.com/derekwyatt/vim-scala
|
||||
" License: Apache 2
|
||||
" ----------------------------------------------------------------------------
|
||||
|
||||
if !exists('main_syntax')
|
||||
if version < 600
|
||||
syntax clear
|
||||
elseif exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
let main_syntax = 'scala'
|
||||
endif
|
||||
|
||||
scriptencoding utf-8
|
||||
|
||||
let b:current_syntax = "scala"
|
||||
|
||||
" Allows for embedding, see #59; main_syntax convention instead? Refactor TOP
|
||||
"
|
||||
" The @Spell here is a weird hack, it means *exclude* if the first group is
|
||||
" TOP. Otherwise we get spelling errors highlighted on code elements that
|
||||
" match scalaBlock, even with `syn spell notoplevel`.
|
||||
function! s:ContainedGroup()
|
||||
try
|
||||
silent syn list @scala
|
||||
return '@scala,@NoSpell'
|
||||
catch /E392/
|
||||
return 'TOP,@Spell'
|
||||
endtry
|
||||
endfunction
|
||||
|
||||
syn include @scalaHtml syntax/html.vim " Doc comment HTML
|
||||
unlet! b:current_syntax
|
||||
|
||||
syn case match
|
||||
syn sync minlines=200 maxlines=1000
|
||||
|
||||
syn keyword scalaKeyword catch do else final finally for forSome if
|
||||
syn keyword scalaKeyword match return throw try while yield macro
|
||||
syn keyword scalaKeyword class trait object extends with nextgroup=scalaInstanceDeclaration skipwhite
|
||||
syn keyword scalaKeyword case nextgroup=scalaKeyword,scalaCaseFollowing skipwhite
|
||||
syn keyword scalaKeyword val nextgroup=scalaNameDefinition,scalaQuasiQuotes skipwhite
|
||||
syn keyword scalaKeyword def var nextgroup=scalaNameDefinition skipwhite
|
||||
hi link scalaKeyword Keyword
|
||||
|
||||
exe 'syn region scalaBlock start=/{/ end=/}/ contains=' . s:ContainedGroup() . ' fold'
|
||||
|
||||
syn keyword scalaAkkaSpecialWord when goto using startWith initialize onTransition stay become unbecome
|
||||
hi link scalaAkkaSpecialWord PreProc
|
||||
|
||||
syn match scalaSymbol /'[_A-Za-z0-9$]\+/
|
||||
hi link scalaSymbol Number
|
||||
|
||||
syn match scalaChar /'.'/
|
||||
syn match scalaChar /'\\[\\"'ntbrf]'/ contains=scalaEscapedChar
|
||||
syn match scalaChar /'\\u[A-Fa-f0-9]\{4}'/ contains=scalaUnicodeChar
|
||||
syn match scalaEscapedChar /\\[\\"'ntbrf]/
|
||||
syn match scalaUnicodeChar /\\u[A-Fa-f0-9]\{4}/
|
||||
hi link scalaChar Character
|
||||
hi link scalaEscapedChar Function
|
||||
hi link scalaUnicodeChar Special
|
||||
|
||||
syn match scalaOperator "||"
|
||||
syn match scalaOperator "&&"
|
||||
hi link scalaOperator Special
|
||||
|
||||
syn match scalaNameDefinition /\<[_A-Za-z0-9$]\+\>/ contained nextgroup=scalaPostNameDefinition
|
||||
syn match scalaNameDefinition /`[^`]\+`/ contained nextgroup=scalaPostNameDefinition
|
||||
syn match scalaPostNameDefinition /\_s*:\_s*/ contained nextgroup=scalaTypeDeclaration
|
||||
hi link scalaNameDefinition Function
|
||||
|
||||
syn match scalaInstanceDeclaration /\<[_\.A-Za-z0-9$]\+\>/ contained nextgroup=scalaInstanceHash
|
||||
syn match scalaInstanceDeclaration /`[^`]\+`/ contained
|
||||
syn match scalaInstanceHash /#/ contained nextgroup=scalaInstanceDeclaration
|
||||
hi link scalaInstanceDeclaration Special
|
||||
hi link scalaInstanceHash Type
|
||||
|
||||
syn match scalaUnimplemented /???/
|
||||
hi link scalaUnimplemented ERROR
|
||||
|
||||
syn match scalaCapitalWord /\<[A-Z][A-Za-z0-9$]*\>/
|
||||
hi link scalaCapitalWord Special
|
||||
|
||||
" Handle type declarations specially
|
||||
syn region scalaTypeStatement matchgroup=Keyword start=/\<type\_s\+\ze/ end=/$/ contains=scalaTypeTypeDeclaration,scalaSquareBrackets,scalaTypeTypeEquals,scalaTypeStatement
|
||||
|
||||
" Ugh... duplication of all the scalaType* stuff to handle special highlighting
|
||||
" of `type X =` declarations
|
||||
syn match scalaTypeTypeDeclaration /(/ contained nextgroup=scalaTypeTypeExtension,scalaTypeTypeEquals contains=scalaRoundBrackets skipwhite
|
||||
syn match scalaTypeTypeDeclaration /\%(⇒\|=>\)\ze/ contained nextgroup=scalaTypeTypeDeclaration contains=scalaTypeTypeExtension skipwhite
|
||||
syn match scalaTypeTypeDeclaration /\<[_\.A-Za-z0-9$]\+\>/ contained nextgroup=scalaTypeTypeExtension,scalaTypeTypeEquals skipwhite
|
||||
syn match scalaTypeTypeEquals /=\ze[^>]/ contained nextgroup=scalaTypeTypePostDeclaration skipwhite
|
||||
syn match scalaTypeTypeExtension /)\?\_s*\zs\%(⇒\|=>\|<:\|:>\|=:=\|::\|#\)/ contained nextgroup=scalaTypeTypeDeclaration skipwhite
|
||||
syn match scalaTypeTypePostDeclaration /\<[_\.A-Za-z0-9$]\+\>/ contained nextgroup=scalaTypeTypePostExtension skipwhite
|
||||
syn match scalaTypeTypePostExtension /\%(⇒\|=>\|<:\|:>\|=:=\|::\)/ contained nextgroup=scalaTypeTypePostDeclaration skipwhite
|
||||
hi link scalaTypeTypeDeclaration Type
|
||||
hi link scalaTypeTypeExtension Keyword
|
||||
hi link scalaTypeTypePostDeclaration Special
|
||||
hi link scalaTypeTypePostExtension Keyword
|
||||
|
||||
syn match scalaTypeDeclaration /(/ contained nextgroup=scalaTypeExtension contains=scalaRoundBrackets skipwhite
|
||||
syn match scalaTypeDeclaration /\%(⇒\|=>\)\ze/ contained nextgroup=scalaTypeDeclaration contains=scalaTypeExtension skipwhite
|
||||
syn match scalaTypeDeclaration /\<[_\.A-Za-z0-9$]\+\>/ contained nextgroup=scalaTypeExtension skipwhite
|
||||
syn match scalaTypeExtension /)\?\_s*\zs\%(⇒\|=>\|<:\|:>\|=:=\|::\|#\)/ contained nextgroup=scalaTypeDeclaration skipwhite
|
||||
hi link scalaTypeDeclaration Type
|
||||
hi link scalaTypeExtension Keyword
|
||||
hi link scalaTypePostExtension Keyword
|
||||
|
||||
syn match scalaTypeAnnotation /\%([_a-zA-Z0-9$\s]:\_s*\)\ze[_=(\.A-Za-z0-9$]\+/ skipwhite nextgroup=scalaTypeDeclaration contains=scalaRoundBrackets
|
||||
syn match scalaTypeAnnotation /)\_s*:\_s*\ze[_=(\.A-Za-z0-9$]\+/ skipwhite nextgroup=scalaTypeDeclaration
|
||||
hi link scalaTypeAnnotation Normal
|
||||
|
||||
syn match scalaCaseFollowing /\<[_\.A-Za-z0-9$]\+\>/ contained
|
||||
syn match scalaCaseFollowing /`[^`]\+`/ contained
|
||||
hi link scalaCaseFollowing Special
|
||||
|
||||
syn keyword scalaKeywordModifier abstract override final lazy implicit implicitly private protected sealed null require super
|
||||
hi link scalaKeywordModifier Function
|
||||
|
||||
syn keyword scalaSpecial this true false ne eq
|
||||
syn keyword scalaSpecial new nextgroup=scalaInstanceDeclaration skipwhite
|
||||
syn match scalaSpecial "\%(=>\|⇒\|<-\|←\|->\|→\)"
|
||||
syn match scalaSpecial /`[^`]*`/ " Backtick literals
|
||||
hi link scalaSpecial PreProc
|
||||
|
||||
syn keyword scalaExternal package import
|
||||
hi link scalaExternal Include
|
||||
|
||||
syn match scalaStringEmbeddedQuote /\\"/ contained
|
||||
syn region scalaString start=/"/ end=/"/ contains=scalaStringEmbeddedQuote,scalaEscapedChar,scalaUnicodeChar
|
||||
hi link scalaString String
|
||||
hi link scalaStringEmbeddedQuote String
|
||||
|
||||
syn region scalaIString matchgroup=scalaInterpolationBrackets start=/\<[a-zA-Z][a-zA-Z0-9_]*"/ skip=/\\"/ end=/"/ contains=scalaInterpolation,scalaInterpolationB,scalaEscapedChar,scalaUnicodeChar
|
||||
syn region scalaTripleIString matchgroup=scalaInterpolationBrackets start=/\<[a-zA-Z][a-zA-Z0-9_]*"""/ end=/"""\%([^"]\|$\)/ contains=scalaInterpolation,scalaInterpolationB,scalaEscapedChar,scalaUnicodeChar
|
||||
hi link scalaIString String
|
||||
hi link scalaTripleIString String
|
||||
|
||||
syn match scalaInterpolation /\$[a-zA-Z0-9_$]\+/ contained
|
||||
exe 'syn region scalaInterpolationB matchgroup=scalaInterpolationBoundary start=/\${/ end=/}/ contained contains=' . s:ContainedGroup()
|
||||
hi link scalaInterpolation Function
|
||||
hi link scalaInterpolationB Normal
|
||||
|
||||
syn region scalaFString matchgroup=scalaInterpolationBrackets start=/f"/ skip=/\\"/ end=/"/ contains=scalaFInterpolation,scalaFInterpolationB,scalaEscapedChar,scalaUnicodeChar
|
||||
syn match scalaFInterpolation /\$[a-zA-Z0-9_$]\+\(%[-A-Za-z0-9\.]\+\)\?/ contained
|
||||
exe 'syn region scalaFInterpolationB matchgroup=scalaInterpolationBoundary start=/${/ end=/}\(%[-A-Za-z0-9\.]\+\)\?/ contained contains=' . s:ContainedGroup()
|
||||
hi link scalaFString String
|
||||
hi link scalaFInterpolation Function
|
||||
hi link scalaFInterpolationB Normal
|
||||
|
||||
syn region scalaTripleString start=/"""/ end=/"""\%([^"]\|$\)/ contains=scalaEscapedChar,scalaUnicodeChar
|
||||
syn region scalaTripleFString matchgroup=scalaInterpolationBrackets start=/f"""/ end=/"""\%([^"]\|$\)/ contains=scalaFInterpolation,scalaFInterpolationB,scalaEscapedChar,scalaUnicodeChar
|
||||
hi link scalaTripleString String
|
||||
hi link scalaTripleFString String
|
||||
|
||||
hi link scalaInterpolationBrackets Special
|
||||
hi link scalaInterpolationBoundary Function
|
||||
|
||||
syn match scalaNumber /\<0[dDfFlL]\?\>/ " Just a bare 0
|
||||
syn match scalaNumber /\<[1-9]\d*[dDfFlL]\?\>/ " A multi-digit number - octal numbers with leading 0's are deprecated in Scala
|
||||
syn match scalaNumber /\<0[xX][0-9a-fA-F]\+[dDfFlL]\?\>/ " Hex number
|
||||
syn match scalaNumber /\%(\<\d\+\.\d*\|\.\d\+\)\%([eE][-+]\=\d\+\)\=[fFdD]\=/ " exponential notation 1
|
||||
syn match scalaNumber /\<\d\+[eE][-+]\=\d\+[fFdD]\=\>/ " exponential notation 2
|
||||
syn match scalaNumber /\<\d\+\%([eE][-+]\=\d\+\)\=[fFdD]\>/ " exponential notation 3
|
||||
hi link scalaNumber Number
|
||||
|
||||
syn region scalaRoundBrackets start="(" end=")" skipwhite contained contains=scalaTypeDeclaration,scalaSquareBrackets,scalaRoundBrackets
|
||||
|
||||
syn region scalaSquareBrackets matchgroup=scalaSquareBracketsBrackets start="\[" end="\]" skipwhite nextgroup=scalaTypeExtension contains=scalaTypeDeclaration,scalaSquareBrackets,scalaTypeOperator,scalaTypeAnnotationParameter
|
||||
syn match scalaTypeOperator /[-+=:<>]\+/ contained
|
||||
syn match scalaTypeAnnotationParameter /@\<[`_A-Za-z0-9$]\+\>/ contained
|
||||
hi link scalaSquareBracketsBrackets Type
|
||||
hi link scalaTypeOperator Keyword
|
||||
hi link scalaTypeAnnotationParameter Function
|
||||
|
||||
syn match scalaShebang "\%^#!.*" display
|
||||
syn region scalaMultilineComment start="/\*" end="\*/" contains=scalaMultilineComment,scalaDocLinks,scalaParameterAnnotation,scalaCommentAnnotation,scalaTodo,scalaCommentCodeBlock,@scalaHtml,@Spell keepend
|
||||
syn match scalaCommentAnnotation "@[_A-Za-z0-9$]\+" contained
|
||||
syn match scalaParameterAnnotation "@param" nextgroup=scalaParamAnnotationValue skipwhite contained
|
||||
syn match scalaParamAnnotationValue /[`_A-Za-z0-9$]\+/ contained
|
||||
syn region scalaDocLinks start="\[\[" end="\]\]" contained
|
||||
syn region scalaCommentCodeBlock matchgroup=Keyword start="{{{" end="}}}" contained
|
||||
syn match scalaTodo "\vTODO|FIXME|XXX" contained
|
||||
hi link scalaShebang Comment
|
||||
hi link scalaMultilineComment Comment
|
||||
hi link scalaDocLinks Function
|
||||
hi link scalaParameterAnnotation Function
|
||||
hi link scalaParamAnnotationValue Keyword
|
||||
hi link scalaCommentAnnotation Function
|
||||
hi link scalaCommentCodeBlockBrackets String
|
||||
hi link scalaCommentCodeBlock String
|
||||
hi link scalaTodo Todo
|
||||
|
||||
syn match scalaAnnotation /@\<[`_A-Za-z0-9$]\+\>/
|
||||
hi link scalaAnnotation PreProc
|
||||
|
||||
syn match scalaTrailingComment "//.*$" contains=scalaTodo,@Spell
|
||||
hi link scalaTrailingComment Comment
|
||||
|
||||
syn match scalaAkkaFSM /goto([^)]*)\_s\+\<using\>/ contains=scalaAkkaFSMGotoUsing
|
||||
syn match scalaAkkaFSM /stay\_s\+using/
|
||||
syn match scalaAkkaFSM /^\s*stay\s*$/
|
||||
syn match scalaAkkaFSM /when\ze([^)]*)/
|
||||
syn match scalaAkkaFSM /startWith\ze([^)]*)/
|
||||
syn match scalaAkkaFSM /initialize\ze()/
|
||||
syn match scalaAkkaFSM /onTransition/
|
||||
syn match scalaAkkaFSM /onTermination/
|
||||
syn match scalaAkkaFSM /whenUnhandled/
|
||||
syn match scalaAkkaFSMGotoUsing /\<using\>/
|
||||
syn match scalaAkkaFSMGotoUsing /\<goto\>/
|
||||
hi link scalaAkkaFSM PreProc
|
||||
hi link scalaAkkaFSMGotoUsing PreProc
|
||||
|
||||
let b:current_syntax = 'scala'
|
||||
|
||||
if main_syntax ==# 'scala'
|
||||
unlet main_syntax
|
||||
endif
|
||||
|
||||
" vim:set sw=2 sts=2 ts=8 et:
|
223
files/.vim/indent/scala.vim
Normal file
223
files/.vim/indent/scala.vim
Normal file
|
@ -0,0 +1,223 @@
|
|||
" Vim syntax file
|
||||
" Language: Scala
|
||||
" Maintainer: Derek Wyatt
|
||||
" URL: https://github.com/derekwyatt/vim-scala
|
||||
" License: Apache 2
|
||||
" ----------------------------------------------------------------------------
|
||||
|
||||
if !exists('main_syntax')
|
||||
if version < 600
|
||||
syntax clear
|
||||
elseif exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
let main_syntax = 'scala'
|
||||
endif
|
||||
|
||||
scriptencoding utf-8
|
||||
|
||||
let b:current_syntax = "scala"
|
||||
|
||||
" Allows for embedding, see #59; main_syntax convention instead? Refactor TOP
|
||||
"
|
||||
" The @Spell here is a weird hack, it means *exclude* if the first group is
|
||||
" TOP. Otherwise we get spelling errors highlighted on code elements that
|
||||
" match scalaBlock, even with `syn spell notoplevel`.
|
||||
function! s:ContainedGroup()
|
||||
try
|
||||
silent syn list @scala
|
||||
return '@scala,@NoSpell'
|
||||
catch /E392/
|
||||
return 'TOP,@Spell'
|
||||
endtry
|
||||
endfunction
|
||||
|
||||
syn include @scalaHtml syntax/html.vim " Doc comment HTML
|
||||
unlet! b:current_syntax
|
||||
|
||||
syn case match
|
||||
syn sync minlines=200 maxlines=1000
|
||||
|
||||
syn keyword scalaKeyword catch do else final finally for forSome if
|
||||
syn keyword scalaKeyword match return throw try while yield macro
|
||||
syn keyword scalaKeyword class trait object extends with nextgroup=scalaInstanceDeclaration skipwhite
|
||||
syn keyword scalaKeyword case nextgroup=scalaKeyword,scalaCaseFollowing skipwhite
|
||||
syn keyword scalaKeyword val nextgroup=scalaNameDefinition,scalaQuasiQuotes skipwhite
|
||||
syn keyword scalaKeyword def var nextgroup=scalaNameDefinition skipwhite
|
||||
hi link scalaKeyword Keyword
|
||||
|
||||
exe 'syn region scalaBlock start=/{/ end=/}/ contains=' . s:ContainedGroup() . ' fold'
|
||||
|
||||
syn keyword scalaAkkaSpecialWord when goto using startWith initialize onTransition stay become unbecome
|
||||
hi link scalaAkkaSpecialWord PreProc
|
||||
|
||||
syn match scalaSymbol /'[_A-Za-z0-9$]\+/
|
||||
hi link scalaSymbol Number
|
||||
|
||||
syn match scalaChar /'.'/
|
||||
syn match scalaChar /'\\[\\"'ntbrf]'/ contains=scalaEscapedChar
|
||||
syn match scalaChar /'\\u[A-Fa-f0-9]\{4}'/ contains=scalaUnicodeChar
|
||||
syn match scalaEscapedChar /\\[\\"'ntbrf]/
|
||||
syn match scalaUnicodeChar /\\u[A-Fa-f0-9]\{4}/
|
||||
hi link scalaChar Character
|
||||
hi link scalaEscapedChar Function
|
||||
hi link scalaUnicodeChar Special
|
||||
|
||||
syn match scalaOperator "||"
|
||||
syn match scalaOperator "&&"
|
||||
hi link scalaOperator Special
|
||||
|
||||
syn match scalaNameDefinition /\<[_A-Za-z0-9$]\+\>/ contained nextgroup=scalaPostNameDefinition
|
||||
syn match scalaNameDefinition /`[^`]\+`/ contained nextgroup=scalaPostNameDefinition
|
||||
syn match scalaPostNameDefinition /\_s*:\_s*/ contained nextgroup=scalaTypeDeclaration
|
||||
hi link scalaNameDefinition Function
|
||||
|
||||
syn match scalaInstanceDeclaration /\<[_\.A-Za-z0-9$]\+\>/ contained nextgroup=scalaInstanceHash
|
||||
syn match scalaInstanceDeclaration /`[^`]\+`/ contained
|
||||
syn match scalaInstanceHash /#/ contained nextgroup=scalaInstanceDeclaration
|
||||
hi link scalaInstanceDeclaration Special
|
||||
hi link scalaInstanceHash Type
|
||||
|
||||
syn match scalaUnimplemented /???/
|
||||
hi link scalaUnimplemented ERROR
|
||||
|
||||
syn match scalaCapitalWord /\<[A-Z][A-Za-z0-9$]*\>/
|
||||
hi link scalaCapitalWord Special
|
||||
|
||||
" Handle type declarations specially
|
||||
syn region scalaTypeStatement matchgroup=Keyword start=/\<type\_s\+\ze/ end=/$/ contains=scalaTypeTypeDeclaration,scalaSquareBrackets,scalaTypeTypeEquals,scalaTypeStatement
|
||||
|
||||
" Ugh... duplication of all the scalaType* stuff to handle special highlighting
|
||||
" of `type X =` declarations
|
||||
syn match scalaTypeTypeDeclaration /(/ contained nextgroup=scalaTypeTypeExtension,scalaTypeTypeEquals contains=scalaRoundBrackets skipwhite
|
||||
syn match scalaTypeTypeDeclaration /\%(⇒\|=>\)\ze/ contained nextgroup=scalaTypeTypeDeclaration contains=scalaTypeTypeExtension skipwhite
|
||||
syn match scalaTypeTypeDeclaration /\<[_\.A-Za-z0-9$]\+\>/ contained nextgroup=scalaTypeTypeExtension,scalaTypeTypeEquals skipwhite
|
||||
syn match scalaTypeTypeEquals /=\ze[^>]/ contained nextgroup=scalaTypeTypePostDeclaration skipwhite
|
||||
syn match scalaTypeTypeExtension /)\?\_s*\zs\%(⇒\|=>\|<:\|:>\|=:=\|::\|#\)/ contained nextgroup=scalaTypeTypeDeclaration skipwhite
|
||||
syn match scalaTypeTypePostDeclaration /\<[_\.A-Za-z0-9$]\+\>/ contained nextgroup=scalaTypeTypePostExtension skipwhite
|
||||
syn match scalaTypeTypePostExtension /\%(⇒\|=>\|<:\|:>\|=:=\|::\)/ contained nextgroup=scalaTypeTypePostDeclaration skipwhite
|
||||
hi link scalaTypeTypeDeclaration Type
|
||||
hi link scalaTypeTypeExtension Keyword
|
||||
hi link scalaTypeTypePostDeclaration Special
|
||||
hi link scalaTypeTypePostExtension Keyword
|
||||
|
||||
syn match scalaTypeDeclaration /(/ contained nextgroup=scalaTypeExtension contains=scalaRoundBrackets skipwhite
|
||||
syn match scalaTypeDeclaration /\%(⇒\|=>\)\ze/ contained nextgroup=scalaTypeDeclaration contains=scalaTypeExtension skipwhite
|
||||
syn match scalaTypeDeclaration /\<[_\.A-Za-z0-9$]\+\>/ contained nextgroup=scalaTypeExtension skipwhite
|
||||
syn match scalaTypeExtension /)\?\_s*\zs\%(⇒\|=>\|<:\|:>\|=:=\|::\|#\)/ contained nextgroup=scalaTypeDeclaration skipwhite
|
||||
hi link scalaTypeDeclaration Type
|
||||
hi link scalaTypeExtension Keyword
|
||||
hi link scalaTypePostExtension Keyword
|
||||
|
||||
syn match scalaTypeAnnotation /\%([_a-zA-Z0-9$\s]:\_s*\)\ze[_=(\.A-Za-z0-9$]\+/ skipwhite nextgroup=scalaTypeDeclaration contains=scalaRoundBrackets
|
||||
syn match scalaTypeAnnotation /)\_s*:\_s*\ze[_=(\.A-Za-z0-9$]\+/ skipwhite nextgroup=scalaTypeDeclaration
|
||||
hi link scalaTypeAnnotation Normal
|
||||
|
||||
syn match scalaCaseFollowing /\<[_\.A-Za-z0-9$]\+\>/ contained
|
||||
syn match scalaCaseFollowing /`[^`]\+`/ contained
|
||||
hi link scalaCaseFollowing Special
|
||||
|
||||
syn keyword scalaKeywordModifier abstract override final lazy implicit implicitly private protected sealed null require super
|
||||
hi link scalaKeywordModifier Function
|
||||
|
||||
syn keyword scalaSpecial this true false ne eq
|
||||
syn keyword scalaSpecial new nextgroup=scalaInstanceDeclaration skipwhite
|
||||
syn match scalaSpecial "\%(=>\|⇒\|<-\|←\|->\|→\)"
|
||||
syn match scalaSpecial /`[^`]*`/ " Backtick literals
|
||||
hi link scalaSpecial PreProc
|
||||
|
||||
syn keyword scalaExternal package import
|
||||
hi link scalaExternal Include
|
||||
|
||||
syn match scalaStringEmbeddedQuote /\\"/ contained
|
||||
syn region scalaString start=/"/ end=/"/ contains=scalaStringEmbeddedQuote,scalaEscapedChar,scalaUnicodeChar
|
||||
hi link scalaString String
|
||||
hi link scalaStringEmbeddedQuote String
|
||||
|
||||
syn region scalaIString matchgroup=scalaInterpolationBrackets start=/\<[a-zA-Z][a-zA-Z0-9_]*"/ skip=/\\"/ end=/"/ contains=scalaInterpolation,scalaInterpolationB,scalaEscapedChar,scalaUnicodeChar
|
||||
syn region scalaTripleIString matchgroup=scalaInterpolationBrackets start=/\<[a-zA-Z][a-zA-Z0-9_]*"""/ end=/"""\%([^"]\|$\)/ contains=scalaInterpolation,scalaInterpolationB,scalaEscapedChar,scalaUnicodeChar
|
||||
hi link scalaIString String
|
||||
hi link scalaTripleIString String
|
||||
|
||||
syn match scalaInterpolation /\$[a-zA-Z0-9_$]\+/ contained
|
||||
exe 'syn region scalaInterpolationB matchgroup=scalaInterpolationBoundary start=/\${/ end=/}/ contained contains=' . s:ContainedGroup()
|
||||
hi link scalaInterpolation Function
|
||||
hi link scalaInterpolationB Normal
|
||||
|
||||
syn region scalaFString matchgroup=scalaInterpolationBrackets start=/f"/ skip=/\\"/ end=/"/ contains=scalaFInterpolation,scalaFInterpolationB,scalaEscapedChar,scalaUnicodeChar
|
||||
syn match scalaFInterpolation /\$[a-zA-Z0-9_$]\+\(%[-A-Za-z0-9\.]\+\)\?/ contained
|
||||
exe 'syn region scalaFInterpolationB matchgroup=scalaInterpolationBoundary start=/${/ end=/}\(%[-A-Za-z0-9\.]\+\)\?/ contained contains=' . s:ContainedGroup()
|
||||
hi link scalaFString String
|
||||
hi link scalaFInterpolation Function
|
||||
hi link scalaFInterpolationB Normal
|
||||
|
||||
syn region scalaTripleString start=/"""/ end=/"""\%([^"]\|$\)/ contains=scalaEscapedChar,scalaUnicodeChar
|
||||
syn region scalaTripleFString matchgroup=scalaInterpolationBrackets start=/f"""/ end=/"""\%([^"]\|$\)/ contains=scalaFInterpolation,scalaFInterpolationB,scalaEscapedChar,scalaUnicodeChar
|
||||
hi link scalaTripleString String
|
||||
hi link scalaTripleFString String
|
||||
|
||||
hi link scalaInterpolationBrackets Special
|
||||
hi link scalaInterpolationBoundary Function
|
||||
|
||||
syn match scalaNumber /\<0[dDfFlL]\?\>/ " Just a bare 0
|
||||
syn match scalaNumber /\<[1-9]\d*[dDfFlL]\?\>/ " A multi-digit number - octal numbers with leading 0's are deprecated in Scala
|
||||
syn match scalaNumber /\<0[xX][0-9a-fA-F]\+[dDfFlL]\?\>/ " Hex number
|
||||
syn match scalaNumber /\%(\<\d\+\.\d*\|\.\d\+\)\%([eE][-+]\=\d\+\)\=[fFdD]\=/ " exponential notation 1
|
||||
syn match scalaNumber /\<\d\+[eE][-+]\=\d\+[fFdD]\=\>/ " exponential notation 2
|
||||
syn match scalaNumber /\<\d\+\%([eE][-+]\=\d\+\)\=[fFdD]\>/ " exponential notation 3
|
||||
hi link scalaNumber Number
|
||||
|
||||
syn region scalaRoundBrackets start="(" end=")" skipwhite contained contains=scalaTypeDeclaration,scalaSquareBrackets,scalaRoundBrackets
|
||||
|
||||
syn region scalaSquareBrackets matchgroup=scalaSquareBracketsBrackets start="\[" end="\]" skipwhite nextgroup=scalaTypeExtension contains=scalaTypeDeclaration,scalaSquareBrackets,scalaTypeOperator,scalaTypeAnnotationParameter
|
||||
syn match scalaTypeOperator /[-+=:<>]\+/ contained
|
||||
syn match scalaTypeAnnotationParameter /@\<[`_A-Za-z0-9$]\+\>/ contained
|
||||
hi link scalaSquareBracketsBrackets Type
|
||||
hi link scalaTypeOperator Keyword
|
||||
hi link scalaTypeAnnotationParameter Function
|
||||
|
||||
syn match scalaShebang "\%^#!.*" display
|
||||
syn region scalaMultilineComment start="/\*" end="\*/" contains=scalaMultilineComment,scalaDocLinks,scalaParameterAnnotation,scalaCommentAnnotation,scalaTodo,scalaCommentCodeBlock,@scalaHtml,@Spell keepend
|
||||
syn match scalaCommentAnnotation "@[_A-Za-z0-9$]\+" contained
|
||||
syn match scalaParameterAnnotation "@param" nextgroup=scalaParamAnnotationValue skipwhite contained
|
||||
syn match scalaParamAnnotationValue /[`_A-Za-z0-9$]\+/ contained
|
||||
syn region scalaDocLinks start="\[\[" end="\]\]" contained
|
||||
syn region scalaCommentCodeBlock matchgroup=Keyword start="{{{" end="}}}" contained
|
||||
syn match scalaTodo "\vTODO|FIXME|XXX" contained
|
||||
hi link scalaShebang Comment
|
||||
hi link scalaMultilineComment Comment
|
||||
hi link scalaDocLinks Function
|
||||
hi link scalaParameterAnnotation Function
|
||||
hi link scalaParamAnnotationValue Keyword
|
||||
hi link scalaCommentAnnotation Function
|
||||
hi link scalaCommentCodeBlockBrackets String
|
||||
hi link scalaCommentCodeBlock String
|
||||
hi link scalaTodo Todo
|
||||
|
||||
syn match scalaAnnotation /@\<[`_A-Za-z0-9$]\+\>/
|
||||
hi link scalaAnnotation PreProc
|
||||
|
||||
syn match scalaTrailingComment "//.*$" contains=scalaTodo,@Spell
|
||||
hi link scalaTrailingComment Comment
|
||||
|
||||
syn match scalaAkkaFSM /goto([^)]*)\_s\+\<using\>/ contains=scalaAkkaFSMGotoUsing
|
||||
syn match scalaAkkaFSM /stay\_s\+using/
|
||||
syn match scalaAkkaFSM /^\s*stay\s*$/
|
||||
syn match scalaAkkaFSM /when\ze([^)]*)/
|
||||
syn match scalaAkkaFSM /startWith\ze([^)]*)/
|
||||
syn match scalaAkkaFSM /initialize\ze()/
|
||||
syn match scalaAkkaFSM /onTransition/
|
||||
syn match scalaAkkaFSM /onTermination/
|
||||
syn match scalaAkkaFSM /whenUnhandled/
|
||||
syn match scalaAkkaFSMGotoUsing /\<using\>/
|
||||
syn match scalaAkkaFSMGotoUsing /\<goto\>/
|
||||
hi link scalaAkkaFSM PreProc
|
||||
hi link scalaAkkaFSMGotoUsing PreProc
|
||||
|
||||
let b:current_syntax = 'scala'
|
||||
|
||||
if main_syntax ==# 'scala'
|
||||
unlet main_syntax
|
||||
endif
|
||||
|
||||
" vim:set sw=2 sts=2 ts=8 et:
|
31
files/.vim/spell/en.utf-8.add
Normal file
31
files/.vim/spell/en.utf-8.add
Normal file
|
@ -0,0 +1,31 @@
|
|||
injectivity
|
||||
ESPs
|
||||
Théophile
|
||||
Bastian
|
||||
Winskel
|
||||
github
|
||||
tobast
|
||||
Clairambault
|
||||
Glynn
|
||||
functor
|
||||
iteratively
|
||||
CCS
|
||||
isomorphism
|
||||
pre
|
||||
https
|
||||
acyclic
|
||||
Hasse
|
||||
games
|
||||
PCF
|
||||
Ghica
|
||||
Murowski
|
||||
Murawski
|
||||
interleavings
|
||||
LTS
|
||||
poset
|
||||
bicategory
|
||||
preorder
|
||||
chktex
|
||||
backend
|
||||
Javascript
|
||||
frontend
|
BIN
files/.vim/spell/en.utf-8.add.spl
Normal file
BIN
files/.vim/spell/en.utf-8.add.spl
Normal file
Binary file not shown.
BIN
files/.vim/spell/fr.latin1.spl
Normal file
BIN
files/.vim/spell/fr.latin1.spl
Normal file
Binary file not shown.
BIN
files/.vim/spell/fr.latin1.sug
Normal file
BIN
files/.vim/spell/fr.latin1.sug
Normal file
Binary file not shown.
1
files/.vim/spell/fr.utf-8.add
Normal file
1
files/.vim/spell/fr.utf-8.add
Normal file
|
@ -0,0 +1 @@
|
|||
typage
|
BIN
files/.vim/spell/fr.utf-8.add.spl
Normal file
BIN
files/.vim/spell/fr.utf-8.add.spl
Normal file
Binary file not shown.
BIN
files/.vim/spell/fr.utf-8.spl
Normal file
BIN
files/.vim/spell/fr.utf-8.spl
Normal file
Binary file not shown.
BIN
files/.vim/spell/fr.utf-8.sug
Normal file
BIN
files/.vim/spell/fr.utf-8.sug
Normal file
Binary file not shown.
1898
files/.vim/syntax/gas.vim
Normal file
1898
files/.vim/syntax/gas.vim
Normal file
File diff suppressed because it is too large
Load diff
16
files/.vim/syntax/irclog.vim
Normal file
16
files/.vim/syntax/irclog.vim
Normal file
|
@ -0,0 +1,16 @@
|
|||
" Vim syntax file
|
||||
" Language: IRC log (irssi)
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
syn match beglineTime '^[0-9:]\+' nextgroup=nick skipwhite display
|
||||
syn match nick '<[!@+ ][^>]\+>' display
|
||||
syn match datechange '^--- .*$' display
|
||||
|
||||
let b:current_syntax = "irclog"
|
||||
|
||||
hi def link beglineTime Constant
|
||||
hi def link nick Type
|
||||
hi def link datechange Todo
|
82
files/.vim/syntax/psp.vim
Normal file
82
files/.vim/syntax/psp.vim
Normal file
|
@ -0,0 +1,82 @@
|
|||
" Vim syntax file
|
||||
" Language: PSP (Python Server Pages)
|
||||
" Maintainer: Tom von Schwerdtner <tvon@etria.com>
|
||||
" URL: http://www.etria.org/
|
||||
" Last change: 2003 Feb 26
|
||||
" Credits : Mostly a slight variation on the jsp sytax file
|
||||
|
||||
" For version 5.x: Clear all syntax items
|
||||
" For version 6.x: Quit when a syntax file was already loaded
|
||||
if version < 600
|
||||
syntax clear
|
||||
elseif exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
if !exists("main_syntax")
|
||||
let main_syntax = 'psp'
|
||||
endif
|
||||
|
||||
" Source HTML syntax
|
||||
if version < 600
|
||||
source <sfile>:p:h/html.vim
|
||||
else
|
||||
runtime! syntax/html.vim
|
||||
endif
|
||||
unlet b:current_syntax
|
||||
|
||||
" Next syntax items are case-sensitive
|
||||
syn case match
|
||||
|
||||
" Include Java syntax
|
||||
syn include @pspPython <sfile>:p:h/python.vim
|
||||
|
||||
syn region pspScriptlet matchgroup=pspTag start=/<%/ keepend end=/%>/ contains=@pspPython
|
||||
syn region pspComment start=/<%--/ end=/--%>/
|
||||
syn region pspDecl matchgroup=pspTag start=/<%!/ keepend end=/%>/ contains=@pspPython
|
||||
syn region pspExpr matchgroup=pspTag start=/<%=/ keepend end=/%>/ contains=@pspPython
|
||||
syn region pspDirective start=/<%@/ end=/%>/ contains=htmlString,pspDirName,pspDirArg
|
||||
|
||||
syn keyword pspDirName contained include page taglib
|
||||
syn keyword pspDirArg contained imports extends method isThreadSafe formatter
|
||||
syn keyword pspDirArg contained isInstanceSafe indentType indentSpaces gobbleWhitespace
|
||||
syn region pspCommand start=/<psp:/ start=/<\/psp:/ keepend end=/>/ end=/\/>/ contains=htmlString,pspCommandName,pspCommandArg
|
||||
" Do it right at some point...
|
||||
"syn region pspInclude start=/<psp:include/ start=/<\/psp:/ keepend end=/>/ end=/\/>/ contains=path
|
||||
"syn region pspInsert start=/<psp:insert/ start=/<\/psp:/ keepend end=/>/ end=/\/>/ contains=file
|
||||
|
||||
syn keyword pspCommandName contained include insert method
|
||||
syn keyword pspCommandArg contained path file
|
||||
|
||||
" Define the default highlighting.
|
||||
" For version 5.7 and earlier: only when not done already
|
||||
" For version 5.8 and later: only when an item doesn't have highlighting yet
|
||||
if version >= 508 || !exists("did_psp_syn_inits")
|
||||
if version < 508
|
||||
let did_psp_syn_inits = 1
|
||||
command -nargs=+ HiLink hi link <args>
|
||||
else
|
||||
command -nargs=+ HiLink hi def link <args>
|
||||
endif
|
||||
" java.vim has redefined htmlComment highlighting
|
||||
HiLink htmlComment Comment
|
||||
HiLink htmlCommentPart Comment
|
||||
" Be consistent with html highlight settings
|
||||
HiLink pspComment htmlComment
|
||||
HiLink pspTag htmlTag
|
||||
HiLink pspDirective pspTag
|
||||
HiLink pspDirName htmlTagName
|
||||
HiLink pspDirArg htmlArg
|
||||
HiLink pspCommand pspTag
|
||||
HiLink pspCommandName htmlTagName
|
||||
HiLink pspCommandArg htmlArg
|
||||
delcommand HiLink
|
||||
endif
|
||||
|
||||
if main_syntax == 'psp'
|
||||
unlet main_syntax
|
||||
endif
|
||||
|
||||
let b:current_syntax = "psp"
|
||||
|
||||
" vim: ts=8
|
1
files/.vim/syntax/python.vim
Symbolic link
1
files/.vim/syntax/python.vim
Symbolic link
|
@ -0,0 +1 @@
|
|||
/usr/share/vim/vim74/syntax/python.vim
|
223
files/.vim/syntax/scala.vim
Normal file
223
files/.vim/syntax/scala.vim
Normal file
|
@ -0,0 +1,223 @@
|
|||
" Vim syntax file
|
||||
" Language: Scala
|
||||
" Maintainer: Derek Wyatt
|
||||
" URL: https://github.com/derekwyatt/vim-scala
|
||||
" License: Apache 2
|
||||
" ----------------------------------------------------------------------------
|
||||
|
||||
if !exists('main_syntax')
|
||||
if version < 600
|
||||
syntax clear
|
||||
elseif exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
let main_syntax = 'scala'
|
||||
endif
|
||||
|
||||
scriptencoding utf-8
|
||||
|
||||
let b:current_syntax = "scala"
|
||||
|
||||
" Allows for embedding, see #59; main_syntax convention instead? Refactor TOP
|
||||
"
|
||||
" The @Spell here is a weird hack, it means *exclude* if the first group is
|
||||
" TOP. Otherwise we get spelling errors highlighted on code elements that
|
||||
" match scalaBlock, even with `syn spell notoplevel`.
|
||||
function! s:ContainedGroup()
|
||||
try
|
||||
silent syn list @scala
|
||||
return '@scala,@NoSpell'
|
||||
catch /E392/
|
||||
return 'TOP,@Spell'
|
||||
endtry
|
||||
endfunction
|
||||
|
||||
syn include @scalaHtml syntax/html.vim " Doc comment HTML
|
||||
unlet! b:current_syntax
|
||||
|
||||
syn case match
|
||||
syn sync minlines=200 maxlines=1000
|
||||
|
||||
syn keyword scalaKeyword catch do else final finally for forSome if
|
||||
syn keyword scalaKeyword match return throw try while yield macro
|
||||
syn keyword scalaKeyword class trait object extends with nextgroup=scalaInstanceDeclaration skipwhite
|
||||
syn keyword scalaKeyword case nextgroup=scalaKeyword,scalaCaseFollowing skipwhite
|
||||
syn keyword scalaKeyword val nextgroup=scalaNameDefinition,scalaQuasiQuotes skipwhite
|
||||
syn keyword scalaKeyword def var nextgroup=scalaNameDefinition skipwhite
|
||||
hi link scalaKeyword Keyword
|
||||
|
||||
exe 'syn region scalaBlock start=/{/ end=/}/ contains=' . s:ContainedGroup() . ' fold'
|
||||
|
||||
syn keyword scalaAkkaSpecialWord when goto using startWith initialize onTransition stay become unbecome
|
||||
hi link scalaAkkaSpecialWord PreProc
|
||||
|
||||
syn match scalaSymbol /'[_A-Za-z0-9$]\+/
|
||||
hi link scalaSymbol Number
|
||||
|
||||
syn match scalaChar /'.'/
|
||||
syn match scalaChar /'\\[\\"'ntbrf]'/ contains=scalaEscapedChar
|
||||
syn match scalaChar /'\\u[A-Fa-f0-9]\{4}'/ contains=scalaUnicodeChar
|
||||
syn match scalaEscapedChar /\\[\\"'ntbrf]/
|
||||
syn match scalaUnicodeChar /\\u[A-Fa-f0-9]\{4}/
|
||||
hi link scalaChar Character
|
||||
hi link scalaEscapedChar Function
|
||||
hi link scalaUnicodeChar Special
|
||||
|
||||
syn match scalaOperator "||"
|
||||
syn match scalaOperator "&&"
|
||||
hi link scalaOperator Special
|
||||
|
||||
syn match scalaNameDefinition /\<[_A-Za-z0-9$]\+\>/ contained nextgroup=scalaPostNameDefinition
|
||||
syn match scalaNameDefinition /`[^`]\+`/ contained nextgroup=scalaPostNameDefinition
|
||||
syn match scalaPostNameDefinition /\_s*:\_s*/ contained nextgroup=scalaTypeDeclaration
|
||||
hi link scalaNameDefinition Function
|
||||
|
||||
syn match scalaInstanceDeclaration /\<[_\.A-Za-z0-9$]\+\>/ contained nextgroup=scalaInstanceHash
|
||||
syn match scalaInstanceDeclaration /`[^`]\+`/ contained
|
||||
syn match scalaInstanceHash /#/ contained nextgroup=scalaInstanceDeclaration
|
||||
hi link scalaInstanceDeclaration Special
|
||||
hi link scalaInstanceHash Type
|
||||
|
||||
syn match scalaUnimplemented /???/
|
||||
hi link scalaUnimplemented ERROR
|
||||
|
||||
syn match scalaCapitalWord /\<[A-Z][A-Za-z0-9$]*\>/
|
||||
hi link scalaCapitalWord Special
|
||||
|
||||
" Handle type declarations specially
|
||||
syn region scalaTypeStatement matchgroup=Keyword start=/\<type\_s\+\ze/ end=/$/ contains=scalaTypeTypeDeclaration,scalaSquareBrackets,scalaTypeTypeEquals,scalaTypeStatement
|
||||
|
||||
" Ugh... duplication of all the scalaType* stuff to handle special highlighting
|
||||
" of `type X =` declarations
|
||||
syn match scalaTypeTypeDeclaration /(/ contained nextgroup=scalaTypeTypeExtension,scalaTypeTypeEquals contains=scalaRoundBrackets skipwhite
|
||||
syn match scalaTypeTypeDeclaration /\%(⇒\|=>\)\ze/ contained nextgroup=scalaTypeTypeDeclaration contains=scalaTypeTypeExtension skipwhite
|
||||
syn match scalaTypeTypeDeclaration /\<[_\.A-Za-z0-9$]\+\>/ contained nextgroup=scalaTypeTypeExtension,scalaTypeTypeEquals skipwhite
|
||||
syn match scalaTypeTypeEquals /=\ze[^>]/ contained nextgroup=scalaTypeTypePostDeclaration skipwhite
|
||||
syn match scalaTypeTypeExtension /)\?\_s*\zs\%(⇒\|=>\|<:\|:>\|=:=\|::\|#\)/ contained nextgroup=scalaTypeTypeDeclaration skipwhite
|
||||
syn match scalaTypeTypePostDeclaration /\<[_\.A-Za-z0-9$]\+\>/ contained nextgroup=scalaTypeTypePostExtension skipwhite
|
||||
syn match scalaTypeTypePostExtension /\%(⇒\|=>\|<:\|:>\|=:=\|::\)/ contained nextgroup=scalaTypeTypePostDeclaration skipwhite
|
||||
hi link scalaTypeTypeDeclaration Type
|
||||
hi link scalaTypeTypeExtension Keyword
|
||||
hi link scalaTypeTypePostDeclaration Special
|
||||
hi link scalaTypeTypePostExtension Keyword
|
||||
|
||||
syn match scalaTypeDeclaration /(/ contained nextgroup=scalaTypeExtension contains=scalaRoundBrackets skipwhite
|
||||
syn match scalaTypeDeclaration /\%(⇒\|=>\)\ze/ contained nextgroup=scalaTypeDeclaration contains=scalaTypeExtension skipwhite
|
||||
syn match scalaTypeDeclaration /\<[_\.A-Za-z0-9$]\+\>/ contained nextgroup=scalaTypeExtension skipwhite
|
||||
syn match scalaTypeExtension /)\?\_s*\zs\%(⇒\|=>\|<:\|:>\|=:=\|::\|#\)/ contained nextgroup=scalaTypeDeclaration skipwhite
|
||||
hi link scalaTypeDeclaration Type
|
||||
hi link scalaTypeExtension Keyword
|
||||
hi link scalaTypePostExtension Keyword
|
||||
|
||||
syn match scalaTypeAnnotation /\%([_a-zA-Z0-9$\s]:\_s*\)\ze[_=(\.A-Za-z0-9$]\+/ skipwhite nextgroup=scalaTypeDeclaration contains=scalaRoundBrackets
|
||||
syn match scalaTypeAnnotation /)\_s*:\_s*\ze[_=(\.A-Za-z0-9$]\+/ skipwhite nextgroup=scalaTypeDeclaration
|
||||
hi link scalaTypeAnnotation Normal
|
||||
|
||||
syn match scalaCaseFollowing /\<[_\.A-Za-z0-9$]\+\>/ contained
|
||||
syn match scalaCaseFollowing /`[^`]\+`/ contained
|
||||
hi link scalaCaseFollowing Special
|
||||
|
||||
syn keyword scalaKeywordModifier abstract override final lazy implicit implicitly private protected sealed null require super
|
||||
hi link scalaKeywordModifier Function
|
||||
|
||||
syn keyword scalaSpecial this true false ne eq
|
||||
syn keyword scalaSpecial new nextgroup=scalaInstanceDeclaration skipwhite
|
||||
syn match scalaSpecial "\%(=>\|⇒\|<-\|←\|->\|→\)"
|
||||
syn match scalaSpecial /`[^`]*`/ " Backtick literals
|
||||
hi link scalaSpecial PreProc
|
||||
|
||||
syn keyword scalaExternal package import
|
||||
hi link scalaExternal Include
|
||||
|
||||
syn match scalaStringEmbeddedQuote /\\"/ contained
|
||||
syn region scalaString start=/"/ end=/"/ contains=scalaStringEmbeddedQuote,scalaEscapedChar,scalaUnicodeChar
|
||||
hi link scalaString String
|
||||
hi link scalaStringEmbeddedQuote String
|
||||
|
||||
syn region scalaIString matchgroup=scalaInterpolationBrackets start=/\<[a-zA-Z][a-zA-Z0-9_]*"/ skip=/\\"/ end=/"/ contains=scalaInterpolation,scalaInterpolationB,scalaEscapedChar,scalaUnicodeChar
|
||||
syn region scalaTripleIString matchgroup=scalaInterpolationBrackets start=/\<[a-zA-Z][a-zA-Z0-9_]*"""/ end=/"""\%([^"]\|$\)/ contains=scalaInterpolation,scalaInterpolationB,scalaEscapedChar,scalaUnicodeChar
|
||||
hi link scalaIString String
|
||||
hi link scalaTripleIString String
|
||||
|
||||
syn match scalaInterpolation /\$[a-zA-Z0-9_$]\+/ contained
|
||||
exe 'syn region scalaInterpolationB matchgroup=scalaInterpolationBoundary start=/\${/ end=/}/ contained contains=' . s:ContainedGroup()
|
||||
hi link scalaInterpolation Function
|
||||
hi link scalaInterpolationB Normal
|
||||
|
||||
syn region scalaFString matchgroup=scalaInterpolationBrackets start=/f"/ skip=/\\"/ end=/"/ contains=scalaFInterpolation,scalaFInterpolationB,scalaEscapedChar,scalaUnicodeChar
|
||||
syn match scalaFInterpolation /\$[a-zA-Z0-9_$]\+\(%[-A-Za-z0-9\.]\+\)\?/ contained
|
||||
exe 'syn region scalaFInterpolationB matchgroup=scalaInterpolationBoundary start=/${/ end=/}\(%[-A-Za-z0-9\.]\+\)\?/ contained contains=' . s:ContainedGroup()
|
||||
hi link scalaFString String
|
||||
hi link scalaFInterpolation Function
|
||||
hi link scalaFInterpolationB Normal
|
||||
|
||||
syn region scalaTripleString start=/"""/ end=/"""\%([^"]\|$\)/ contains=scalaEscapedChar,scalaUnicodeChar
|
||||
syn region scalaTripleFString matchgroup=scalaInterpolationBrackets start=/f"""/ end=/"""\%([^"]\|$\)/ contains=scalaFInterpolation,scalaFInterpolationB,scalaEscapedChar,scalaUnicodeChar
|
||||
hi link scalaTripleString String
|
||||
hi link scalaTripleFString String
|
||||
|
||||
hi link scalaInterpolationBrackets Special
|
||||
hi link scalaInterpolationBoundary Function
|
||||
|
||||
syn match scalaNumber /\<0[dDfFlL]\?\>/ " Just a bare 0
|
||||
syn match scalaNumber /\<[1-9]\d*[dDfFlL]\?\>/ " A multi-digit number - octal numbers with leading 0's are deprecated in Scala
|
||||
syn match scalaNumber /\<0[xX][0-9a-fA-F]\+[dDfFlL]\?\>/ " Hex number
|
||||
syn match scalaNumber /\%(\<\d\+\.\d*\|\.\d\+\)\%([eE][-+]\=\d\+\)\=[fFdD]\=/ " exponential notation 1
|
||||
syn match scalaNumber /\<\d\+[eE][-+]\=\d\+[fFdD]\=\>/ " exponential notation 2
|
||||
syn match scalaNumber /\<\d\+\%([eE][-+]\=\d\+\)\=[fFdD]\>/ " exponential notation 3
|
||||
hi link scalaNumber Number
|
||||
|
||||
syn region scalaRoundBrackets start="(" end=")" skipwhite contained contains=scalaTypeDeclaration,scalaSquareBrackets,scalaRoundBrackets
|
||||
|
||||
syn region scalaSquareBrackets matchgroup=scalaSquareBracketsBrackets start="\[" end="\]" skipwhite nextgroup=scalaTypeExtension contains=scalaTypeDeclaration,scalaSquareBrackets,scalaTypeOperator,scalaTypeAnnotationParameter
|
||||
syn match scalaTypeOperator /[-+=:<>]\+/ contained
|
||||
syn match scalaTypeAnnotationParameter /@\<[`_A-Za-z0-9$]\+\>/ contained
|
||||
hi link scalaSquareBracketsBrackets Type
|
||||
hi link scalaTypeOperator Keyword
|
||||
hi link scalaTypeAnnotationParameter Function
|
||||
|
||||
syn match scalaShebang "\%^#!.*" display
|
||||
syn region scalaMultilineComment start="/\*" end="\*/" contains=scalaMultilineComment,scalaDocLinks,scalaParameterAnnotation,scalaCommentAnnotation,scalaTodo,scalaCommentCodeBlock,@scalaHtml,@Spell keepend
|
||||
syn match scalaCommentAnnotation "@[_A-Za-z0-9$]\+" contained
|
||||
syn match scalaParameterAnnotation "@param" nextgroup=scalaParamAnnotationValue skipwhite contained
|
||||
syn match scalaParamAnnotationValue /[`_A-Za-z0-9$]\+/ contained
|
||||
syn region scalaDocLinks start="\[\[" end="\]\]" contained
|
||||
syn region scalaCommentCodeBlock matchgroup=Keyword start="{{{" end="}}}" contained
|
||||
syn match scalaTodo "\vTODO|FIXME|XXX" contained
|
||||
hi link scalaShebang Comment
|
||||
hi link scalaMultilineComment Comment
|
||||
hi link scalaDocLinks Function
|
||||
hi link scalaParameterAnnotation Function
|
||||
hi link scalaParamAnnotationValue Keyword
|
||||
hi link scalaCommentAnnotation Function
|
||||
hi link scalaCommentCodeBlockBrackets String
|
||||
hi link scalaCommentCodeBlock String
|
||||
hi link scalaTodo Todo
|
||||
|
||||
syn match scalaAnnotation /@\<[`_A-Za-z0-9$]\+\>/
|
||||
hi link scalaAnnotation PreProc
|
||||
|
||||
syn match scalaTrailingComment "//.*$" contains=scalaTodo,@Spell
|
||||
hi link scalaTrailingComment Comment
|
||||
|
||||
syn match scalaAkkaFSM /goto([^)]*)\_s\+\<using\>/ contains=scalaAkkaFSMGotoUsing
|
||||
syn match scalaAkkaFSM /stay\_s\+using/
|
||||
syn match scalaAkkaFSM /^\s*stay\s*$/
|
||||
syn match scalaAkkaFSM /when\ze([^)]*)/
|
||||
syn match scalaAkkaFSM /startWith\ze([^)]*)/
|
||||
syn match scalaAkkaFSM /initialize\ze()/
|
||||
syn match scalaAkkaFSM /onTransition/
|
||||
syn match scalaAkkaFSM /onTermination/
|
||||
syn match scalaAkkaFSM /whenUnhandled/
|
||||
syn match scalaAkkaFSMGotoUsing /\<using\>/
|
||||
syn match scalaAkkaFSMGotoUsing /\<goto\>/
|
||||
hi link scalaAkkaFSM PreProc
|
||||
hi link scalaAkkaFSMGotoUsing PreProc
|
||||
|
||||
let b:current_syntax = 'scala'
|
||||
|
||||
if main_syntax ==# 'scala'
|
||||
unlet main_syntax
|
||||
endif
|
||||
|
||||
" vim:set sw=2 sts=2 ts=8 et:
|
90
files/.vimrc
Normal file
90
files/.vimrc
Normal file
|
@ -0,0 +1,90 @@
|
|||
syntax on
|
||||
filetype plugin on
|
||||
set colorcolumn=80
|
||||
set background=dark
|
||||
set number
|
||||
set tabstop=4
|
||||
" set softtabstop=4
|
||||
set shiftwidth=4
|
||||
set noexpandtab
|
||||
set smartindent
|
||||
|
||||
set exrc
|
||||
set secure
|
||||
|
||||
"""""""""""""""""" Vundle
|
||||
set nocompatible
|
||||
filetype off
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
call vundle#begin()
|
||||
" alternatively, pass a path where Vundle should install plugins
|
||||
"call vundle#begin('~/some/path/here')
|
||||
" let Vundle manage Vundle, required
|
||||
|
||||
" Plugins
|
||||
Plugin 'VundleVim/Vundle.vim'
|
||||
Plugin 'LucHermitte/lh-vim-lib'
|
||||
Plugin 'LucHermitte/local_vimrc'
|
||||
"Plugin 'Smart-Tabs'
|
||||
Plugin 'hynek/vim-python-pep8-indent'
|
||||
Plugin 'tpope/vim-git'
|
||||
Plugin 'fs111/pydoc.vim'
|
||||
|
||||
call vundle#end() " required
|
||||
filetype plugin indent on " required
|
||||
|
||||
|
||||
"""""""""""""""""" Syntastic
|
||||
set statusline+=%#warningmsg#
|
||||
set statusline+=%{SyntasticStatuslineFlag()}
|
||||
set statusline+=%*
|
||||
let g:syntastic_always_populate_loc_list = 1
|
||||
"let g:syntastic_auto_loc_list = 1
|
||||
let g:syntastic_check_on_open = 1
|
||||
let g:syntastic_check_on_wq = 0
|
||||
let g:syntastic_enable_signs=1
|
||||
let g:syntastic_cpp_check_header = 1
|
||||
let g:syntastic_cpp_remove_include_errors = 1
|
||||
let g:syntastic_quiet_messages = {"regex":'pragma once in'}
|
||||
"let g:syntastic_auto_jump=1
|
||||
|
||||
"" LaTeX
|
||||
let g:syntastic_tex_checkers = [ 'chktex' ]
|
||||
"" Python
|
||||
let g:syntastic_python_python_exec = '/usr/bin/python3'
|
||||
"" C++
|
||||
let g:syntastic_cpp_compiler_options = '-std=c++11'
|
||||
|
||||
"" Disabled languages
|
||||
"let g:syntastic_mode_map = { 'passive_filetypes': ['python'] }
|
||||
let g:syntastic_python_checkers = ['pep8']
|
||||
|
||||
""""""""""""""""" OCaml
|
||||
let g:opamshare = substitute(system('opam config var share'),'\n$','','''')
|
||||
"""" Merlin
|
||||
execute "set rtp+=" . g:opamshare . "/merlin/vim"
|
||||
let g:syntastic_ocaml_checkers = ['merlin']
|
||||
"""" Ocp-indent (OCaml indentation)
|
||||
execute "set rtp+=" . g:opamshare . "/ocp-indent/vim"
|
||||
|
||||
|
||||
""""""""""""""""" Trailing whitespaces
|
||||
fun! TrimWhitespace()
|
||||
let l:save_cursor = getpos('.')
|
||||
%s/\s\+$//e
|
||||
call setpos('.', l:save_cursor)
|
||||
endfun
|
||||
" Show trailing whitepace and spaces before a tab:
|
||||
highlight ExtraWhitespace ctermbg=darkgreen guibg=lightgreen
|
||||
match ExtraWhitespace /\s\+$\| \+\ze\t/
|
||||
autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/
|
||||
|
||||
""""""""""""""""" Key bindings
|
||||
map <F1> :!make<CR>
|
||||
imap <F1> <esc>:echo 'F1 help disabled'<CR>
|
||||
map <F2> :!git status<CR>
|
||||
map {{ :lprev<CR>
|
||||
map }} :lnext<CR>
|
||||
map {} :ll<CR>
|
||||
nnoremap <Leader>w :call TrimWhitespace()<CR>
|
||||
|
5
files/.weenotifyrc
Normal file
5
files/.weenotifyrc
Normal file
|
@ -0,0 +1,5 @@
|
|||
server=localhost
|
||||
port=6667
|
||||
ensure-background= bash /home/tobast/.weechat/tunnel.sh
|
||||
highlight-action=bash /home/tobast/.weechat/notifymsg.sh
|
||||
privmsg-action=bash /home/tobast/.weechat/notifymsg.sh
|
248
files/.xmodmap
Normal file
248
files/.xmodmap
Normal file
|
@ -0,0 +1,248 @@
|
|||
keycode 8 =
|
||||
keycode 9 = Caps_Lock NoSymbol Caps_Lock NoSymbol Caps_Lock Caps_Lock
|
||||
keycode 10 = 1 exclam ampersand 1 onesuperior exclamdown
|
||||
keycode 11 = 2 at eacute 2 asciitilde oneeighth
|
||||
keycode 12 = 3 numbersign quotedbl 3 numbersign sterling
|
||||
keycode 13 = 4 dollar apostrophe 4 braceleft dollar
|
||||
keycode 14 = 5 percent parenleft 5 bracketleft threeeighths
|
||||
keycode 15 = 6 asciicircum minus 6 bar fiveeighths
|
||||
keycode 16 = 7 ampersand egrave 7 grave seveneighths
|
||||
keycode 17 = 8 asterisk underscore 8 backslash trademark
|
||||
keycode 18 = 9 parenleft ccedilla 9 asciicircum plusminus
|
||||
keycode 19 = 0 parenright agrave 0 at degree
|
||||
keycode 20 = minus underscore parenright degree bracketright questiondown
|
||||
keycode 21 = equal plus equal plus braceright dead_ogonek
|
||||
keycode 22 = BackSpace BackSpace BackSpace BackSpace NoSymbol NoSymbol Terminate_Server
|
||||
keycode 23 = Tab ISO_Left_Tab Tab ISO_Left_Tab Tab ISO_Left_Tab Tab ISO_Left_Tab
|
||||
keycode 24 = q Q a A ae AE
|
||||
keycode 25 = w W z Z guillemotleft less
|
||||
keycode 26 = e E e E EuroSign cent
|
||||
keycode 27 = r R r R paragraph registered
|
||||
keycode 28 = t T t T tslash Tslash
|
||||
keycode 29 = y Y y Y leftarrow yen
|
||||
keycode 30 = u U u U downarrow uparrow
|
||||
keycode 31 = i I i I rightarrow idotless
|
||||
keycode 32 = o O o O oslash Oslash
|
||||
keycode 33 = p P p P thorn THORN
|
||||
keycode 34 = bracketleft braceleft dead_circumflex dead_diaeresis dead_diaeresis dead_abovering
|
||||
keycode 35 = bracketright braceright dollar sterling currency dead_macron
|
||||
keycode 36 = Return NoSymbol Return NoSymbol Return Return
|
||||
keycode 37 = Control_L NoSymbol Control_L NoSymbol Control_L Control_L
|
||||
keycode 38 = a A q Q at Greek_OMEGA
|
||||
keycode 39 = s S s S ssharp section
|
||||
keycode 40 = d D d D eth ETH
|
||||
keycode 41 = f F f F dstroke ordfeminine
|
||||
keycode 42 = g G g G eng ENG
|
||||
keycode 43 = h H h H hstroke Hstroke
|
||||
keycode 44 = j J j J dead_hook dead_horn
|
||||
keycode 45 = k K k K kra ampersand
|
||||
keycode 46 = l L l L lstroke Lstroke
|
||||
keycode 47 = semicolon colon m M mu masculine
|
||||
keycode 48 = apostrophe quotedbl ugrave percent dead_circumflex dead_caron
|
||||
keycode 49 = grave asciitilde twosuperior asciitilde notsign notsign
|
||||
keycode 50 = Shift_L NoSymbol Shift_L NoSymbol Shift_L Shift_L
|
||||
keycode 51 = backslash bar asterisk mu dead_grave dead_breve
|
||||
keycode 52 = z Z w W lstroke Lstroke
|
||||
keycode 53 = x X x X guillemotright greater
|
||||
keycode 54 = c C c C cent copyright
|
||||
keycode 55 = v V v V leftdoublequotemark leftsinglequotemark
|
||||
keycode 56 = b B b B rightdoublequotemark rightsinglequotemark
|
||||
keycode 57 = n N n N n N n N
|
||||
keycode 58 = m M comma question dead_acute dead_doubleacute
|
||||
keycode 59 = comma less semicolon period horizconnector multiply
|
||||
keycode 60 = period greater colon slash periodcentered division
|
||||
keycode 61 = slash question exclam section dead_belowdot dead_abovedot
|
||||
keycode 62 = Shift_R NoSymbol Shift_R NoSymbol Shift_R Shift_R
|
||||
keycode 63 = KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply XF86ClearGrab KP_Multiply KP_Multiply XF86ClearGrab KP_Multiply KP_Multiply KP_Multiply KP_Multiply XF86ClearGrab KP_Multiply KP_Multiply KP_Multiply KP_Multiply XF86ClearGrab
|
||||
keycode 64 = Alt_L Meta_L Alt_L Meta_L Alt_L Meta_L Alt_L Meta_L
|
||||
keycode 65 = space NoSymbol space NoSymbol space space
|
||||
keycode 66 = Escape NoSymbol Escape NoSymbol Escape Escape
|
||||
keycode 67 = F1 F1 F1 F1 F1 F1 XF86Switch_VT_1 F1 F1 XF86Switch_VT_1 F1 F1 F1 F1 XF86Switch_VT_1 F1 F1 F1 F1 XF86Switch_VT_1
|
||||
keycode 68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2 F2 F2 XF86Switch_VT_2 F2 F2 F2 F2 XF86Switch_VT_2 F2 F2 F2 F2 XF86Switch_VT_2
|
||||
keycode 69 = F3 F3 F3 F3 F3 F3 XF86Switch_VT_3 F3 F3 XF86Switch_VT_3 F3 F3 F3 F3 XF86Switch_VT_3 F3 F3 F3 F3 XF86Switch_VT_3
|
||||
keycode 70 = F4 F4 F4 F4 F4 F4 XF86Switch_VT_4 F4 F4 XF86Switch_VT_4 F4 F4 F4 F4 XF86Switch_VT_4 F4 F4 F4 F4 XF86Switch_VT_4
|
||||
keycode 71 = F5 F5 F5 F5 F5 F5 XF86Switch_VT_5 F5 F5 XF86Switch_VT_5 F5 F5 F5 F5 XF86Switch_VT_5 F5 F5 F5 F5 XF86Switch_VT_5
|
||||
keycode 72 = F6 F6 F6 F6 F6 F6 XF86Switch_VT_6 F6 F6 XF86Switch_VT_6 F6 F6 F6 F6 XF86Switch_VT_6 F6 F6 F6 F6 XF86Switch_VT_6
|
||||
keycode 73 = F7 F7 F7 F7 F7 F7 XF86Switch_VT_7 F7 F7 XF86Switch_VT_7 F7 F7 F7 F7 XF86Switch_VT_7 F7 F7 F7 F7 XF86Switch_VT_7
|
||||
keycode 74 = F8 F8 F8 F8 F8 F8 XF86Switch_VT_8 F8 F8 XF86Switch_VT_8 F8 F8 F8 F8 XF86Switch_VT_8 F8 F8 F8 F8 XF86Switch_VT_8
|
||||
keycode 75 = F9 F9 F9 F9 F9 F9 XF86Switch_VT_9 F9 F9 XF86Switch_VT_9 F9 F9 F9 F9 XF86Switch_VT_9 F9 F9 F9 F9 XF86Switch_VT_9
|
||||
keycode 76 = F10 F10 F10 F10 F10 F10 XF86Switch_VT_10 F10 F10 XF86Switch_VT_10 F10 F10 F10 F10 XF86Switch_VT_10 F10 F10 F10 F10 XF86Switch_VT_10
|
||||
keycode 77 = Num_Lock NoSymbol Num_Lock NoSymbol Num_Lock Num_Lock
|
||||
keycode 78 = Scroll_Lock NoSymbol Scroll_Lock NoSymbol Scroll_Lock Scroll_Lock
|
||||
keycode 79 = KP_Home KP_7 KP_Home KP_7 KP_Home KP_7 KP_Home KP_7
|
||||
keycode 80 = KP_Up KP_8 KP_Up KP_8 KP_Up KP_8 KP_Up KP_8
|
||||
keycode 81 = KP_Prior KP_9 KP_Prior KP_9 KP_Prior KP_9 KP_Prior KP_9
|
||||
keycode 82 = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract XF86Prev_VMode KP_Subtract KP_Subtract XF86Prev_VMode KP_Subtract KP_Subtract KP_Subtract KP_Subtract XF86Prev_VMode KP_Subtract KP_Subtract KP_Subtract KP_Subtract XF86Prev_VMode
|
||||
keycode 83 = KP_Left KP_4 KP_Left KP_4 KP_Left KP_4 KP_Left KP_4
|
||||
keycode 84 = KP_Begin KP_5 KP_Begin KP_5 KP_Begin KP_5 KP_Begin KP_5
|
||||
keycode 85 = KP_Right KP_6 KP_Right KP_6 KP_Right KP_6 KP_Right KP_6
|
||||
keycode 86 = KP_Add KP_Add KP_Add KP_Add KP_Add KP_Add XF86Next_VMode KP_Add KP_Add XF86Next_VMode KP_Add KP_Add KP_Add KP_Add XF86Next_VMode KP_Add KP_Add KP_Add KP_Add XF86Next_VMode
|
||||
keycode 87 = KP_End KP_1 KP_End KP_1 KP_End KP_1 KP_End KP_1
|
||||
keycode 88 = KP_Down KP_2 KP_Down KP_2 KP_Down KP_2 KP_Down KP_2
|
||||
keycode 89 = KP_Next KP_3 KP_Next KP_3 KP_Next KP_3 KP_Next KP_3
|
||||
keycode 90 = KP_Insert KP_0 KP_Insert KP_0 KP_Insert KP_0 KP_Insert KP_0
|
||||
keycode 91 = KP_Delete KP_Decimal KP_Delete KP_Decimal KP_Delete KP_Decimal KP_Delete KP_Decimal
|
||||
keycode 92 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift NoSymbol ISO_Level3_Shift ISO_Level3_Shift
|
||||
keycode 93 =
|
||||
keycode 94 = less greater less greater bar brokenbar bar brokenbar less greater bar brokenbar less greater bar brokenbar
|
||||
keycode 95 = F11 F11 F11 F11 F11 F11 XF86Switch_VT_11 F11 F11 XF86Switch_VT_11 F11 F11 F11 F11 XF86Switch_VT_11 F11 F11 F11 F11 XF86Switch_VT_11
|
||||
keycode 96 = F12 F12 F12 F12 F12 F12 XF86Switch_VT_12 F12 F12 XF86Switch_VT_12 F12 F12 F12 F12 XF86Switch_VT_12 F12 F12 F12 F12 XF86Switch_VT_12
|
||||
keycode 97 =
|
||||
keycode 98 = Katakana NoSymbol Katakana NoSymbol Katakana Katakana
|
||||
keycode 99 = Hiragana NoSymbol Hiragana NoSymbol Hiragana Hiragana
|
||||
keycode 100 = Henkan_Mode NoSymbol Henkan_Mode NoSymbol Henkan_Mode Henkan_Mode
|
||||
keycode 101 = Hiragana_Katakana NoSymbol Hiragana_Katakana NoSymbol Hiragana_Katakana Hiragana_Katakana
|
||||
keycode 102 = Muhenkan NoSymbol Muhenkan NoSymbol Muhenkan Muhenkan
|
||||
keycode 103 =
|
||||
keycode 104 = KP_Enter NoSymbol KP_Enter NoSymbol KP_Enter KP_Enter
|
||||
keycode 105 = Control_R NoSymbol Control_R NoSymbol Control_R Control_R
|
||||
keycode 106 = KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide XF86Ungrab KP_Divide KP_Divide XF86Ungrab KP_Divide KP_Divide KP_Divide KP_Divide XF86Ungrab KP_Divide KP_Divide KP_Divide KP_Divide XF86Ungrab
|
||||
keycode 107 = Print Sys_Req Print Sys_Req Print Sys_Req Print Sys_Req
|
||||
keycode 108 = Multi_key Multi_key ISO_Level3_Shift
|
||||
keycode 109 = Linefeed NoSymbol Linefeed NoSymbol Linefeed Linefeed
|
||||
keycode 110 = Home NoSymbol Home NoSymbol Home Home
|
||||
keycode 111 = Up NoSymbol Up NoSymbol Up Up
|
||||
keycode 112 = Prior NoSymbol Prior NoSymbol Prior Prior
|
||||
keycode 113 = Left NoSymbol Left NoSymbol Left Left
|
||||
keycode 114 = Right NoSymbol Right NoSymbol Right Right
|
||||
keycode 115 = End NoSymbol End NoSymbol End End
|
||||
keycode 116 = Down NoSymbol Down NoSymbol Down Down
|
||||
keycode 117 = Next NoSymbol Next NoSymbol Next Next
|
||||
keycode 118 = Insert NoSymbol Insert NoSymbol Insert Insert
|
||||
keycode 119 = Delete NoSymbol Delete NoSymbol Delete Delete
|
||||
keycode 120 =
|
||||
keycode 121 = XF86AudioMute NoSymbol XF86AudioMute NoSymbol XF86AudioMute XF86AudioMute
|
||||
keycode 122 = XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume NoSymbol XF86AudioLowerVolume XF86AudioLowerVolume
|
||||
keycode 123 = XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume NoSymbol XF86AudioRaiseVolume XF86AudioRaiseVolume
|
||||
keycode 124 = XF86PowerOff NoSymbol XF86PowerOff NoSymbol XF86PowerOff XF86PowerOff
|
||||
keycode 125 = KP_Equal NoSymbol KP_Equal NoSymbol KP_Equal KP_Equal
|
||||
keycode 126 = plusminus NoSymbol plusminus NoSymbol plusminus plusminus
|
||||
keycode 127 = Pause Break Pause Break Pause Break Pause Break
|
||||
keycode 128 = XF86LaunchA NoSymbol XF86LaunchA NoSymbol XF86LaunchA XF86LaunchA
|
||||
keycode 129 = KP_Decimal KP_Decimal KP_Decimal KP_Decimal KP_Decimal KP_Decimal KP_Decimal KP_Decimal
|
||||
keycode 130 = Hangul NoSymbol Hangul NoSymbol Hangul Hangul
|
||||
keycode 131 = Hangul_Hanja NoSymbol Hangul_Hanja NoSymbol Hangul_Hanja Hangul_Hanja
|
||||
keycode 132 =
|
||||
keycode 133 = Super_L NoSymbol Super_L NoSymbol Super_L Super_L
|
||||
keycode 134 = Super_R NoSymbol Super_R NoSymbol Super_R Super_R
|
||||
keycode 135 = Menu NoSymbol Menu NoSymbol Menu Menu
|
||||
keycode 136 = Cancel NoSymbol Cancel NoSymbol Cancel Cancel
|
||||
keycode 137 = Redo NoSymbol Redo NoSymbol Redo Redo
|
||||
keycode 138 = SunProps NoSymbol SunProps NoSymbol SunProps SunProps
|
||||
keycode 139 = Undo NoSymbol Undo NoSymbol Undo Undo
|
||||
keycode 140 = SunFront NoSymbol SunFront NoSymbol SunFront SunFront
|
||||
keycode 141 = XF86Copy NoSymbol XF86Copy NoSymbol XF86Copy XF86Copy
|
||||
keycode 142 = XF86Open NoSymbol XF86Open NoSymbol XF86Open XF86Open
|
||||
keycode 143 = XF86Paste NoSymbol XF86Paste NoSymbol XF86Paste XF86Paste
|
||||
keycode 144 = Find NoSymbol Find NoSymbol Find Find
|
||||
keycode 145 = XF86Cut NoSymbol XF86Cut NoSymbol XF86Cut XF86Cut
|
||||
keycode 146 = Help NoSymbol Help NoSymbol Help Help
|
||||
keycode 147 = XF86MenuKB NoSymbol XF86MenuKB NoSymbol XF86MenuKB XF86MenuKB
|
||||
keycode 148 = XF86Calculator NoSymbol XF86Calculator NoSymbol XF86Calculator XF86Calculator
|
||||
keycode 149 =
|
||||
keycode 150 = XF86Sleep NoSymbol XF86Sleep NoSymbol XF86Sleep XF86Sleep
|
||||
keycode 151 = XF86WakeUp NoSymbol XF86WakeUp NoSymbol XF86WakeUp XF86WakeUp
|
||||
keycode 152 = XF86Explorer NoSymbol XF86Explorer NoSymbol XF86Explorer XF86Explorer
|
||||
keycode 153 = XF86Send NoSymbol XF86Send NoSymbol XF86Send XF86Send
|
||||
keycode 154 =
|
||||
keycode 155 = XF86Xfer NoSymbol XF86Xfer NoSymbol XF86Xfer XF86Xfer
|
||||
keycode 156 = XF86Launch1 NoSymbol XF86Launch1 NoSymbol XF86Launch1 XF86Launch1
|
||||
keycode 157 = XF86Launch2 NoSymbol XF86Launch2 NoSymbol XF86Launch2 XF86Launch2
|
||||
keycode 158 = XF86WWW NoSymbol XF86WWW NoSymbol XF86WWW XF86WWW
|
||||
keycode 159 = XF86DOS NoSymbol XF86DOS NoSymbol XF86DOS XF86DOS
|
||||
keycode 160 = XF86ScreenSaver NoSymbol XF86ScreenSaver NoSymbol XF86ScreenSaver XF86ScreenSaver
|
||||
keycode 161 = XF86RotateWindows NoSymbol XF86RotateWindows NoSymbol XF86RotateWindows XF86RotateWindows
|
||||
keycode 162 = XF86TaskPane NoSymbol XF86TaskPane NoSymbol XF86TaskPane XF86TaskPane
|
||||
keycode 163 = XF86Mail NoSymbol XF86Mail NoSymbol XF86Mail XF86Mail
|
||||
keycode 164 = XF86Favorites NoSymbol XF86Favorites NoSymbol XF86Favorites XF86Favorites
|
||||
keycode 165 = XF86MyComputer NoSymbol XF86MyComputer NoSymbol XF86MyComputer XF86MyComputer
|
||||
keycode 166 = XF86Back NoSymbol XF86Back NoSymbol XF86Back XF86Back
|
||||
keycode 167 = XF86Forward NoSymbol XF86Forward NoSymbol XF86Forward XF86Forward
|
||||
keycode 168 =
|
||||
keycode 169 = XF86Eject NoSymbol XF86Eject NoSymbol XF86Eject XF86Eject
|
||||
keycode 170 = XF86Eject XF86Eject XF86Eject XF86Eject XF86Eject XF86Eject XF86Eject XF86Eject
|
||||
keycode 171 = XF86AudioNext NoSymbol XF86AudioNext NoSymbol XF86AudioNext XF86AudioNext
|
||||
keycode 172 = XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause XF86AudioPlay XF86AudioPause
|
||||
keycode 173 = XF86AudioPrev NoSymbol XF86AudioPrev NoSymbol XF86AudioPrev XF86AudioPrev
|
||||
keycode 174 = XF86AudioStop XF86Eject XF86AudioStop XF86Eject XF86AudioStop XF86Eject XF86AudioStop XF86Eject
|
||||
keycode 175 = XF86AudioRecord NoSymbol XF86AudioRecord NoSymbol XF86AudioRecord XF86AudioRecord
|
||||
keycode 176 = XF86AudioRewind NoSymbol XF86AudioRewind NoSymbol XF86AudioRewind XF86AudioRewind
|
||||
keycode 177 = XF86Phone NoSymbol XF86Phone NoSymbol XF86Phone XF86Phone
|
||||
keycode 178 =
|
||||
keycode 179 = XF86Tools NoSymbol XF86Tools NoSymbol XF86Tools XF86Tools
|
||||
keycode 180 = XF86HomePage NoSymbol XF86HomePage NoSymbol XF86HomePage XF86HomePage
|
||||
keycode 181 = XF86Reload NoSymbol XF86Reload NoSymbol XF86Reload XF86Reload
|
||||
keycode 182 = XF86Close NoSymbol XF86Close NoSymbol XF86Close XF86Close
|
||||
keycode 183 =
|
||||
keycode 184 =
|
||||
keycode 185 = XF86ScrollUp NoSymbol XF86ScrollUp NoSymbol XF86ScrollUp XF86ScrollUp
|
||||
keycode 186 = XF86ScrollDown NoSymbol XF86ScrollDown NoSymbol XF86ScrollDown XF86ScrollDown
|
||||
keycode 187 = parenleft NoSymbol parenleft NoSymbol parenleft parenleft
|
||||
keycode 188 = parenright NoSymbol parenright NoSymbol parenright parenright
|
||||
keycode 189 = XF86New NoSymbol XF86New NoSymbol XF86New XF86New
|
||||
keycode 190 = Redo NoSymbol Redo NoSymbol Redo Redo
|
||||
keycode 191 = XF86Tools NoSymbol XF86Tools NoSymbol XF86Tools XF86Tools
|
||||
keycode 192 = XF86Launch5 NoSymbol XF86Launch5 NoSymbol XF86Launch5 XF86Launch5
|
||||
keycode 193 = XF86Launch6 NoSymbol XF86Launch6 NoSymbol XF86Launch6 XF86Launch6
|
||||
keycode 194 = XF86Launch7 NoSymbol XF86Launch7 NoSymbol XF86Launch7 XF86Launch7
|
||||
keycode 195 = XF86Launch8 NoSymbol XF86Launch8 NoSymbol XF86Launch8 XF86Launch8
|
||||
keycode 196 = XF86Launch9 NoSymbol XF86Launch9 NoSymbol XF86Launch9 XF86Launch9
|
||||
keycode 197 =
|
||||
keycode 198 = XF86AudioMicMute NoSymbol XF86AudioMicMute NoSymbol XF86AudioMicMute XF86AudioMicMute
|
||||
keycode 199 = XF86TouchpadToggle NoSymbol XF86TouchpadToggle NoSymbol XF86TouchpadToggle XF86TouchpadToggle
|
||||
keycode 200 = XF86TouchpadOn NoSymbol XF86TouchpadOn NoSymbol XF86TouchpadOn XF86TouchpadOn
|
||||
keycode 201 = XF86TouchpadOff NoSymbol XF86TouchpadOff NoSymbol XF86TouchpadOff XF86TouchpadOff
|
||||
keycode 202 =
|
||||
keycode 203 = Mode_switch NoSymbol Mode_switch NoSymbol Mode_switch Mode_switch
|
||||
keycode 204 = NoSymbol Alt_L NoSymbol Alt_L NoSymbol Alt_L NoSymbol Alt_L
|
||||
keycode 205 = NoSymbol Meta_L NoSymbol Meta_L NoSymbol Meta_L NoSymbol Meta_L
|
||||
keycode 206 = NoSymbol Super_L NoSymbol Super_L NoSymbol Super_L NoSymbol Super_L
|
||||
keycode 207 = NoSymbol Hyper_L NoSymbol Hyper_L NoSymbol Hyper_L NoSymbol Hyper_L
|
||||
keycode 208 = XF86AudioPlay NoSymbol XF86AudioPlay NoSymbol XF86AudioPlay XF86AudioPlay
|
||||
keycode 209 = XF86AudioPause NoSymbol XF86AudioPause NoSymbol XF86AudioPause XF86AudioPause
|
||||
keycode 210 = XF86Launch3 NoSymbol XF86Launch3 NoSymbol XF86Launch3 XF86Launch3
|
||||
keycode 211 = XF86Launch4 NoSymbol XF86Launch4 NoSymbol XF86Launch4 XF86Launch4
|
||||
keycode 212 = XF86LaunchB NoSymbol XF86LaunchB NoSymbol XF86LaunchB XF86LaunchB
|
||||
keycode 213 = XF86Suspend NoSymbol XF86Suspend NoSymbol XF86Suspend XF86Suspend
|
||||
keycode 214 = XF86Close NoSymbol XF86Close NoSymbol XF86Close XF86Close
|
||||
keycode 215 = XF86AudioPlay NoSymbol XF86AudioPlay NoSymbol XF86AudioPlay XF86AudioPlay
|
||||
keycode 216 = XF86AudioForward NoSymbol XF86AudioForward NoSymbol XF86AudioForward XF86AudioForward
|
||||
keycode 217 =
|
||||
keycode 218 = Print NoSymbol Print NoSymbol Print Print
|
||||
keycode 219 =
|
||||
keycode 220 = XF86WebCam NoSymbol XF86WebCam NoSymbol XF86WebCam XF86WebCam
|
||||
keycode 221 =
|
||||
keycode 222 =
|
||||
keycode 223 = XF86Mail NoSymbol XF86Mail NoSymbol XF86Mail XF86Mail
|
||||
keycode 224 = XF86Messenger NoSymbol XF86Messenger NoSymbol XF86Messenger XF86Messenger
|
||||
keycode 225 = XF86Search NoSymbol XF86Search NoSymbol XF86Search XF86Search
|
||||
keycode 226 = XF86Go NoSymbol XF86Go NoSymbol XF86Go XF86Go
|
||||
keycode 227 = XF86Finance NoSymbol XF86Finance NoSymbol XF86Finance XF86Finance
|
||||
keycode 228 = XF86Game NoSymbol XF86Game NoSymbol XF86Game XF86Game
|
||||
keycode 229 = XF86Shop NoSymbol XF86Shop NoSymbol XF86Shop XF86Shop
|
||||
keycode 230 =
|
||||
keycode 231 = Cancel NoSymbol Cancel NoSymbol Cancel Cancel
|
||||
keycode 232 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown XF86MonBrightnessDown
|
||||
keycode 233 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp XF86MonBrightnessUp
|
||||
keycode 234 = XF86AudioMedia NoSymbol XF86AudioMedia NoSymbol XF86AudioMedia XF86AudioMedia
|
||||
keycode 235 = XF86Display NoSymbol XF86Display NoSymbol XF86Display XF86Display
|
||||
keycode 236 = XF86KbdLightOnOff NoSymbol XF86KbdLightOnOff NoSymbol XF86KbdLightOnOff XF86KbdLightOnOff
|
||||
keycode 237 = XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDown NoSymbol XF86KbdBrightnessDown XF86KbdBrightnessDown
|
||||
keycode 238 = XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp NoSymbol XF86KbdBrightnessUp XF86KbdBrightnessUp
|
||||
keycode 239 = XF86Send NoSymbol XF86Send NoSymbol XF86Send XF86Send
|
||||
keycode 240 = XF86Reply NoSymbol XF86Reply NoSymbol XF86Reply XF86Reply
|
||||
keycode 241 = XF86MailForward NoSymbol XF86MailForward NoSymbol XF86MailForward XF86MailForward
|
||||
keycode 242 = XF86Save NoSymbol XF86Save NoSymbol XF86Save XF86Save
|
||||
keycode 243 = XF86Documents NoSymbol XF86Documents NoSymbol XF86Documents XF86Documents
|
||||
keycode 244 = XF86Battery NoSymbol XF86Battery NoSymbol XF86Battery XF86Battery
|
||||
keycode 245 = XF86Bluetooth NoSymbol XF86Bluetooth NoSymbol XF86Bluetooth XF86Bluetooth
|
||||
keycode 246 = XF86WLAN NoSymbol XF86WLAN NoSymbol XF86WLAN XF86WLAN
|
||||
keycode 247 =
|
||||
keycode 248 =
|
||||
keycode 249 =
|
||||
keycode 250 =
|
||||
keycode 251 =
|
||||
keycode 252 =
|
||||
keycode 253 =
|
||||
keycode 254 =
|
||||
keycode 255 =
|
44
files/.zeroclirc
Normal file
44
files/.zeroclirc
Normal file
|
@ -0,0 +1,44 @@
|
|||
## configure your server here
|
||||
server="https://paste.tobast.fr/"
|
||||
|
||||
## where should be located the js files
|
||||
#workingdir="/tmp/lib"
|
||||
|
||||
## how long your paste are valid by default
|
||||
expire="1week"
|
||||
|
||||
## enable syntax coloring
|
||||
#syntax=0
|
||||
|
||||
## where to store temporary file (used when reading from stdin)
|
||||
#tmpfile="/tmp/.zerocli.tmp"
|
||||
|
||||
## where to store js temporary file (/!\ it contains your encrypted message *AND* the key)
|
||||
#datafile="/tmp/.zerocli.data"
|
||||
|
||||
## where to store the curl output file
|
||||
#curloutput="/tmp/.zerocli.curl.out"
|
||||
|
||||
## where to store the curl error file
|
||||
#curlerr="/tmp/.zerocli.curl.err"
|
||||
|
||||
## the paste should be deleted as soon as it is read?
|
||||
#burn=0
|
||||
|
||||
## open a discussion?
|
||||
#open=0
|
||||
|
||||
## display logs?
|
||||
#quiet=0
|
||||
|
||||
## time to wait between two pastes
|
||||
#ttw=10
|
||||
|
||||
## group files when sending data
|
||||
#group=0
|
||||
|
||||
## which javascript engine we use
|
||||
#engine="/usr/bin/d8"
|
||||
|
||||
## engine options, for instance v8 needs "--" before the arguments to pass to the script
|
||||
#engineopts="-- v8"
|
Loading…
Reference in a new issue