These configuration files are not intended to work for everybody, however everybody is free to get some inspiration in thoses.
This is old config files, not maintained anymore.
History is configured to ignore some commands (see variable HISTIGNORE
). It also ignore every commands beginning with a space (see variable HISTCONTROL
).
The pattern **
match all files.
When no files matches a *
, raise an error.
Correction of minor errors.
git l
prints a short log of recent commitsgit s
prints a short format of statusgit d
show the diff since the last commitgit di <n>
show the diff since n last revisionsgit cps
fast commit, push and show status
Every shortcuts except for exiting use the Meta key as modifier. Here are most importants :
Meta+Shift+r
restart i3Ctrl+Alt+Backspace
exit i3Meta+Return
execute dmenu to launch a programMeta+t
launch a terminalCtrl+Space
pause music (via mpc)Ctrl+Right
next music (via mpc)Ctrl+Left
precedent music (via mpc)²
show scratchpadShift+²
create scratchpadMeta+q
kill the windowMeta+(hjkl)
change focus (also works with arrows)Meta+Shift+(hjkl)
move window (also works with arrows)Meta+f
toggle fullscreenMeta+g
prepare an horizontal splitMeta+v
prepare a vertical splitMeta+e
toggle splitMeta+s
stack windowsMeta+d
tab windowsMeta+Space
show floating windowsMeta+Shift+Space
toggle floating windowMeta+(<wxcbn,;:!)
move to a certain workspaceMeta+Shift+(<wxcbn,;:!)
move the window to a certain workspaceMeta+Backspace
enter in system modeMeta+*
enter in launch mode (beta)Meta+r
enter in resize mode The music is managed via MPC, and informations in status bar are ask to a mpd client (mopidy works, too). The locker comes from i3-extras by ashinkarov and is very nice ;)
Here are scripts for qjackctl to connect with pulse-audio.
This folder contains different kind of files, named after the corresponding suffix :
c
C sourceh
C headercpp
C++ sourcehpp
C++ headerMakefile
An incredible out-of-the-box Makefile for C/C++py
Python filetex
example of LaTeX file, with the compiled result :tex.pdf
xhtml
example of a XHTML 5 file
Color style, behaviour with scroll, urls...
- The indentation is smart, and set to 4 spaces
<F2>
activate the paste mode (useful to prevent shitty indent)- The search is improved
- Autocompletion is smart, with the
<TAB>
key - Folding is enable. You can manage the folding level globally with
set foldlevel=n
where n is between 0 (everything folded) and 99 (nothing folded), or else just open/close withspace
<Enter>
activate the Insert modekj
escape the Insert mode- You can go to the beginning or to the end of the line with shortcuts
<C-a>
and<C-e>
. - Therefor
<C-w>
replace the original shortcut for incrementation - Command
:W
save with root privileged when you forgot to write sudo... <C-s>
and<C-c>
respectively save and quit the file- You can toggle between relative and absolute numbers with
,
- Columns over 80 are highlight to respect linux coding style
Modified commands, new ones, error corrector... See the file to know more.
Edit a new file pre-filled with the content of the associate template in templates
folder.
Auto-compile C++, C and ADA source code, execute it and delete the executable.
Auto-extract an archive. Needs tar
, bunzip2
, unrar
, gunzip
, unzip
, uncompress
, 7z
installed to work perfectly.
Swap two files.
Repeat n times the command.
Print informations on the system, CPU stats, memory stats, disk usage, open connections. Useful to have a brief overview.