Refact: move dotfiles to specific folder and split dotfile in 2
This commit is contained in:
68
files/dotfiles/Xdefaults
Normal file
68
files/dotfiles/Xdefaults
Normal file
@@ -0,0 +1,68 @@
|
||||
!*.font: xft:monospace:size=9
|
||||
! URxvt*font: xft:Ubuntu Mono derivative Powerline:size=9
|
||||
URxvt.font: xft:Ubuntu Mono derivative Powerline:pixelsize=14,xft:Droid Sans Mono for Powerline:pixelsize=14,xft:DejaVu Sans Mono:pixelsize=14,xft:Droid Sans Fallback:pixelsize=14,xft:FreeSans:pixelsize=14,xft:FreeSans:pixelsize=14
|
||||
URxvt*scrollBar: false
|
||||
|
||||
URxvt.perl-ext-common: default,fullscreen,resize-font
|
||||
! fullscreen with F11
|
||||
URxvt.keysym.F11: perl:fullscreen:switch
|
||||
|
||||
! `font-size` plugin
|
||||
URxvt.resize-font.smaller: C-Down
|
||||
URxvt.resize-font.bigger: C-Up
|
||||
|
||||
|
||||
! URxvt.foreground: #f6f3e8
|
||||
! URxvt.background: #242424
|
||||
! URxvt.cursorColor: #f6f3e8
|
||||
*.foreground: #fcfae1
|
||||
*.background: #404040
|
||||
*.cursorColor: #f595a7
|
||||
*.color0: #404040
|
||||
*.color8: #262626
|
||||
*.color1: #b9454b
|
||||
*.color9: #e75252
|
||||
*.color2: #bd8d46
|
||||
*.color10: #dea552
|
||||
*.color3: #f6e497
|
||||
*.color11: #d1c180
|
||||
*.color4: #f595a7
|
||||
*.color12: #d1a5ad
|
||||
*.color5: #d28e2a
|
||||
*.color13: #b47a24
|
||||
*.color6: #ebcd4f
|
||||
*.color14: #b9a659
|
||||
*.color7: #fcfae1
|
||||
*.color15: #f3f2e7
|
||||
|
||||
|
||||
! ! ANSI colours
|
||||
! ! black
|
||||
! URxvt.color0: #073642
|
||||
! URxvt.color8: #002636
|
||||
! ! red
|
||||
! URxvt.color1: #dc322f
|
||||
! URxvt.color9: #cb4b16
|
||||
! ! green
|
||||
! URxvt.color2: #859900
|
||||
! URxvt.color10: #586e75
|
||||
! ! yellow
|
||||
! URxvt.color3: #b58900
|
||||
! URxvt.color11: #657b83
|
||||
! ! blue
|
||||
! URxvt.color4: #268bd2
|
||||
! URxvt.color12: #839496
|
||||
! ! magenta
|
||||
! URxvt.color5: #d33682
|
||||
! URxvt.color13: #6c71c4
|
||||
! ! cyan
|
||||
! URxvt.color6: #2aa198
|
||||
! URxvt.color14: #93a1a1
|
||||
! ! white
|
||||
! URxvt.color7: #eee8d5
|
||||
! URxvt.color15: #fdf6e3
|
||||
|
||||
! Colored man
|
||||
URxvt.colorIT: #87af5f
|
||||
URxvt.colorBD: #d7d7d7
|
||||
URxvt.colorUL: #87afd7
|
3
files/dotfiles/gitconfig
Normal file
3
files/dotfiles/gitconfig
Normal file
@@ -0,0 +1,3 @@
|
||||
[user]
|
||||
name = Bertrand Benjamin
|
||||
email = benjamin.bertrand@opytex.org
|
68
files/dotfiles/mbsyncrc
Normal file
68
files/dotfiles/mbsyncrc
Normal file
@@ -0,0 +1,68 @@
|
||||
IMAPAccount opytex
|
||||
Host imap.mailfence.com
|
||||
User Takanuva
|
||||
PassCmd "pass show mail/mailfence/Takanuva | head -n 1"
|
||||
SSLType IMAPS
|
||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
IMAPStore opytex-remote
|
||||
Account opytex
|
||||
|
||||
MaildirStore opytex-local
|
||||
Subfolders Verbatim
|
||||
Path ~/.mail/opytex/
|
||||
Inbox ~/.mail/opytex/INBOX
|
||||
|
||||
Channel opytex
|
||||
Master :opytex-remote:
|
||||
Slave :opytex-local:
|
||||
Create Both
|
||||
Expunge Both
|
||||
Patterns *
|
||||
SyncState *
|
||||
|
||||
IMAPAccount lafrite26
|
||||
Host imap.gmail.com
|
||||
User lafrite26
|
||||
PassCmd "pass show mail/lafrite26@gmail.com | head -n 1"
|
||||
SSLType IMAPS
|
||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
IMAPStore lafrite26-remote
|
||||
Account lafrite26
|
||||
|
||||
MaildirStore lafrite26-local
|
||||
Subfolders Verbatim
|
||||
Path ~/.mail/lafrite26/
|
||||
Inbox ~/.mail/lafrite26/INBOX
|
||||
|
||||
Channel lafrite26
|
||||
Master :lafrite26-remote:
|
||||
Slave :lafrite26-local:
|
||||
Create Both
|
||||
Expunge Both
|
||||
Patterns *
|
||||
SyncState *
|
||||
|
||||
IMAPAccount benjamin.jm.bertrand
|
||||
Host imap.gmail.com
|
||||
User benjamin.jm.bertrand
|
||||
PassCmd "pass show mail/benjamin.jm.bertrand@gmail.com | head -n 1"
|
||||
SSLType IMAPS
|
||||
CertificateFile /etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
IMAPStore benjamin.jm.bertrand-remote
|
||||
Account benjamin.jm.bertrand
|
||||
|
||||
MaildirStore benjamin.jm.bertrand-local
|
||||
Subfolders Verbatim
|
||||
Path ~/.mail/benjamin.jm.bertrand/
|
||||
Inbox ~/.mail/benjamin.jm.bertrand/INBOX
|
||||
|
||||
Channel benjamin.jm.bertrand
|
||||
Master :benjamin.jm.bertrand-remote:
|
||||
Slave :benjamin.jm.bertrand-local:
|
||||
Create Both
|
||||
Expunge Both
|
||||
Patterns *
|
||||
SyncState *
|
654
files/dotfiles/moc/config
Executable file
654
files/dotfiles/moc/config
Executable file
@@ -0,0 +1,654 @@
|
||||
# This is a configuration file for the MOC player. It should be named
|
||||
# 'config' and placed in the ~/.moc directory. As this file can specify
|
||||
# commands which invoke other applications, MOC will refuse to start if it
|
||||
# is not owned by either root or the current user, or if it is writable by
|
||||
# anyone other than it's owner. All options are given with their default
|
||||
# values, and therefore commented.
|
||||
|
||||
# Comments begin with '#'.
|
||||
# You can use quotes and escape ('\') in parameters.
|
||||
#
|
||||
# You can have variable values substituted by enclosing the variable name
|
||||
# as "${...}". (This only applies to the portion of the option following
|
||||
# the ' ='.) Variables are substituted first from the environment then,
|
||||
# if not found, from the configuration options. (Note that the value of
|
||||
# a configuration option substituted is that which it has at the time the
|
||||
# substitution variable is encountered.) If there is a naming conflict
|
||||
# between an environment and configuration variable, you may be able to
|
||||
# resolve it by using lowercase as the environment variable matches are
|
||||
# case-sensitive whereas the configuration variables are not.
|
||||
#
|
||||
# You can also use the form "${...:-...}" where the value in the second
|
||||
# position will be substituted if the variable name given in the first
|
||||
# position is unset or null.
|
||||
#
|
||||
# So, for example:
|
||||
#
|
||||
# MusicDir = /music/${USER:-public}
|
||||
# Fastdir1 = ${MusicDir}/mp3/rock
|
||||
# Fastdir2 = ${MusicDir}/mp3/electronic
|
||||
# Fastdir3 = ${MusicDir}/mp3/rap
|
||||
# Fastdir4 = ${MusicDir}/mp3/etc
|
||||
#
|
||||
# Variable names are limited to those accepted by the BASH shell; that
|
||||
# is, those comprising the upper- and lowercase ASCII characters, digits
|
||||
# and the underscore.
|
||||
#
|
||||
# If you need to use the "${" sequence for any other purpose, write "$${"
|
||||
# and it will be replaced by "${" and not treated as a substitution.
|
||||
#
|
||||
# Some options take lists of strings as their values. The strings are
|
||||
# separated by colons. Additional strings can be appended to the list
|
||||
# using "+ =" in place of a plain "=" to assign the value. For an example,
|
||||
# see the XTerms option.
|
||||
#
|
||||
# You can override any configuration option when you run MOC using the
|
||||
# '-O' command line option:
|
||||
#
|
||||
# mocp -O AutoNext =no -O messagelingertime=1 -O XTerms+=xxt:xwt
|
||||
#
|
||||
# This command line option can be repeated as many times as needed and
|
||||
# the configuration option name is not case sensitive. (Note that MOC
|
||||
# does not perform variable substitution on the value of such overridden
|
||||
# configuration options.) Most option values are set before the
|
||||
# configuration file is processed (which allows the new values to be
|
||||
# picked up by substitutions), however list-valued options are overridden
|
||||
# afterwards (which gives the choice of whether the configured values are
|
||||
# replaced or added to).
|
||||
|
||||
# Remember that the client and server are separate processes and the
|
||||
# server will retain the configuration values formed from the environment
|
||||
# within which it was originally started.
|
||||
|
||||
# Show file titles (title, author, album) instead of file names?
|
||||
#ReadTags = yes
|
||||
|
||||
# In which directory do you store your music files? If you specify it
|
||||
# you will be able to jump straight to this directory with the '-m'
|
||||
# parameter or the 'm' command. This can also point to a playlist.
|
||||
#
|
||||
# Example: MusicDir = "/home/joe/music"
|
||||
#
|
||||
MusicDir = "/media/documents/musique/"
|
||||
|
||||
# Start in the music directory by default? If set to 'no', start
|
||||
# in the current directory by default. A single directory on
|
||||
# the command line takes precedence.
|
||||
#StartInMusicDir = no
|
||||
|
||||
# How to sort? FileName is the option's only value for now.
|
||||
#Sort = FileName
|
||||
|
||||
# Show errors in the streams (for example, broken frames in MP3 files)?
|
||||
#ShowStreamErrors = no
|
||||
|
||||
# Ignore CRC errors in MP3 files? Most players do that, so the default
|
||||
# value is 'yes'.
|
||||
#MP3IgnoreCRCErrors = yes
|
||||
|
||||
# Set playback toggles.
|
||||
#Repeat = no
|
||||
#Shuffle = no
|
||||
#AutoNext = yes
|
||||
|
||||
# Default FormatString:
|
||||
#
|
||||
# %n - Track number
|
||||
# %a - Artist
|
||||
# %A - Album
|
||||
# %t - Title
|
||||
# %(X:TRUE:FALSE) - Ternary expression: if X exists, do TRUE,
|
||||
# otherwise FALSE. The escape character must
|
||||
# be doubled (i.e., '\\'). (See zshmisc
|
||||
# documentation for more information.)
|
||||
#
|
||||
#FormatString = "%(n:%n :)%(a:%a - :)%(t:%t:)%(A: \(%A\):)"
|
||||
|
||||
# Input and ouput buffer sizes (in kilobytes).
|
||||
#InputBuffer = 512 # Minimum value is 32KB
|
||||
#OutputBuffer = 512 # Minimum value is 128KB
|
||||
|
||||
# How much to fill the input buffer before playing (in kilobytes)?
|
||||
# This can't be greater than the value of InputBuffer. While this has
|
||||
# a positive effect for network streams, it also causes the broadcast
|
||||
# audio to be delayed.
|
||||
#Prebuffering = 64
|
||||
|
||||
# Use this HTTP proxy server for internet streams. If not set, the
|
||||
# environment variables http_proxy and ALL_PROXY will be used if present.
|
||||
#
|
||||
# Format: HTTPProxy = PROXY_NAME:PORT
|
||||
#
|
||||
#HTTPProxy =
|
||||
|
||||
# Sound driver - OSS, ALSA, JACK, SNDIO (on OpenBSD) or null (only for
|
||||
# debugging). You can enter more than one driver as a colon-separated
|
||||
# list. The first working driver will be used.
|
||||
#SoundDriver = JACK:ALSA:OSS
|
||||
|
||||
# Jack output settings.
|
||||
#JackClientName = "moc"
|
||||
#JackStartServer = no
|
||||
#JackOutLeft = "system:playback_1"
|
||||
#JackOutRight = "system:playback_2"
|
||||
|
||||
# OSS output settings.
|
||||
#OSSDevice = /dev/dsp
|
||||
#OSSMixerDevice = /dev/mixer
|
||||
#OSSMixerChannel1 = pcm # 'pcm', 'master' or 'speaker'
|
||||
#OSSMixerChannel2 = master # 'pcm', 'master' or 'speaker'
|
||||
|
||||
# ALSA output settings.
|
||||
#ALSADevice = default
|
||||
#ALSAMixer1 = PCM
|
||||
#ALSAMixer2 = Master
|
||||
|
||||
# Save software mixer state?
|
||||
# If enabled, a file 'softmixer' will be created in '~/.moc/' storing the
|
||||
# mixersetting set when the server is shut down.
|
||||
# Note that there is a "hidden" 'Amplification' setting in that file.
|
||||
# Amplification (0-200) is used to scale the mixer setting (0-100). This
|
||||
# results in a higher signal amplitude but may also produce clipping.
|
||||
#Softmixer_SaveState = yes
|
||||
|
||||
# Save equalizer state?
|
||||
# If enabled, a file 'equalizer' will be created in '~/.moc/' storing the
|
||||
# equalizer settings when the server is shut down.
|
||||
# Note that there is a "hidden" 'Mixin' setting in that file.
|
||||
# Mixin (0.0-1.0) is used to determine how much of the original signal is
|
||||
# used after equalizing. 0 means to only use the equalized sound, while 1
|
||||
# effectively disabled the mixer. The default is 0.25.
|
||||
#Equalizer_SaveState = yes
|
||||
|
||||
# Show files with dot at the beginning?
|
||||
#ShowHiddenFiles = no
|
||||
|
||||
# Hide file name extensions?
|
||||
#HideFileExtension = no
|
||||
|
||||
# Show file format in menu?
|
||||
#ShowFormat = yes
|
||||
|
||||
# Show file time in menu? Possible values: 'yes', 'no' and 'IfAvailable'
|
||||
# (meaning show the time only when it is already known, which often works
|
||||
# faster).
|
||||
#ShowTime = IfAvailable
|
||||
|
||||
# Show time played as a percentage in the time progress bar.
|
||||
#ShowTimePercent = no
|
||||
|
||||
# Values of the TERM environment variable which are deemed to be xterms.
|
||||
#XTerms = xterm
|
||||
#XTerms + = xterm-colour:xterm-color
|
||||
#XTerms + = xterm-256colour:xterm-256color
|
||||
#XTerms + = rxvt:rxvt-unicode
|
||||
#XTerms + = rxvt-unicode-256colour:rxvt-unicode-256color
|
||||
#XTerms + = eterm
|
||||
|
||||
# Theme file to use. This can be absolute path or relative to
|
||||
# /usr/share/moc/themes/ (depends on installation prefix) or
|
||||
# ~/.moc/themes/ .
|
||||
#
|
||||
# Example: Theme = laras_theme
|
||||
#
|
||||
Theme = "moca_theme"
|
||||
|
||||
# The theme used when running on an xterm.
|
||||
#
|
||||
# Example: XTermTheme = transparent-background
|
||||
#
|
||||
#XTermTheme =
|
||||
|
||||
# Should MOC try to autoload the default lyrics file for an audio? (The
|
||||
# default lyrics file is a text file with the same file name as the audio
|
||||
# file name with any trailing "extension" removed.)
|
||||
#AutoLoadLyrics = yes
|
||||
|
||||
# MOC directory (where pid file, socket and state files are stored).
|
||||
# You can use ~ at the beginning.
|
||||
#MOCDir = ~/.moc
|
||||
|
||||
# Use mmap() to read files. mmap() is much slower on NFS.
|
||||
#UseMMap = no
|
||||
|
||||
# Use MIME to identify audio files. This can make for slower loading
|
||||
# of playlists but is more accurate than using "extensions".
|
||||
#UseMimeMagic = no
|
||||
|
||||
# Assume this encoding for ID3 version 1/1.1 tags (MP3 files). Unlike
|
||||
# ID3v2, UTF-8 is not used here and MOC can't guess how tags are encoded.
|
||||
# Another solution is using librcc (see the next option). This option is
|
||||
# ignored if UseRCC is set to 'yes'.
|
||||
#ID3v1TagsEncoding = WINDOWS-1250
|
||||
|
||||
# Use librcc to fix ID3 version 1/1.1 tags encoding.
|
||||
#UseRCC = yes
|
||||
|
||||
# Use librcc to filenames and directory names encoding.
|
||||
#UseRCCForFilesystem = yes
|
||||
|
||||
# When this option is set the player assumes that if the encoding of
|
||||
# ID3v2 is set to ISO-8859-1 then the ID3v1TagsEncoding is actually
|
||||
# that and applies appropriate conversion.
|
||||
#EnforceTagsEncoding = no
|
||||
|
||||
# Enable the conversion of filenames from the local encoding to UTF-8.
|
||||
#FileNamesIconv = no
|
||||
|
||||
# Enable the conversion of the xterm title from UTF-8 to the local encoding.
|
||||
#NonUTFXterm = no
|
||||
|
||||
# Remember the playlist after exit?
|
||||
#SavePlaylist = yes
|
||||
|
||||
# When using more than one client (interface) at a time, do they share
|
||||
# the playlist?
|
||||
#SyncPlaylist = yes
|
||||
|
||||
# Choose a keymap file (relative to '~/.moc/' or using an absolute path).
|
||||
# An annotated example keymap file is included ('keymap.example').
|
||||
#
|
||||
# Example: Keymap = my_keymap
|
||||
#
|
||||
Keymap = keymap
|
||||
|
||||
# Use ASCII rather than graphic characters for drawing lines. This
|
||||
# helps on some terminals.
|
||||
#ASCIILines = no
|
||||
|
||||
# FastDirs, these allow you to jump directly to a directory, the key
|
||||
# bindings are in the keymap file.
|
||||
#
|
||||
# Examples: Fastdir1 = /mp3/rock
|
||||
# Fastdir2 = /mp3/electronic
|
||||
# Fastdir3 = /mp3/rap
|
||||
# Fastdir4 = /mp3/etc
|
||||
#
|
||||
#Fastdir1 =
|
||||
#Fastdir2 =
|
||||
#Fastdir3 =
|
||||
#Fastdir4 =
|
||||
#Fastdir5 =
|
||||
#Fastdir6 =
|
||||
#Fastdir7 =
|
||||
#Fastdir8 =
|
||||
#Fastdir9 =
|
||||
#Fastdir10 =
|
||||
|
||||
# How fast to seek (in number of seconds per keystroke). The first
|
||||
# option is for normal seek and the second for silent seek.
|
||||
#SeekTime = 1
|
||||
#SilentSeekTime = 5
|
||||
|
||||
# PreferredDecoders allows you to specify which decoder should be used
|
||||
# for any given audio format. It is a colon-separated list in which
|
||||
# each entry is of the general form 'code(decoders)', where 'code'
|
||||
# identifies the audio format and 'decoders' is a comma-separated list
|
||||
# of decoders in order of preference.
|
||||
#
|
||||
# The audio format identifier may be either a filename extension or a
|
||||
# MIME media type. If the latter, the format is 'type/subtype' (e.g.,
|
||||
# 'audio/flac'). Because different systems may give different MIME
|
||||
# media types, any 'x-' prefix of the subtype is ignored both here and
|
||||
# in the actual file MIME type (so all combinations of 'audio/flac' and
|
||||
# 'audio/x-flac' match each other).
|
||||
#
|
||||
# For Internet streams the matching is done on MIME media type and on
|
||||
# actual content. For files the matches are made on MIME media type
|
||||
# (if the 'UseMimeMagic' option is set) and on filename extension. The
|
||||
# MIME media type of a file is not determined until the first entry for
|
||||
# MIME is encountered in the list.
|
||||
#
|
||||
# The matching is done in the order of appearance in the list with any
|
||||
# entries added from the command line being matched before those listed
|
||||
# here. Therefore, if you place all filename extension entries before
|
||||
# all MIME entries you will speed up MOC's processing of directories
|
||||
# (which could be significant for remote file systems).
|
||||
#
|
||||
# The decoder list may be empty, in which case no decoders will be used
|
||||
# for files (and files with that audio format ignored) while Internet
|
||||
# streams will be assessed on the actual content. Any decoder position
|
||||
# may contain an asterisk, in which case any decoder not otherwise listed
|
||||
# which can handle the audio format will be used. It is not an error to
|
||||
# list the same decoder twice, but neither does it make sense to do so.
|
||||
#
|
||||
# If you have a mix of audio and non-audio files in your directories, you
|
||||
# may wish to include entries at top of the list which ignore non-audio
|
||||
# files by extension.
|
||||
#
|
||||
# In summary, the PreferredDecoders option provides fine control over the
|
||||
# type of matching which is performed (filename extension, MIME media
|
||||
# type and streamed media content) and which decoder(s) (if any) are used
|
||||
# based on the option's list entries and their ordering.
|
||||
#
|
||||
# Examples: aac(aac,ffmpeg) first try FAAD2 for AACs then FFmpeg
|
||||
# mp3() ignore MP3 files
|
||||
# wav(*,sndfile) use sndfile for WAV as a last resort
|
||||
# ogg(vorbis,*):flac(flac,*) try Xiph decoders first
|
||||
# ogg():audio/ogg() ignore OGG files, and
|
||||
# force Internet selection by content
|
||||
# gz():html() ignore some non-audio files
|
||||
#
|
||||
# Any unspecified audio formats default to trying all decoders.
|
||||
# Any unknown (or misspelt) drivers are ignored.
|
||||
# All names are case insensitive.
|
||||
# The default setting reflects the historical situation modified by
|
||||
# the experience of users.
|
||||
#
|
||||
#PreferredDecoders = aac(aac,ffmpeg):m4a(ffmpeg)
|
||||
#PreferredDecoders += mpc(musepack,*,ffmpeg):mpc8(musepack,*,ffmpeg)
|
||||
#PreferredDecoders += sid(sidplay2):mus(sidplay2)
|
||||
#PreferredDecoders += wav(sndfile,*,modplug,ffmpeg)
|
||||
#PreferredDecoders += wv(wavpack,*,ffmpeg)
|
||||
#PreferredDecoders += audio/aac(aac):audio/aacp(aac):audio/m4a(ffmpeg)
|
||||
#PreferredDecoders += audio/wav(sndfile,*,modplug)
|
||||
|
||||
# The following PreferredDecoders attempt to handle the ambiguity surrounding
|
||||
# container types such as OGG for files. The first two entries will force
|
||||
# a local file to the correct decoder (assuming the .ogg file contains Vorbis
|
||||
# audio), while the MIME media types will cause Internet audio streams to
|
||||
# be assessed on content (which may be either Vorbis or Speex).
|
||||
#
|
||||
#PreferredDecoders += ogg(vorbis,ffmpeg):oga(vorbis,ffmpeg):ogv(ffmpeg)
|
||||
#PreferredDecoders += opus(ffmpeg)
|
||||
#PreferredDecoders += spx(speex)
|
||||
#PreferredDecoders += application/ogg(vorbis):audio/ogg(vorbis)
|
||||
|
||||
# Which resampling method to use. There are a few methods of resampling
|
||||
# sound supported by libresamplerate. The default is 'Linear') which is
|
||||
# also the fastest. A better description can be found at:
|
||||
#
|
||||
# http://www.mega-nerd.com/libsamplerate/api_misc.html#Converters
|
||||
#
|
||||
# but briefly, the following methods are based on bandlimited interpolation
|
||||
# and are higher quality, but also slower:
|
||||
#
|
||||
# SincBestQuality - really slow (I know you probably have an xx GHz
|
||||
# processor, but it's still not enough to not see
|
||||
# this in the top output :) The worst case
|
||||
# Signal-to-Noise Ratio is 97dB.
|
||||
# SincMediumQuality - much faster.
|
||||
# SincFastest - the fastest bandlimited interpolation.
|
||||
#
|
||||
# And these are lower quality, but much faster methods:
|
||||
#
|
||||
# ZeroOrderHold - really poor quality, but it's really fast.
|
||||
# Linear - a bit better and a bit slower.
|
||||
#
|
||||
#ResampleMethod = Linear
|
||||
|
||||
# Always use this sample rate (in Hz) when opening the audio device (and
|
||||
# resample the sound if necessary). When set to 0 the device is opened
|
||||
# with the file's rate.
|
||||
#ForceSampleRate = 0
|
||||
|
||||
# By default, even if the sound card reports that it can output 24bit samples
|
||||
# MOC converts 24bit PCM to 16bit. Setting this option to 'yes' allows MOC
|
||||
# to use 24bit output. (The MP3 decoder, for example, uses this format.)
|
||||
# This is disabled by default because there were reports that it prevents
|
||||
# MP3 files from playing on some soundcards.
|
||||
#Allow24bitOutput = no
|
||||
|
||||
# Use realtime priority for output buffer thread. This will prevent gaps
|
||||
# while playing even with heavy load. The user who runs MOC must have
|
||||
# permissions to set such a priority. This could be dangerous, because it
|
||||
# is possible that a bug in MOC will freeze your computer.
|
||||
#UseRealtimePriority = no
|
||||
|
||||
# The number of audio files for which MOC will cache tags. When this limit
|
||||
# is reached, file tags are discarded on a least recently used basis (with
|
||||
# one second resolution). You can disable the cache by giving it a size of
|
||||
# zero. Note that if you decrease the cache size below the number of items
|
||||
# currently in the cache, the number will not decrease immediately (if at
|
||||
# all).
|
||||
#TagsCacheSize = 256
|
||||
|
||||
# Number items in the playlist.
|
||||
#PlaylistNumbering = yes
|
||||
|
||||
# Main window layouts can be configured. You can change the position and
|
||||
# size of the menus (directory and playlist). You have three layouts and
|
||||
# can switch between then using the 'l' key (standard mapping). By default,
|
||||
# only two layouts are configured.
|
||||
#
|
||||
# The format is as follows:
|
||||
#
|
||||
# - Each layout is described as a list of menu entries.
|
||||
# - Each menu entry is of the form:
|
||||
#
|
||||
# menu(position_x, position_y, width, height)
|
||||
#
|
||||
# where 'menu' is either 'directory' or 'playlist'.
|
||||
# - The parameters define position and size of the menu. They can
|
||||
# be absolute numbers (like 10) or a percentage of the screen size
|
||||
# (like 45%).
|
||||
# - 'width' and 'height' can have also value of 'FILL' which means
|
||||
# fill the screen from the menu's position to the border.
|
||||
# - Menus may overlap.
|
||||
#
|
||||
# You must describe at least one menu (default is to fill the whole window).
|
||||
# There must be at least one layout (Layout1) defined; others can be empty.
|
||||
#
|
||||
# Example: Layout1 = playlist(50%,50%,50%,50%)
|
||||
# Layout2 = ""
|
||||
# Layout3 = ""
|
||||
#
|
||||
# Just one layout, the directory will occupy the whole
|
||||
# screen, the playlist will have 1/4 of the screen size
|
||||
# and be positioned at lower right corner. (Note that
|
||||
# because the playlist will be hidden by the directory
|
||||
# you will have to use the TAB key to make the playlist
|
||||
# visible.)
|
||||
#
|
||||
# Example: Layout1 = playlist(0,0,100%,10):directory(0,10,100%,FILL)
|
||||
#
|
||||
# The screen is split into two parts: playlist at the top
|
||||
# and the directory menu at the bottom. Playlist will
|
||||
# occupy 10 lines and the directory menu the rest.
|
||||
#
|
||||
#Layout1 = directory(0,0,50%,100%):playlist(50%,0,FILL,100%)
|
||||
#Layout2 = directory(0,0,100%,100%):playlist(0,0,100%,100%)
|
||||
#Layout3 = ""
|
||||
|
||||
# When the song changes, should the menu be scrolled so that the currently
|
||||
# played file is visible?
|
||||
#FollowPlayedFile = yes
|
||||
|
||||
# What to do if the interface was started and the server is already playing
|
||||
# something from the playlist? If CanStartInPlaylist is set to 'yes', the
|
||||
# interface will switch to the playlist. When set to 'no' it will start
|
||||
# from the last directory.
|
||||
#CanStartInPlaylist = yes
|
||||
|
||||
# Executing external commands (1 - 10) invoked with key commands (F1 - F10
|
||||
# by default).
|
||||
#
|
||||
# Some arguments are substituted before executing:
|
||||
#
|
||||
# %f - file path
|
||||
# %i - title made from tags
|
||||
# %S - start block mark (in seconds)
|
||||
# %E - end block mark (in seconds)
|
||||
#
|
||||
# Data from tags can also be substituted:
|
||||
#
|
||||
# %t - title
|
||||
# %a - album
|
||||
# %r - artist
|
||||
# %n - track
|
||||
# %m - time of the file (in seconds)
|
||||
#
|
||||
# The parameters above apply to the currently selected file. If you change
|
||||
# them to capital letters, they are taken from the file currently playing.
|
||||
#
|
||||
# Programs are run using execv(), not a shell, so you can't do things like
|
||||
# redirecting the output to a file. The command string is split using blank
|
||||
# characters as separators; the first element is the command to be executed
|
||||
# and the rest are its parameters, so if you use "echo Playing: %I" we run
|
||||
# program 'echo' (from $PATH) with 2 parameters: the string 'Playing:' and
|
||||
# the title of the file currently playing. Even if the title contains
|
||||
# spaces, it's still one parameter and it's safe if it contains `rm -rf /`.
|
||||
#
|
||||
# Examples: ExecCommand1 = "cp %f /mnt/usb_drive"
|
||||
# ExecCommand2 = "/home/joe/now_playing %I"
|
||||
#
|
||||
#ExecCommand1 =
|
||||
#ExecCommand2 =
|
||||
#ExecCommand3 =
|
||||
#ExecCommand4 =
|
||||
#ExecCommand5 =
|
||||
#ExecCommand6 =
|
||||
#ExecCommand7 =
|
||||
#ExecCommand8 =
|
||||
#ExecCommand9 =
|
||||
#ExecCommand10 =
|
||||
|
||||
# Display the cursor in the line with the selected file. Some braille
|
||||
# readers (the Handy Tech modular series ZMU 737, for example) use the
|
||||
# cursor to focus and can make use of it to present the file line even
|
||||
# when other fields are changing.
|
||||
#UseCursorSelection = no
|
||||
|
||||
# Set the terminal title when running under xterm.
|
||||
#SetXtermTitle = yes
|
||||
|
||||
# Set the terminal title when running under screen.
|
||||
#SetScreenTitle = yes
|
||||
|
||||
# Display full paths instead of just file names in the playlist.
|
||||
#PlaylistFullPaths = yes
|
||||
|
||||
# The following setting describes how block markers are displayed in
|
||||
# the play time progress bar. Its value is a string of exactly three
|
||||
# characters. The first character is displayed in a position which
|
||||
# corresponds to the time marked as the start of a block and the last
|
||||
# character to the time marked as the end of the block. The middle
|
||||
# character is displayed instead if both the start and the end of the block
|
||||
# would fall in the same position (within the resolution of the interface).
|
||||
# You can turn off the displaying of these block marker positions by using
|
||||
# three space characters.
|
||||
#BlockDecorators = "`\"'"
|
||||
|
||||
# How long (in seconds) to leave a message displayed on the screen.
|
||||
# Setting this to a high value allows you to scroll through the messages
|
||||
# using the 'hide_message' key. Setting it to zero means you'll have to
|
||||
# be quick to see any message at all. Any new messages will be queued up
|
||||
# and displayed after the current message's linger time expires.
|
||||
#MessageLingerTime = 3
|
||||
|
||||
# Does MOC display a prefix on delayed messages indicating
|
||||
# the number of queued messages still to be displayed?
|
||||
#PrefixQueuedMessages = yes
|
||||
|
||||
# String to append to the queued message count if any
|
||||
# error messages are still waiting to be displayed.
|
||||
#ErrorMessagesQueued = "!"
|
||||
|
||||
# Self-describing ModPlug options (with 'yes' or 'no' values).
|
||||
#ModPlug_Oversampling = yes
|
||||
#ModPlug_NoiseReduction = yes
|
||||
#ModPlug_Reverb = no
|
||||
#ModPlug_MegaBass = no
|
||||
#ModPlug_Surround = no
|
||||
|
||||
# ModPlug resampling mode.
|
||||
# Valid values are:
|
||||
#
|
||||
# FIR - 8 tap fir filter (extremely high quality)
|
||||
# SPLINE - Cubic spline interpolation (high quality)
|
||||
# LINEAR - Linear interpolation (fast, good quality)
|
||||
# NEAREST - No interpolation (very fast, extremely bad sound quality)
|
||||
#
|
||||
#ModPlug_ResamplingMode = FIR
|
||||
|
||||
# Other self-describing ModPlug audio characteristic options.
|
||||
# (Note that the 32 bit sample size seems to be buggy.)
|
||||
#ModPlug_Channels = 2 # 1 or 2 channels
|
||||
#ModPlug_Bits = 16 # 8, 16 or 32 bits
|
||||
#ModPlug_Frequency = 44100 # 11025, 22050, 44100 or 48000 Hz
|
||||
#ModPlug_ReverbDepth = 0 # 0 (quiet) to 100 (loud)
|
||||
#ModPlug_ReverbDelay = 0 # Delay in ms (usually 40-200ms)
|
||||
#ModPlug_BassAmount = 0 # 0 (quiet) to 100 (loud).
|
||||
#ModPlug_BassRange = 10 # Cutoff in Hz (10-100).
|
||||
#ModPlug_SurroundDepth = 0 # Surround level 0(quiet)-100(heavy).
|
||||
#ModPlug_SurroundDelay = 0 # Surround delay in ms, usually 5-40ms.
|
||||
#ModPlug_LoopCount = 0 # 0 (never), n (times) or -1 (forever)
|
||||
|
||||
# Self-describing TiMidity audio characteristic options.
|
||||
#TiMidity_Rate = 44100 # Between 8000 and 48000
|
||||
#TiMidity_Bits = 16 # 8 or 16
|
||||
#TiMidity_Channels = 2 # 1 or 2
|
||||
#TiMidity_Volume = 100 # 0 to 800
|
||||
|
||||
# You can setup a TiMidity-Config-File here.
|
||||
# Leave it unset to use library defaults (/etc/timidity.cfg mostly).
|
||||
# Setting it to 'yes' also uses the library defaults.
|
||||
# Set it to 'no' if you don't have any configuration file.
|
||||
# Otherwise set it to the name of a specific file.
|
||||
#TiMidity_Config =
|
||||
|
||||
# Self-describing SidPlay2 audio characteristic options.
|
||||
#SidPlay2_DefaultSongLength = 180 # If not in database (in seconds)
|
||||
#SidPlay2_MinimumSongLength = 0 # Play at least n (in seconds)
|
||||
#SidPlay2_Frequency = 44100 # 4000 to 48000
|
||||
#SidPlay2_Bits = 16 # 8 or 16
|
||||
#SidPlay2_Optimisation = 0 # 0 (worst quality) to 2 (best quality)
|
||||
|
||||
# Set path to a HVSC-compatible database (if not set, database is disabled).
|
||||
#SidPlay2_Database =
|
||||
|
||||
# SidPlay2 playback Mode:
|
||||
#
|
||||
# "M": Mono (best for many SIDs)
|
||||
# "S": Stereo
|
||||
# "L"/"R": Left / Right
|
||||
#
|
||||
#SidPlay2_PlayMode = "M"
|
||||
|
||||
# Use start-song information from SID ('yes') or start at first song
|
||||
# ('no'). Songs before the start-song won't be played. (Note that this
|
||||
# option previously took the values 1 and 0; these are now deprecated
|
||||
# in favour of 'yes' and 'no'.)
|
||||
#SidPlay2_StartAtStart = yes
|
||||
|
||||
# Play sub-tunes. (Note that this option previously took the values 1
|
||||
# and 0; these are now deprecated in favour of 'yes' and 'no'.)
|
||||
#SidPlay2_PlaySubTunes = yes
|
||||
|
||||
# Run the OnSongChange command when a new song starts playing.
|
||||
# Specify the full path (i.e. no leading '~') of an executable to run.
|
||||
# Arguments will be passed, and you can use the following escapes:
|
||||
#
|
||||
# %a artist
|
||||
# %r album
|
||||
# %f filename
|
||||
# %t title
|
||||
# %n track
|
||||
# %d file duration in XX:YY form
|
||||
# %D file duration, number of seconds
|
||||
#
|
||||
# No pipes/redirects can be used directly, but writing a shell script
|
||||
# can do the job.
|
||||
#
|
||||
# Example: OnSongChange = "/home/jack/.moc/myscript %a %r"
|
||||
#
|
||||
#OnSongChange =
|
||||
|
||||
# If RepeatSongChange is 'yes' then MOC will execute the command every time
|
||||
# a song starts playing regardless of whether or not it is just repeating.
|
||||
# Otherwise the command will only be executed when a different song is
|
||||
# started.
|
||||
#RepeatSongChange = no
|
||||
|
||||
# Run the OnStop command (full path, no arguments) when MOC changes state
|
||||
# to stopped (i.e., when user stopped playing or changes a song).
|
||||
#OnStop = "/home/jack/.moc/myscript_on_stop"
|
||||
|
||||
# This option determines which song to play after finishing all the songs
|
||||
# in the queue. Setting this to 'yes' causes MOC to play the song which
|
||||
# follows the song being played before queue playing started. If set to
|
||||
# 'no', MOC will play the song following the last song in the queue if it
|
||||
# is in the playlist. The default is 'yes' because this is the way other
|
||||
# players usually behave. (Note that this option previously took the
|
||||
# values 1 and 0; these are now deprecated in favour of 'yes' and 'no'.)
|
||||
#QueueNextSongReturn = yes
|
2
files/dotfiles/moc/equalizer
Normal file
2
files/dotfiles/moc/equalizer
Normal file
@@ -0,0 +1,2 @@
|
||||
Active: 1
|
||||
Mixin: 0.250000
|
183
files/dotfiles/moc/keymap
Normal file
183
files/dotfiles/moc/keymap
Normal file
@@ -0,0 +1,183 @@
|
||||
# This is the example keymap file for MOC. You can define your own key
|
||||
# bindings for MOC commands by creating your own keymap file and setting
|
||||
# the 'Keymap' option in ~/.moc/config.
|
||||
#
|
||||
# The format of this file is:
|
||||
#
|
||||
# - Lines beginning with # are comments.
|
||||
# - Blank lines are ignored.
|
||||
# - Every other line is expected to be in one of the formats:
|
||||
#
|
||||
# COMMAND = [KEY ...]
|
||||
# COMMAND += KEY ...
|
||||
#
|
||||
# The KEY can be:
|
||||
#
|
||||
# - Just a char, like i, L, ", *
|
||||
# - CTRL-KEY sequence: ^k (CTRL-k), ^4
|
||||
# - ALT-KEY (meta) sequence: M-j (ALT-j), M-/
|
||||
# - Special keys: DOWN, UP
|
||||
# LEFT, RIGHT
|
||||
# HOME, END
|
||||
# BACKSPACE
|
||||
# INS, DEL
|
||||
# ENTER
|
||||
# PAGE_UP, PAGE_DOWN
|
||||
# SPACE, TAB
|
||||
# KEYPAD_CENTER
|
||||
# ESCAPE
|
||||
# F1 - F12
|
||||
#
|
||||
# Note that the use of a digit as a KEY is deprecated.
|
||||
#
|
||||
# Maximum number of KEYs for one COMMAND is 5.
|
||||
#
|
||||
# Omitting the KEY for a COMMAND will unbind all its default keys. They
|
||||
# will also be automatically unbound when you bind new KEYs to it. Individual
|
||||
# default KEYs will be automatically unbound when they are explicitly bound
|
||||
# to some other COMMAND.
|
||||
#
|
||||
# Using the '+=' form will cause the KEYs to be appended to any existing
|
||||
# (default or explicit) bindings for the COMMAND. Appending an existing
|
||||
# default binding for the same COMMAND will cause MOC to think of that KEY
|
||||
# as then being explicitly bound.
|
||||
#
|
||||
# Only one binding for any given COMMAND can appear in the keymap file. One
|
||||
# exception to this is that if the default keys for a COMMAND are explicitly
|
||||
# unbound then a subsequent binding may appear for it. A second exception
|
||||
# is that multiple appending bindings may appear.
|
||||
#
|
||||
# Meta-key detection is sensitive to the ESCDELAY environment variable (see
|
||||
# the manpage for ncurses(3)). In its absence, MOC resets the default
|
||||
# delay to 25ms. If you need to emulate meta-key sequences using the ESC
|
||||
# key, then you may need to set the value of ESCDELAY back to its ncurses
|
||||
# default of 1000ms (but doing so will make the response to the ESC key
|
||||
# sluggish).
|
||||
#
|
||||
# If MOC's keypresses are being filtered through some other program (in a
|
||||
# GUI environment, for example) which also does meta-key detection, then
|
||||
# MOC is at the mercy of the timings with which that program presents them.
|
||||
#
|
||||
# Default key configuration for MOC (and a list of all available commands):
|
||||
|
||||
# MOC control keys:
|
||||
quit_client = q
|
||||
quit = Q
|
||||
|
||||
# Menu and interface control keys:
|
||||
go = ENTER l
|
||||
menu_down = DOWN j
|
||||
menu_up = UP k
|
||||
menu_page_down = PAGE_DOWN
|
||||
menu_page_up = PAGE_UP
|
||||
menu_first_item = HOME
|
||||
menu_last_item = END
|
||||
search_menu = /
|
||||
toggle_read_tags = f
|
||||
toggle_show_time = ^t
|
||||
toggle_show_format = ^f
|
||||
toggle_menu = TAB
|
||||
toggle_hidden_files = H
|
||||
next_search = ^g ^n
|
||||
show_lyrics = L
|
||||
theme_menu = T
|
||||
help = ?
|
||||
refresh = ^r
|
||||
reload = r
|
||||
|
||||
# Audio playing and positioning keys:
|
||||
seek_forward = RIGHT
|
||||
seek_backward = LEFT
|
||||
seek_forward_fast = ]
|
||||
seek_backward_fast = [
|
||||
pause = p SPACE
|
||||
stop = s
|
||||
next = n
|
||||
previous = b
|
||||
toggle_shuffle = S
|
||||
toggle_repeat = R
|
||||
toggle_auto_next = X
|
||||
toggle_mixer = x
|
||||
go_url = o
|
||||
|
||||
# Volume control keys:
|
||||
volume_down_1 = <
|
||||
volume_up_1 = >
|
||||
volume_down_5 = ,
|
||||
volume_up_5 = .
|
||||
volume_10 = M-1
|
||||
volume_20 = M-2
|
||||
volume_30 = M-3
|
||||
volume_40 = M-4
|
||||
volume_50 = M-5
|
||||
volume_60 = M-6
|
||||
volume_70 = M-7
|
||||
volume_80 = M-8
|
||||
volume_90 = M-9
|
||||
|
||||
# Directory navigation keys: defaults are Shift-number
|
||||
# (i.e., 'shift 1' -> '!' -> 'Fastdir1').
|
||||
go_to_a_directory = i
|
||||
go_to_music_directory = m
|
||||
go_to_fast_dir1 = !
|
||||
go_to_fast_dir2 = @
|
||||
go_to_fast_dir3 = #
|
||||
go_to_fast_dir4 = $
|
||||
go_to_fast_dir5 = %
|
||||
go_to_fast_dir6 = ^
|
||||
go_to_fast_dir7 = &
|
||||
go_to_fast_dir8 = *
|
||||
go_to_fast_dir9 = (
|
||||
go_to_fast_dir10 = )
|
||||
go_to_playing_file = G
|
||||
go_up = h
|
||||
|
||||
# Playlist specific keys:
|
||||
add_file = a
|
||||
add_directory = A
|
||||
plist_add_stream = ^u
|
||||
delete_from_playlist = d
|
||||
playlist_full_paths = P
|
||||
save_playlist = V
|
||||
remove_dead_entries = Y
|
||||
clear_playlist = C
|
||||
|
||||
# Queue manipulation keys:
|
||||
enqueue_file = z
|
||||
clear_queue = Z
|
||||
|
||||
# User interaction control:
|
||||
history_up = UP
|
||||
history_down = DOWN
|
||||
delete_to_start = ^u
|
||||
delete_to_end = ^k
|
||||
cancel = ^x ESCAPE
|
||||
hide_message = M
|
||||
|
||||
# Softmixer specific keys:
|
||||
toggle_softmixer = w
|
||||
toggle_make_mono = J
|
||||
|
||||
# Equalizer specific keys:
|
||||
toggle_equalizer = E
|
||||
equalizer_refresh = e
|
||||
|
||||
# External commands:
|
||||
mark_start = '
|
||||
mark_end = "
|
||||
exec_command1 = F1
|
||||
exec_command2 = F2
|
||||
exec_command3 = F3
|
||||
exec_command4 = F4
|
||||
exec_command5 = F5
|
||||
exec_command6 = F6
|
||||
exec_command7 = F7
|
||||
exec_command8 = F8
|
||||
exec_command9 = F9
|
||||
exec_command10 = F10
|
||||
|
||||
# The following commands are available but not assigned to any keys by
|
||||
# default:
|
||||
#
|
||||
# toggle_percent Switch on/off play progress bar time percentage
|
||||
#
|
4
files/dotfiles/moc/softmixer
Normal file
4
files/dotfiles/moc/softmixer
Normal file
@@ -0,0 +1,4 @@
|
||||
Active: 0
|
||||
Amplification: 100
|
||||
Value: 100
|
||||
Mono: 0
|
27
files/dotfiles/newsboat/config
Normal file
27
files/dotfiles/newsboat/config
Normal file
@@ -0,0 +1,27 @@
|
||||
auto-reload yes
|
||||
reload-time 30
|
||||
browser chromium
|
||||
macro y set browser "mpv %u"; open-in-browser ; set browser chromium
|
||||
|
||||
unbind-key h
|
||||
unbind-key j
|
||||
unbind-key k
|
||||
unbind-key l
|
||||
|
||||
bind-key h quit
|
||||
bind-key j down
|
||||
bind-key k up
|
||||
bind-key l open
|
||||
|
||||
color background default default
|
||||
color listnormal default default
|
||||
color listnormal_unread default default
|
||||
color listfocus black yellow
|
||||
color listfocus_unread black yellow
|
||||
color info default black
|
||||
color article default default
|
||||
|
||||
# highlights
|
||||
highlight article "^(Title):.*$" blue default
|
||||
highlight article "https?://[^ ]+" red default
|
||||
highlight article "\\[image\\ [0-9]+\\]" green default
|
37
files/dotfiles/newsboat/urls
Normal file
37
files/dotfiles/newsboat/urls
Normal file
@@ -0,0 +1,37 @@
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA "Tech"
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw "Tech"
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCsRIv1fsbnQRIPKmUQbRzZg "Tech"
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCUQo7nzH1sXVpzL92VesANw "Tech"
|
||||
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UC9C07cryUrKzLuAzwITPA3A "SC2" "SC2HL"
|
||||
|
||||
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCg7HRuQ93hl9v8dTSt_XDHA "Ferme" "~Banabé"
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCsM4_jihNFYe4CtSkXvDR-Q "Ferme" "~permaculture agroécologie etc..."
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UC2avy3Pwc3yVtt-tPKJn33A "Ferme" "~Ma ferme autonome"
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCleSLCKdAEovKJxX-Kgbccw "Ferme" "~Ma ferme autonome2"
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCNqADXg6dTqov4klT703jYg "Ferme" "Les Jérômes"
|
||||
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCL_r1ELEvAuN0peKUxI0Umw "Permaculture" "Geoff Lawton"
|
||||
|
||||
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCzVy7DiPyVvfiOvXF_XMs4Q "Apnée" "~Adam Freediver"
|
||||
|
||||
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCJNItGjNhUx3Zz6W4OCVfHA "Bois" "~Passion renovation"
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCvDpfkniGG6WkX5L7DwyGaA "Bois" "Olivier Verdier"
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UC7TiJ6Tnxc_dSE42byTPMug "Bois" "Copain des copeaux"
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UC9fGq2-6FaftcegcIadLf6A "Bois" "Samuel Mamias"
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCOuow_HIYmeaIqi42zVs3qg "Bois" "Kirby Meets Audio"
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UC7FkqjV8SU5I8FCHXQSQe9Q "Bois" "Ishitani furniture"
|
||||
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UC6mIxFTvXkWQVEHPsEdflzQ "Electronique" "GreatScott!"
|
||||
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCP6qAy9q_Lkhzu2reZfun9g "Ski" "~WINTERACTIVITY"
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UChkpEJqHjX-tGmYoGf8jdGA "Escalade" "EpicTV Relais Vertical"
|
||||
|
||||
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCgkhWgBGRp0sdFy2MHDWfSg "Math" "El Ji"
|
||||
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCvjgXvBlbQiydffZU7m1_aw "Programmation" "~Coding Train"
|
||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCj_iGliGCkLcHSZ8eqVNPDQ "Programmation" "~Grafikart.fr"
|
45
files/dotfiles/sshconfig
Executable file
45
files/dotfiles/sshconfig
Executable file
@@ -0,0 +1,45 @@
|
||||
Host Bilimbi
|
||||
HostName ns3096799.ip-94-23-52.eu
|
||||
User waha
|
||||
ForwardAgent yes
|
||||
PubkeyAcceptedKeyTypes *
|
||||
identityfile ~/.ssh/id_dsa_embrevade
|
||||
|
||||
Host Embrevade
|
||||
HostName 5.196.95.88
|
||||
User waha
|
||||
Port 22
|
||||
ForwardAgent yes
|
||||
PubkeyAcceptedKeyTypes *
|
||||
identityfile ~/.ssh/id_ed25519_embrevade
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host git_opytex
|
||||
HostName git.opytex.org
|
||||
User git
|
||||
Port 2222
|
||||
identityfile ~/.ssh/id_rsa_gitopytex
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host github
|
||||
HostName github.com
|
||||
User git
|
||||
ForwardAgent yes
|
||||
PubkeyAcceptedKeyTypes *
|
||||
identityfile ~/.ssh/id_dsa_noPass
|
||||
|
||||
Host Songe
|
||||
HostName songe
|
||||
User waha
|
||||
Port 22
|
||||
ForwardAgent yes
|
||||
PubkeyAcceptedKeyTypes *
|
||||
identityfile ~/.ssh/id_rsa_songe
|
||||
IdentitiesOnly yes
|
||||
|
||||
Host Choux
|
||||
HostName Choux
|
||||
User lafrite
|
||||
ForwardAgent yes
|
||||
identityfile ~/.ssh/id_ed25519_home
|
||||
PubkeyAcceptedKeyTypes *
|
199
files/dotfiles/tmux.conf
Normal file
199
files/dotfiles/tmux.conf
Normal file
@@ -0,0 +1,199 @@
|
||||
set -g default-terminal "screen-256color"
|
||||
|
||||
## Vim user config
|
||||
|
||||
#Prefix is Ctrl-a
|
||||
unbind C-b
|
||||
set -g prefix C-space
|
||||
bind C-space send-prefix
|
||||
|
||||
|
||||
# C-space C-space will swap to last used window
|
||||
bind-key C-space last-window
|
||||
|
||||
#set -sg escape-time 1
|
||||
#set -g base-index 1
|
||||
#setw -g pane-base-index 1
|
||||
|
||||
#Mouse works as expected
|
||||
set -g mouse on
|
||||
#setw -g mode-mouse on
|
||||
#set -g mouse-select-pane on
|
||||
#set -g mouse-resize-pane on
|
||||
#set -g mouse-select-window on
|
||||
|
||||
set -g monitor-activity on
|
||||
set -g visual-activity on
|
||||
|
||||
setw -g mode-keys vi
|
||||
set -g history-limit 10000
|
||||
|
||||
# y and p as in vim
|
||||
bind Escape copy-mode
|
||||
unbind p
|
||||
bind p paste-buffer
|
||||
#bind -t vi-copy 'v' begin-selection
|
||||
#bind -t vi-copy 'y' copy-selection
|
||||
#bind -t vi-copy 'Space' halfpage-down
|
||||
#bind -t vi-copy 'Bspace' halfpage-up
|
||||
bind-key -T copy-mode-vi 'v' send -X begin-selection
|
||||
bind-key -T copy-mode-vi 'y' send -X copy-selection
|
||||
bind-key -T copy-mode-vi 'Space' send -X halfpage-down
|
||||
bind-key -T copy-mode-vi 'Bspace' send -X halfpage-up
|
||||
|
||||
# Remap previous window
|
||||
bind b previous-window
|
||||
|
||||
# extra commands for interacting with the ICCCM clipboard
|
||||
bind C-c run "tmux save-buffer - | xclip -i -sel clipboard"
|
||||
bind C-v run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer"
|
||||
|
||||
# easy-to-remember split pane commands
|
||||
bind | split-window -h
|
||||
bind - split-window -v
|
||||
unbind '"'
|
||||
unbind %
|
||||
|
||||
# # moving between panes with vim movement keys
|
||||
# bind h select-pane -L
|
||||
# bind j select-pane -D
|
||||
# bind k select-pane -U
|
||||
# bind l select-pane -R
|
||||
# Smart pane switching with awareness of Vim splits.
|
||||
# See: https://github.com/christoomey/vim-tmux-navigator
|
||||
is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
|
||||
| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
|
||||
bind-key -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L"
|
||||
bind-key -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D"
|
||||
bind-key -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U"
|
||||
bind-key -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R"
|
||||
bind-key -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"
|
||||
bind-key -T copy-mode-vi C-h select-pane -L
|
||||
bind-key -T copy-mode-vi C-j select-pane -D
|
||||
bind-key -T copy-mode-vi C-k select-pane -U
|
||||
bind-key -T copy-mode-vi C-l select-pane -R
|
||||
bind-key -T copy-mode-vi C-\ select-pane -l
|
||||
|
||||
# moving between windows with vim movement keys
|
||||
bind -r C-h select-window -t :-
|
||||
bind -r C-l select-window -t :+
|
||||
|
||||
# resize panes with vim movement keys
|
||||
bind -r H resize-pane -L 5
|
||||
bind -r J resize-pane -D 5
|
||||
bind -r K resize-pane -U 5
|
||||
bind -r L resize-pane -R 5
|
||||
|
||||
######################
|
||||
### DESIGN CHANGES ###
|
||||
######################
|
||||
|
||||
# panes
|
||||
set -g pane-border-fg black
|
||||
set -g pane-active-border-fg brightred
|
||||
|
||||
## Status bar design
|
||||
# status line
|
||||
# set -g status-utf8 on
|
||||
set -g status-justify left
|
||||
set -g status-bg default
|
||||
set -g status-fg colour12
|
||||
set -g status-interval 2
|
||||
|
||||
# messaging
|
||||
set -g message-fg black
|
||||
set -g message-bg yellow
|
||||
set -g message-command-fg blue
|
||||
set -g message-command-bg black
|
||||
|
||||
#window mode
|
||||
setw -g mode-bg colour6
|
||||
setw -g mode-fg colour0
|
||||
|
||||
# window status
|
||||
setw -g window-status-format " #F#I:#W#F "
|
||||
setw -g window-status-current-format " #F#I:#W#F "
|
||||
setw -g window-status-format "#[fg=magenta]#[bg=black] #I #[bg=cyan]#[fg=colour8] #W "
|
||||
setw -g window-status-current-format "#[bg=brightmagenta]#[fg=colour8] #I #[fg=colour8]#[bg=colour14] #W "
|
||||
setw -g window-status-current-bg colour0
|
||||
setw -g window-status-current-fg colour11
|
||||
setw -g window-status-current-attr dim
|
||||
setw -g window-status-bg green
|
||||
setw -g window-status-fg black
|
||||
setw -g window-status-attr reverse
|
||||
|
||||
# Info on left (I don't have a session display for now)
|
||||
set -g status-left ''
|
||||
|
||||
# loud or quiet?
|
||||
set-option -g visual-activity off
|
||||
set-option -g visual-bell off
|
||||
set-option -g visual-silence off
|
||||
set-window-option -g monitor-activity off
|
||||
set-option -g bell-action none
|
||||
|
||||
set -g default-terminal "screen-256color"
|
||||
|
||||
# The modes {
|
||||
setw -g clock-mode-colour colour135
|
||||
setw -g mode-attr bold
|
||||
setw -g mode-fg colour196
|
||||
setw -g mode-bg colour238
|
||||
|
||||
# }
|
||||
# The panes {
|
||||
|
||||
set -g pane-border-bg colour235
|
||||
set -g pane-border-fg colour238
|
||||
set -g pane-active-border-bg colour236
|
||||
set -g pane-active-border-fg colour51
|
||||
|
||||
# }
|
||||
# The statusbar {
|
||||
|
||||
set -g status-position bottom
|
||||
set -g status-bg colour234
|
||||
set -g status-fg colour137
|
||||
set -g status-attr dim
|
||||
set -g status-left '#[fg=colour81,bg=colour241,bold] #S '
|
||||
set -g status-right '#[fg=colour233,bg=colour241,bold] %d/%m #[fg=colour233,bg=colour245,bold] %H:%M:%S '
|
||||
set -g status-right-length 50
|
||||
set -g status-left-length 20
|
||||
|
||||
setw -g window-status-current-fg colour81
|
||||
setw -g window-status-current-bg colour238
|
||||
setw -g window-status-current-attr bold
|
||||
setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F '
|
||||
|
||||
setw -g window-status-fg colour138
|
||||
setw -g window-status-bg colour235
|
||||
setw -g window-status-attr none
|
||||
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
|
||||
|
||||
setw -g window-status-bell-attr bold
|
||||
setw -g window-status-bell-fg colour255
|
||||
setw -g window-status-bell-bg colour1
|
||||
|
||||
# }
|
||||
# The messages {
|
||||
|
||||
set -g message-attr bold
|
||||
set -g message-fg colour232
|
||||
set -g message-bg colour166
|
||||
|
||||
# }
|
||||
|
||||
|
||||
## Plugins
|
||||
# Supports `github_username/repo` or full git repo URLs
|
||||
set -g @tpm_plugins 'tmux-plugins/tpm'
|
||||
set -g @tpm_plugins 'tmux-plugins/tmux-sensible'
|
||||
# tmux-plugins/tmux-resurrect \
|
||||
# tmux-plugins/tmux-continuum \
|
||||
|
||||
## tmux-continuum: automatic restore
|
||||
#set -g @continuum-restore 'on'
|
||||
|
||||
|
||||
# Keep this line at the very bottom of tmux.conf.
|
||||
run-shell '~/.tmux/plugins/tpm/tpm'
|
43
files/dotfiles/tmuxinator/bopytex.yml
Normal file
43
files/dotfiles/tmuxinator/bopytex.yml
Normal file
@@ -0,0 +1,43 @@
|
||||
# ~/.tmuxinator/pymath.yml
|
||||
|
||||
name: bopytex
|
||||
root: ~/scripts/Bopytex
|
||||
|
||||
# Optional tmux socket
|
||||
# socket_name: foo
|
||||
|
||||
# Runs before everything. Use it to start daemons etc.
|
||||
# pre: sudo /etc/rc.d/mysqld start
|
||||
|
||||
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
|
||||
# pre_window: rbenv shell 2.0.0-p247
|
||||
pre_window: workon bopytex
|
||||
|
||||
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
|
||||
# tmux_options: -f ~/.tmux.mac.conf
|
||||
|
||||
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
|
||||
# tmux_command: byobu
|
||||
|
||||
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
|
||||
# startup_window: logs
|
||||
|
||||
# Controls whether the tmux session should be attached to automatically. Defaults to true.
|
||||
# attach: false
|
||||
|
||||
# Runs after everything. Use it to attach to tmux with custom options etc.
|
||||
# post: tmux -CC attach -t pymath
|
||||
|
||||
windows:
|
||||
- editor:
|
||||
- vim
|
||||
- giting:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- git fetch && git status
|
||||
- tig
|
||||
- testing:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- #empty
|
||||
- #empty
|
39
files/dotfiles/tmuxinator/enseignement.yml
Normal file
39
files/dotfiles/tmuxinator/enseignement.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
# ~/.tmuxinator/marbenj_sigal.yml
|
||||
|
||||
name: enseignement
|
||||
root: /home/lafrite/Cours/Prof/Enseignements/2018-2019/
|
||||
#root: /media/documents/Cours/Prof/Enseignements
|
||||
|
||||
# Optional tmux socket
|
||||
# socket_name: foo
|
||||
|
||||
# Runs before everything. Use it to start daemons etc.
|
||||
# pre: sudo /etc/rc.d/mysqld start
|
||||
# pre: workon marbenj_sigal
|
||||
|
||||
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
|
||||
# pre_window: rbenv shell 2.0.0-p247
|
||||
pre_window: . ./config.sh
|
||||
|
||||
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
|
||||
# tmux_options: -f ~/.tmux.mac.conf
|
||||
|
||||
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
|
||||
# tmux_command: byobu
|
||||
|
||||
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
|
||||
# startup_window: logs
|
||||
|
||||
# Controls whether the tmux session should be attached to automatically. Defaults to true.
|
||||
# attach: false
|
||||
|
||||
# Runs after everything. Use it to attach to tmux with custom options etc.
|
||||
# post: tmux -CC attach -t marbenj_sigal
|
||||
|
||||
windows:
|
||||
- editor: vim -c NERDTree
|
||||
- server:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
-
|
||||
-
|
43
files/dotfiles/tmuxinator/mapytex.yml
Normal file
43
files/dotfiles/tmuxinator/mapytex.yml
Normal file
@@ -0,0 +1,43 @@
|
||||
# ~/.tmuxinator/pymath.yml
|
||||
|
||||
name: mapytex
|
||||
root: ~/scripts/Mapytex/
|
||||
|
||||
# Optional tmux socket
|
||||
# socket_name: foo
|
||||
|
||||
# Runs before everything. Use it to start daemons etc.
|
||||
# pre: sudo /etc/rc.d/mysqld start
|
||||
|
||||
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
|
||||
# pre_window: rbenv shell 2.0.0-p247
|
||||
pre_window: source .venv/bin/activate
|
||||
|
||||
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
|
||||
# tmux_options: -f ~/.tmux.mac.conf
|
||||
|
||||
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
|
||||
# tmux_command: byobu
|
||||
|
||||
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
|
||||
# startup_window: logs
|
||||
|
||||
# Controls whether the tmux session should be attached to automatically. Defaults to true.
|
||||
# attach: false
|
||||
|
||||
# Runs after everything. Use it to attach to tmux with custom options etc.
|
||||
# post: tmux -CC attach -t pymath
|
||||
|
||||
windows:
|
||||
- editor:
|
||||
- vim -c NERDTree
|
||||
- giting:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- git fetch && git status
|
||||
- tig
|
||||
- testing:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- #empty
|
||||
- #empty
|
38
files/dotfiles/tmuxinator/marbenj_sigal.yml
Normal file
38
files/dotfiles/tmuxinator/marbenj_sigal.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
# ~/.tmuxinator/marbenj_sigal.yml
|
||||
|
||||
name: marbenj_sigal
|
||||
root: /media/documents/marbenj/
|
||||
|
||||
# Optional tmux socket
|
||||
# socket_name: foo
|
||||
|
||||
# Runs before everything. Use it to start daemons etc.
|
||||
# pre: sudo /etc/rc.d/mysqld start
|
||||
#pre: workon marbenj_sigal
|
||||
|
||||
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
|
||||
# pre_window: rbenv shell 2.0.0-p247
|
||||
pre_window: workon marbenj_sigal
|
||||
|
||||
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
|
||||
# tmux_options: -f ~/.tmux.mac.conf
|
||||
|
||||
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
|
||||
# tmux_command: byobu
|
||||
|
||||
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
|
||||
# startup_window: logs
|
||||
|
||||
# Controls whether the tmux session should be attached to automatically. Defaults to true.
|
||||
# attach: false
|
||||
|
||||
# Runs after everything. Use it to attach to tmux with custom options etc.
|
||||
# post: tmux -CC attach -t marbenj_sigal
|
||||
|
||||
windows:
|
||||
- editor: vim
|
||||
- server:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
-
|
||||
-
|
38
files/dotfiles/tmuxinator/marbenj_sigal_dev.yml
Normal file
38
files/dotfiles/tmuxinator/marbenj_sigal_dev.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
# ~/.tmuxinator/marbenj_sigal.yml
|
||||
|
||||
name: marbenj_sigal
|
||||
root: ~/scripts/marbenj_signal
|
||||
|
||||
# Optional tmux socket
|
||||
# socket_name: foo
|
||||
|
||||
# Runs before everything. Use it to start daemons etc.
|
||||
# pre: sudo /etc/rc.d/mysqld start
|
||||
#pre: workon marbenj_sigal
|
||||
|
||||
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
|
||||
# pre_window: rbenv shell 2.0.0-p247
|
||||
pre_window: workon marbenj_sigal
|
||||
|
||||
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
|
||||
# tmux_options: -f ~/.tmux.mac.conf
|
||||
|
||||
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
|
||||
# tmux_command: byobu
|
||||
|
||||
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
|
||||
# startup_window: logs
|
||||
|
||||
# Controls whether the tmux session should be attached to automatically. Defaults to true.
|
||||
# attach: false
|
||||
|
||||
# Runs after everything. Use it to attach to tmux with custom options etc.
|
||||
# post: tmux -CC attach -t marbenj_sigal
|
||||
|
||||
windows:
|
||||
- editor: vim
|
||||
- server:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
-
|
||||
-
|
38
files/dotfiles/tmuxinator/marksEditor.yml
Normal file
38
files/dotfiles/tmuxinator/marksEditor.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
# ~/.tmuxinator/marbenj_sigal.yml
|
||||
|
||||
name: markseditor
|
||||
root: ~/scripts/marksEditor
|
||||
|
||||
# Optional tmux socket
|
||||
# socket_name: foo
|
||||
|
||||
# Runs before everything. Use it to start daemons etc.
|
||||
# pre: sudo /etc/rc.d/mysqld start
|
||||
#pre: workon marbenj_sigal
|
||||
|
||||
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
|
||||
# pre_window: rbenv shell 2.0.0-p247
|
||||
pre_window: workon marksEditor
|
||||
|
||||
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
|
||||
# tmux_options: -f ~/.tmux.mac.conf
|
||||
|
||||
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
|
||||
# tmux_command: byobu
|
||||
|
||||
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
|
||||
# startup_window: logs
|
||||
|
||||
# Controls whether the tmux session should be attached to automatically. Defaults to true.
|
||||
# attach: false
|
||||
|
||||
# Runs after everything. Use it to attach to tmux with custom options etc.
|
||||
# post: tmux -CC attach -t marbenj_sigal
|
||||
|
||||
windows:
|
||||
- editor: vim
|
||||
- server:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
-
|
||||
-
|
43
files/dotfiles/tmuxinator/notes_analysis.yml
Normal file
43
files/dotfiles/tmuxinator/notes_analysis.yml
Normal file
@@ -0,0 +1,43 @@
|
||||
# ~/.tmuxinator/pymath.yml
|
||||
|
||||
name: notes_analysis
|
||||
root: ~/scripts/notes_analysis/
|
||||
|
||||
# Optional tmux socket
|
||||
# socket_name: foo
|
||||
|
||||
# Runs before everything. Use it to start daemons etc.
|
||||
# pre: sudo /etc/rc.d/mysqld start
|
||||
|
||||
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
|
||||
# pre_window: rbenv shell 2.0.0-p247
|
||||
pre_window: workon notes_analysis
|
||||
|
||||
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
|
||||
# tmux_options: -f ~/.tmux.mac.conf
|
||||
|
||||
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
|
||||
# tmux_command: byobu
|
||||
|
||||
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
|
||||
# startup_window: logs
|
||||
|
||||
# Controls whether the tmux session should be attached to automatically. Defaults to true.
|
||||
# attach: false
|
||||
|
||||
# Runs after everything. Use it to attach to tmux with custom options etc.
|
||||
# post: tmux -CC attach -t pymath
|
||||
|
||||
windows:
|
||||
- editor:
|
||||
- vim
|
||||
- giting:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- git fetch && git status
|
||||
- tig
|
||||
- testing:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- #empty
|
||||
- #empty
|
43
files/dotfiles/tmuxinator/opytex.yml
Normal file
43
files/dotfiles/tmuxinator/opytex.yml
Normal file
@@ -0,0 +1,43 @@
|
||||
# ~/.tmuxinator/pymath.yml
|
||||
|
||||
name: opytex
|
||||
root: ~/scripts/Opytex
|
||||
|
||||
# Optional tmux socket
|
||||
# socket_name: foo
|
||||
|
||||
# Runs before everything. Use it to start daemons etc.
|
||||
# pre: sudo /etc/rc.d/mysqld start
|
||||
|
||||
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
|
||||
# pre_window: rbenv shell 2.0.0-p247
|
||||
pre_window: workon opytex
|
||||
|
||||
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
|
||||
# tmux_options: -f ~/.tmux.mac.conf
|
||||
|
||||
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
|
||||
# tmux_command: byobu
|
||||
|
||||
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
|
||||
# startup_window: logs
|
||||
|
||||
# Controls whether the tmux session should be attached to automatically. Defaults to true.
|
||||
# attach: false
|
||||
|
||||
# Runs after everything. Use it to attach to tmux with custom options etc.
|
||||
# post: tmux -CC attach -t pymath
|
||||
|
||||
windows:
|
||||
- editor:
|
||||
- vim
|
||||
- giting:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- git fetch && git status
|
||||
- tig
|
||||
- testing:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- #empty
|
||||
- #empty
|
43
files/dotfiles/tmuxinator/pymath.yml
Normal file
43
files/dotfiles/tmuxinator/pymath.yml
Normal file
@@ -0,0 +1,43 @@
|
||||
# ~/.tmuxinator/pymath.yml
|
||||
|
||||
name: pymath
|
||||
root: ~/scripts/pyMath/
|
||||
|
||||
# Optional tmux socket
|
||||
# socket_name: foo
|
||||
|
||||
# Runs before everything. Use it to start daemons etc.
|
||||
# pre: sudo /etc/rc.d/mysqld start
|
||||
|
||||
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
|
||||
# pre_window: rbenv shell 2.0.0-p247
|
||||
pre_window: workon pymath
|
||||
|
||||
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
|
||||
# tmux_options: -f ~/.tmux.mac.conf
|
||||
|
||||
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
|
||||
# tmux_command: byobu
|
||||
|
||||
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
|
||||
# startup_window: logs
|
||||
|
||||
# Controls whether the tmux session should be attached to automatically. Defaults to true.
|
||||
# attach: false
|
||||
|
||||
# Runs after everything. Use it to attach to tmux with custom options etc.
|
||||
# post: tmux -CC attach -t pymath
|
||||
|
||||
windows:
|
||||
- editor:
|
||||
- vim
|
||||
- giting:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- git fetch && git status
|
||||
- tig
|
||||
- testing:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- #empty
|
||||
- #empty
|
43
files/dotfiles/tmuxinator/pytex.yml
Normal file
43
files/dotfiles/tmuxinator/pytex.yml
Normal file
@@ -0,0 +1,43 @@
|
||||
# ~/.tmuxinator/pymath.yml
|
||||
|
||||
name: Pytex
|
||||
root: ~/scripts/Pytex
|
||||
|
||||
# Optional tmux socket
|
||||
# socket_name: foo
|
||||
|
||||
# Runs before everything. Use it to start daemons etc.
|
||||
# pre: sudo /etc/rc.d/mysqld start
|
||||
|
||||
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
|
||||
# pre_window: rbenv shell 2.0.0-p247
|
||||
pre_window: workon pytex
|
||||
|
||||
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
|
||||
# tmux_options: -f ~/.tmux.mac.conf
|
||||
|
||||
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
|
||||
# tmux_command: byobu
|
||||
|
||||
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
|
||||
# startup_window: logs
|
||||
|
||||
# Controls whether the tmux session should be attached to automatically. Defaults to true.
|
||||
# attach: false
|
||||
|
||||
# Runs after everything. Use it to attach to tmux with custom options etc.
|
||||
# post: tmux -CC attach -t pymath
|
||||
|
||||
windows:
|
||||
- editor:
|
||||
- vim
|
||||
- giting:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- git fetch && git status
|
||||
- tig
|
||||
- testing:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- #empty
|
||||
- #empty
|
43
files/dotfiles/tmuxinator/repytex.yml
Normal file
43
files/dotfiles/tmuxinator/repytex.yml
Normal file
@@ -0,0 +1,43 @@
|
||||
# ~/.tmuxinator/pymath.yml
|
||||
|
||||
name: repytex
|
||||
root: ~/scripts/Repytex/
|
||||
|
||||
# Optional tmux socket
|
||||
# socket_name: foo
|
||||
|
||||
# Runs before everything. Use it to start daemons etc.
|
||||
# pre: sudo /etc/rc.d/mysqld start
|
||||
|
||||
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
|
||||
# pre_window: rbenv shell 2.0.0-p247
|
||||
pre_window: workon repytex
|
||||
|
||||
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
|
||||
# tmux_options: -f ~/.tmux.mac.conf
|
||||
|
||||
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
|
||||
# tmux_command: byobu
|
||||
|
||||
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
|
||||
# startup_window: logs
|
||||
|
||||
# Controls whether the tmux session should be attached to automatically. Defaults to true.
|
||||
# attach: false
|
||||
|
||||
# Runs after everything. Use it to attach to tmux with custom options etc.
|
||||
# post: tmux -CC attach -t pymath
|
||||
|
||||
windows:
|
||||
- editor:
|
||||
- vim
|
||||
- giting:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- git fetch && git status
|
||||
- tig
|
||||
- testing:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- #empty
|
||||
- #empty
|
38
files/dotfiles/tmuxinator/site_opytex.yml
Normal file
38
files/dotfiles/tmuxinator/site_opytex.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
# ~/.tmuxinator/site_opytex.yml
|
||||
|
||||
name: site_opytex
|
||||
root: ~/scripts/site_opytex/
|
||||
|
||||
# Optional tmux socket
|
||||
# socket_name: foo
|
||||
|
||||
# Runs before everything. Use it to start daemons etc.
|
||||
# pre: sudo /etc/rc.d/mysqld start
|
||||
|
||||
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
|
||||
# pre_window: rbenv shell 2.0.0-p247
|
||||
pre_window: workon site_opytex
|
||||
|
||||
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
|
||||
# tmux_options: -f ~/.tmux.mac.conf
|
||||
|
||||
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
|
||||
# tmux_command: byobu
|
||||
|
||||
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
|
||||
# startup_window: logs
|
||||
|
||||
# Controls whether the tmux session should be attached to automatically. Defaults to true.
|
||||
# attach: false
|
||||
|
||||
# Runs after everything. Use it to attach to tmux with custom options etc.
|
||||
# post: tmux -CC attach -t site_opytex
|
||||
|
||||
windows:
|
||||
- editor: vim
|
||||
- server:
|
||||
layout: main-vertical
|
||||
panes:
|
||||
- cd output && python -m http.server
|
||||
-
|
||||
- git: tig
|
102
files/dotfiles/vdirsyncer/config
Normal file
102
files/dotfiles/vdirsyncer/config
Normal file
@@ -0,0 +1,102 @@
|
||||
# An example configuration for vdirsyncer.
|
||||
#
|
||||
# Move it to ~/.vdirsyncer/config or ~/.config/vdirsyncer/config and edit it.
|
||||
# Run `vdirsyncer --help` for CLI usage.
|
||||
#
|
||||
# Optional parameters are commented out.
|
||||
# This file doesn't document all available parameters, see
|
||||
# http://vdirsyncer.pimutils.org/ for the rest of them.
|
||||
|
||||
[general]
|
||||
# A folder where vdirsyncer can store some metadata about each pair.
|
||||
status_path = "~/.config/vdirsyncer/status/"
|
||||
|
||||
# CALDAV
|
||||
[pair Cours_cal]
|
||||
a = "cours_cal_local"
|
||||
b = "cours_cal_remote"
|
||||
collections = ["from a", "from b"]
|
||||
|
||||
# Calendars also have a color property
|
||||
metadata = ["displayname", "color"]
|
||||
|
||||
[storage cours_cal_local]
|
||||
type = "filesystem"
|
||||
path = "~/.calendars/Cours1/"
|
||||
fileext = ".ics"
|
||||
|
||||
[storage cours_cal_remote]
|
||||
type = "caldav"
|
||||
url = "https://cloud.poneyworld.net/remote.php/dav/calendars/lafrite/cours1/"
|
||||
username = "lafrite"
|
||||
password.fetch = ["command", "pass", "OVH/Embrevade/docker/nextcloud/lafrite"]
|
||||
|
||||
[pair perso_cal]
|
||||
a = "perso_cal_local"
|
||||
b = "perso_cal_remote"
|
||||
collections = ["from a", "from b"]
|
||||
|
||||
# Calendars also have a color property
|
||||
metadata = ["displayname", "color"]
|
||||
|
||||
[storage perso_cal_local]
|
||||
type = "filesystem"
|
||||
path = "~/.calendars/Perso/"
|
||||
fileext = ".ics"
|
||||
|
||||
[storage perso_cal_remote]
|
||||
type = "caldav"
|
||||
url = "https://cloud.poneyworld.net/remote.php/dav/calendars/lafrite/personal/"
|
||||
username = "lafrite"
|
||||
password.fetch = ["command", "pass", "OVH/Embrevade/docker/nextcloud/lafrite"]
|
||||
|
||||
[pair vacancesA]
|
||||
a = "vacancesA_public"
|
||||
b = "vacancesA_private"
|
||||
collections = null
|
||||
[storage vacancesA_public]
|
||||
type = "http"
|
||||
# The URL to your iCalendar file.
|
||||
url = "https://www.data.gouv.fr/fr/datasets/r/b580138b-ae5c-4b4d-8cbf-110ffd373192"
|
||||
[storage vacancesA_private]
|
||||
type = "filesystem"
|
||||
path = "~/.calendars/Vacances/"
|
||||
fileext = ".ics"
|
||||
|
||||
# CARDAV
|
||||
[pair nextcloud_contacts]
|
||||
# A `[pair <name>]` block defines two storages `a` and `b` that should be
|
||||
# synchronized. The definition of these storages follows in `[storage <name>]`
|
||||
# blocks. This is similar to accounts in OfflineIMAP.
|
||||
a = "nextcloud_contacts_local"
|
||||
b = "nextcloud_contacts_remote"
|
||||
|
||||
# Synchronize all collections that can be found.
|
||||
# You need to run `vdirsyncer discover` if new calendars/addressbooks are added
|
||||
# on the server.
|
||||
|
||||
collections = ["from a", "from b"]
|
||||
|
||||
# Synchronize the "display name" property into a local file (~/.contacts/displayname).
|
||||
metadata = ["displayname"]
|
||||
|
||||
# To resolve a conflict the following values are possible:
|
||||
# `null` - abort when collisions occur (default)
|
||||
# `"a wins"` - assume a's items to be more up-to-date
|
||||
# `"b wins"` - assume b's items to be more up-to-date
|
||||
#conflict_resolution = null
|
||||
|
||||
[storage nextcloud_contacts_local]
|
||||
# A storage references actual data on a remote server or on the local disk.
|
||||
# Similar to repositories in OfflineIMAP.
|
||||
type = "filesystem"
|
||||
path = "~/.contacts/"
|
||||
fileext = ".vcf"
|
||||
|
||||
[storage nextcloud_contacts_remote]
|
||||
type = "carddav"
|
||||
url = "https://cloud.poneyworld.net/remote.php/dav/addressbooks/users/lafrite/contacts/"
|
||||
username = "lafrite"
|
||||
password.fetch = ["command", "pass", "OVH/Embrevade/docker/nextcloud/lafrite"]
|
||||
# The password can also be fetched from the system password storage, netrc or a
|
||||
# custom command. See http://vdirsyncer.pimutils.org/en/stable/keyring.html
|
6
files/dotfiles/vim/.netrwhist
Normal file
6
files/dotfiles/vim/.netrwhist
Normal file
@@ -0,0 +1,6 @@
|
||||
let g:netrw_dirhistmax =10
|
||||
let g:netrw_dirhist_cnt =4
|
||||
let g:netrw_dirhist_1='/home/lafrite/Cours/Prof/Enseignements/2017-2018/6e'
|
||||
let g:netrw_dirhist_2='/home/lafrite/Cours/Prof/Enseignements/2017-2018/6e/Nombres_Calculs'
|
||||
let g:netrw_dirhist_3='/home/lafrite/Cours/Prof/Enseignements/2017-2018/6e/Nombres_Calculs/Numerations_divers'
|
||||
let g:netrw_dirhist_4='/home/lafrite/scripts/config/vim/bundle/TTCoach/macros/ttcoach/en'
|
19
files/dotfiles/vim/UltiSnips/python.snippets
Normal file
19
files/dotfiles/vim/UltiSnips/python.snippets
Normal file
@@ -0,0 +1,19 @@
|
||||
snippet todo "A python todo mark" b
|
||||
# TODO: ${1:desc} |`date`
|
||||
endsnippet
|
||||
|
||||
snippet tvar "testing a variable" b
|
||||
print("${1:Varname} -> ", $1)
|
||||
endsnippet
|
||||
|
||||
|
||||
# Unittest
|
||||
|
||||
snippet deftest "test function without docstrings" b
|
||||
def test_${1:function}(`!p
|
||||
if snip.indent:
|
||||
snip.rv = 'self' `):
|
||||
${0:pass}
|
||||
endsnippet
|
||||
|
||||
|
123
files/dotfiles/vim/config/base.vim
Normal file
123
files/dotfiles/vim/config/base.vim
Normal file
@@ -0,0 +1,123 @@
|
||||
" Lines number
|
||||
set number
|
||||
|
||||
" Always show the statusline
|
||||
set laststatus=2
|
||||
|
||||
" Necessary to show Unicode glyphs
|
||||
set encoding=utf8
|
||||
|
||||
" tab length
|
||||
set tabstop=4
|
||||
|
||||
" smart tab
|
||||
set smartindent
|
||||
|
||||
" Tab to..?
|
||||
set shiftround
|
||||
|
||||
" Display edition mode
|
||||
set showmode
|
||||
|
||||
" Ignore case in search mode
|
||||
set ignorecase
|
||||
|
||||
" Override the 'ignorecase' option if the search pattern
|
||||
" contains upper case characters.
|
||||
set smartcase
|
||||
|
||||
" Display uncomplete commands (??)
|
||||
set showcmd
|
||||
|
||||
" Vim file name completion relative to current file
|
||||
set autochdir
|
||||
|
||||
" While typing a search command, show immediately where the
|
||||
" so far typed pattern matches.
|
||||
set incsearch
|
||||
|
||||
" Use <C-L> to clear the highlighting of :set hlsearch.
|
||||
set hlsearch
|
||||
if maparg('<C-L>', 'n') ==# ''
|
||||
nnoremap <silent> <C-L> :nohlsearch<C-R>=has('diff')?'<Bar>diffupdate':''<CR><CR><C-L>
|
||||
endif
|
||||
|
||||
" Turn on the WiLd menu
|
||||
set wildmenu
|
||||
|
||||
" Ignore compiled files
|
||||
set wildignore=*.o,*~,*.pyc,*.swp
|
||||
|
||||
" Wrap lines
|
||||
set wrap
|
||||
|
||||
" Turn backup off, since most stuff is in SVN, git et.c anyway...
|
||||
set nobackup
|
||||
set noswapfile
|
||||
|
||||
" Having relative number for lines
|
||||
set relativenumber
|
||||
|
||||
" Display tab and ends of lines
|
||||
" Shortcut to rapidly toggle `set list`
|
||||
nmap <leader>L :set list!<CR>
|
||||
|
||||
" Behaviour of tab
|
||||
set tabstop =4
|
||||
set shiftwidth =4
|
||||
set softtabstop =4
|
||||
set expandtab
|
||||
|
||||
" Folding
|
||||
set foldmethod=indent
|
||||
|
||||
" Use the same symbols as TextMate for tabstops and EOLs
|
||||
" set listchars=tab:▸\ ,eol:¬
|
||||
set listchars=nbsp:¤,tab:··,trail:¤,extends:▶,precedes:◀
|
||||
|
||||
" allow backspacing over everything in insert mode
|
||||
set backspace=indent,eol,start
|
||||
|
||||
set history=50 " keep 50 lines of command line history
|
||||
set ruler " show the cursor position all the time
|
||||
"
|
||||
" In many terminal emulators the mouse works just fine, thus enable it.
|
||||
if has('mouse')
|
||||
set mouse=a
|
||||
endif
|
||||
|
||||
" Decorations
|
||||
" ====================
|
||||
" Switch syntax highlighting on, when the terminal has colors
|
||||
" Also switch on highlighting the last used search pattern.
|
||||
if &t_Co > 2 || has("gui_running")
|
||||
syntax on
|
||||
endif
|
||||
|
||||
" When set to "dark", Vim will try to use colors that look
|
||||
" good on a dark background. When set to "light", Vim will
|
||||
" try to use colors that look good on a light background.
|
||||
" Any other value is illegal.
|
||||
set background=dark
|
||||
|
||||
" Color Scheme
|
||||
colorscheme zenburn
|
||||
|
||||
set cursorline
|
||||
|
||||
" Align blocks of text and keep them selected
|
||||
vmap < <gv
|
||||
vmap > >gv
|
||||
|
||||
" Spelling
|
||||
set spelllang=fr
|
||||
" Set and unset spelling correction
|
||||
map <silent> <F7> "<Esc>:silent setlocal spell! spelllang=en<CR>"
|
||||
map <silent> <F6> "<Esc>:silent setlocal spell! spelllang=fr<CR>"
|
||||
|
||||
autocmd BufRead,BufNewFile *.{md,tex,rst} setlocal spell
|
||||
|
||||
execute "set colorcolumn=" . join(range(81,335), ',')
|
||||
" Show what is written!
|
||||
set conceallevel=0
|
||||
|
72
files/dotfiles/vim/config/plugins.vim
Normal file
72
files/dotfiles/vim/config/plugins.vim
Normal file
@@ -0,0 +1,72 @@
|
||||
" Supertab
|
||||
let g:SuperTabDefaultCompletionType = "context"
|
||||
|
||||
" Ultisnips
|
||||
let g:ultisnips_python_style='sphinx'
|
||||
let g:UltiSnipsEditSplit='vertical'
|
||||
" Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe.
|
||||
" let g:UltiSnipsExpandTrigger="tab"
|
||||
let g:UltiSnipsExpandTrigger="<c-k>"
|
||||
|
||||
" Airline
|
||||
let g:airline_powerline_fonts = 1
|
||||
let g:tmuxline_powerline_separators = 0
|
||||
|
||||
" Nerdtree
|
||||
let NERDTreeIgnore = ['.pyc$']
|
||||
"autocmd VimEnter * NERDTree
|
||||
|
||||
" Vim-notes
|
||||
let g:notes_directories = ['~/Documents/Notes']
|
||||
let g:notes_suffix = '.md'
|
||||
|
||||
" Ale
|
||||
let g:ale_sign_column_always = 1
|
||||
let g:ale_sign_error = '⚑'
|
||||
let g:ale_sign_warning = '⚐'
|
||||
|
||||
" fzf
|
||||
" Search and switch buffers
|
||||
nmap <leader>b :Buffers<cr>
|
||||
" Find files by name under the current directory
|
||||
nmap <leader>f :Files<cr>
|
||||
" Find files by name under the home directory
|
||||
nmap <leader>h :Files ~/<cr>
|
||||
" Search content in the current file
|
||||
" nmap <leader>l :BLines<cr>
|
||||
" Search content in the current file and in files under the current directory
|
||||
" nmap <leader>g :Ag<cr>
|
||||
|
||||
" IndentLine
|
||||
let g:indentLine_fileTypeExclude = ['tex']
|
||||
" let g:indentLine_concealcursor = ''
|
||||
" let g:indentLine_conceallevel = 1
|
||||
"
|
||||
" Vim-polyglot
|
||||
" let g:LatexBox_no_mappings = 1
|
||||
let g:polyglot_disabled = ["latex"]
|
||||
|
||||
" Vimtex
|
||||
let g:vimtex_compiler_latexmk = {
|
||||
\ 'backend' : 'jobs',
|
||||
\ 'background' : 1,
|
||||
\ 'build_dir' : '',
|
||||
\ 'callback' : 0,
|
||||
\ 'continuous' : 1,
|
||||
\ 'options' : [
|
||||
\ '-pdf',
|
||||
\ '-verbose',
|
||||
\ '-file-line-error',
|
||||
\ '-synctex=1',
|
||||
\ '-interaction=nonstopmode',
|
||||
\ '-silent',
|
||||
\ '-shell-escape',
|
||||
\ ],
|
||||
\}
|
||||
|
||||
" Les fichiers sty et cls sont vus comme des fichiers tex
|
||||
autocmd BufRead,BufNewFile *.{sty,cls} setlocal syntax=tex
|
||||
|
||||
autocmd FileType latex unmap <leader>ll
|
||||
autocmd FileType latex nmap <leader>ll <plug>(vimtex-compile)
|
||||
|
14
files/dotfiles/vim/templates/skeleton.py
Normal file
14
files/dotfiles/vim/templates/skeleton.py
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
|
||||
|
||||
__all__ = []
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# -----------------------------
|
||||
# Reglages pour 'vim'
|
||||
# vim:set autoindent expandtab tabstop=4 shiftwidth=4:
|
||||
# cursor: 16 del
|
111
files/dotfiles/vimrc
Normal file
111
files/dotfiles/vimrc
Normal file
@@ -0,0 +1,111 @@
|
||||
set nocompatible " be iMproved, required
|
||||
|
||||
" set the runtime path to include plug.com and initialize
|
||||
call plug#begin('~/.vim/plugged')
|
||||
|
||||
" Airline statusline
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
|
||||
"" plug.vim management
|
||||
Plug 'junegunn/vim-plug'
|
||||
|
||||
"" Basic config for vim
|
||||
Plug 'tpope/vim-sensible'
|
||||
|
||||
" Git integration
|
||||
Plug 'tpope/vim-fugitive'
|
||||
|
||||
" Nerdtree
|
||||
Plug 'scrooloose/nerdtree'
|
||||
Plug 'Xuyuanp/nerdtree-git-plugin'
|
||||
"Plug 'jistr/vim-nerdtree-tabs'
|
||||
|
||||
" Supertab (tab instead of ctrl-n or p
|
||||
Plug 'ervandew/supertab'
|
||||
|
||||
" Special autocompletion
|
||||
Plug 'SirVer/ultisnips'
|
||||
Plug 'honza/vim-snippets'
|
||||
"Plug 'ctrlpvim/ctrlp.vim'
|
||||
"Plug 'Valloric/YouCompleteMe'
|
||||
|
||||
" Change surround
|
||||
Plug 'tpope/vim-surround'
|
||||
|
||||
"" Plug vimtex
|
||||
Plug 'lervag/vimtex'
|
||||
|
||||
" Asynchronous Lint Engine
|
||||
Plug 'w0rp/ale'
|
||||
|
||||
" Completion for python
|
||||
Plug 'davidhalter/jedi-vim'
|
||||
|
||||
" Vim note taking plugin
|
||||
Plug 'xolox/vim-misc'
|
||||
Plug 'xolox/vim-notes'
|
||||
|
||||
" vuejs syntax
|
||||
Plug 'posva/vim-vue'
|
||||
|
||||
" Clever substitute
|
||||
Plug 'tpope/tpope-vim-abolish'
|
||||
|
||||
" Repeat
|
||||
Plug 'tpope/vim-repeat'
|
||||
|
||||
" Git on lines
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
|
||||
" Emmet
|
||||
Plug 'mattn/emmet-vim'
|
||||
|
||||
" Polyglot synthax hightlight autodetect
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
|
||||
" Show indent lines
|
||||
Plug 'Yggdroot/indentLine'
|
||||
|
||||
" fzf
|
||||
Plug 'junegunn/fzf.vim'
|
||||
|
||||
" Tmux integration
|
||||
Plug 'christoomey/vim-tmux-navigator'
|
||||
|
||||
" Python folding
|
||||
Plug 'kalekundert/vim-coiled-snake'
|
||||
Plug 'Konfekt/FastFold'
|
||||
|
||||
" Touch typing
|
||||
" Plug 'vim-scripts/TTCoach'
|
||||
|
||||
|
||||
""Plug 'edkolev/tmuxline.vim'
|
||||
"Plug 'nvie/vim-flake8'
|
||||
"Plug 'chriskempson/base16-vim'
|
||||
"Plug 'chase/vim-ansible-yaml'
|
||||
"Plug 'tmhedberg/SimpylFold'
|
||||
"Plug 'vim-pandoc/vim-pandoc'
|
||||
"Plug 'vim-pandoc/vim-pandoc-syntax'
|
||||
"Plug 'Rykka/riv.vim'
|
||||
"Plug 'aperezdc/vim-template'
|
||||
"
|
||||
"
|
||||
"" Color scheme
|
||||
"Plug 'vim-scripts/Wombat'
|
||||
"Plug 'fugalh/desert.vim'
|
||||
Plug 'jnurmine/Zenburn'
|
||||
"Plug 'altercation/vim-colors-solarized'
|
||||
"Plug 'blockloop/vim-codeschool'
|
||||
"Plug 'ryanoasis/vim-devicons'
|
||||
|
||||
" All of your Plugs must be added before the following line
|
||||
call plug#end() " required
|
||||
"
|
||||
|
||||
" import config from ./config
|
||||
" runtime! config/**/*.vim
|
||||
"runtime! config/*.vim
|
||||
runtime! config/base.vim
|
||||
runtime! config/plugins.vim
|
10
files/dotfiles/zsh_plugins.txt
Normal file
10
files/dotfiles/zsh_plugins.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
zsh-users/zsh-syntax-highlighting
|
||||
zsh-users/zsh-autosuggestions
|
||||
zsh-users/zsh-history-substring-search
|
||||
desyncr/auto-ls
|
||||
andrewferrier/fzf-z
|
||||
|
||||
https://github.com/denysdovhan/spaceship-prompt spaceship
|
||||
|
||||
|
||||
|
5
files/dotfiles/zshrc
Normal file
5
files/dotfiles/zshrc
Normal file
@@ -0,0 +1,5 @@
|
||||
# Created by newuser for 5.5.1
|
||||
source <(antibody init)
|
||||
antibody bundle < ~/.zsh_plugins.txt
|
||||
PATH="$PATH:$(ruby -e 'print Gem.user_dir')/bin:$(yarn config get prefix)/bin"
|
||||
source ~/.zshrc.local
|
45
files/dotfiles/zshrc.local
Normal file
45
files/dotfiles/zshrc.local
Normal file
@@ -0,0 +1,45 @@
|
||||
# Lines configured by zsh-newuser-install
|
||||
HISTFILE=~/.zsh_history
|
||||
HISTSIZE=1000
|
||||
SAVEHIST=1000
|
||||
setopt appendhistory nomatch
|
||||
# End of lines configured by zsh-newuser-install
|
||||
# The following lines were added by compinstall
|
||||
zstyle :compinstall filename '/home/lafrite/.zshrc'
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
# End of lines added by compinstall
|
||||
|
||||
# Autocompletion insensitive to case
|
||||
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
|
||||
|
||||
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=245"
|
||||
# automatic color scheme with pywall
|
||||
|
||||
# Vim keybindings
|
||||
bindkey -v
|
||||
|
||||
# substring search
|
||||
bindkey '^[[A' history-substring-search-up
|
||||
bindkey '^[[B' history-substring-search-down
|
||||
|
||||
bindkey -M vicmd 'k' history-substring-search-up
|
||||
bindkey -M vicmd 'j' history-substring-search-down
|
||||
|
||||
# fzf
|
||||
source /usr/share/fzf/key-bindings.zsh
|
||||
source /usr/share/fzf/completion.zsh
|
||||
|
||||
# fzf-z
|
||||
export FZFZ_EXTRA_DIRS="/media/documents/"
|
||||
|
||||
# Alias
|
||||
alias notes="vim -c Note"
|
||||
# taskwarrior alias
|
||||
alias in="task add +in"
|
||||
|
||||
export EDITOR="vim"
|
||||
|
||||
# auto_ls pluting
|
||||
export AUTO_LS_COMMANDS=(ls git-status)
|
Reference in New Issue
Block a user