@@ -94,6 +94,10 @@ while read -r line ; do | |||
# focused free desktop | |||
wm_infos="${wm_infos}%{F$COLOR_FOCUSED}%{+u} ${name} %{-u}%{F-}" | |||
;; | |||
u*) | |||
# unfocused urgent desktop | |||
wm_infos="${wm_infos}%{F$COLOR_OCCUPIED}%{+u} ${name} %{-u}%{F-}" | |||
;; | |||
U*) | |||
# focused urgent desktop | |||
wm_infos="${wm_infos}%{F$COLOR_FOCUSED}%{+u} ${name} %{-u}%{F-}" | |||
@@ -9,7 +9,7 @@ name=$1 | |||
shift | |||
if [ -z `xdotool search --classname $name` ];then | |||
bspc subscribe node -c 1 | cut -d ' ' -f 5 > /tmp/${name}_win & | |||
bspc subscribe node_add -c 1 | cut -d ' ' -f 5 > /tmp/${name}_win & | |||
kitty --name $name $* | |||
sleep .5 | |||
else | |||
@@ -40,6 +40,7 @@ bspc rule -a Arandr state=floating | |||
bspc rule -a Zathura state=tiled | |||
bspc rule -a Pinentry state=floating | |||
bspc rule -a Soffice state=tiled | |||
bspc rule -a Emacs state=tiled | |||
# Figures and PDFs on second monitor | |||
if [ "$HOST" = "hegp" ];then | |||
@@ -60,7 +61,7 @@ if [ "$HOST" = "laptop" ];then | |||
elif [ "$HOST" = "hegp" ];then | |||
bspc rule -a kitty:Volume monitor=^1 sticky=on state=floating rectangle=490x300+1170+30 | |||
bspc rule -a kitty:Wiki monitor=^1 sticky=on state=floating rectangle=1000x1000+350+30 | |||
bspc rule -a kitty:Ranger monitor=^1 sticky=on state=floating rectangle=1550x900+0+0 center=on locked=on | |||
bspc rule -a kitty:Ranger monitor=^1 sticky=on state=floating rectangle=1550x900+0+0 center=on | |||
bspc rule -a kitty:Music_playlist sticky=on state=floating rectangle=430x470+30+64 | |||
bspc rule -a kitty:Music_media sticky=on state=floating rectangle=430x476+30+574 | |||
elif [ "$HOST" = "home" ];then | |||
@@ -1,10 +1,9 @@ | |||
#/etc/khal/khal.conf.sample | |||
[calendars] | |||
[[work]] | |||
[[Work]] | |||
path = ~/Mail/Calendars/Work/9f4df33f-614b-d20d-3337-b2e3bc5f685c/ | |||
color = light green | |||
[[perso]] | |||
[[Perso]] | |||
path = ~/Mail/Calendars/Perso/5b0bbb40-8725-3c71-3a3d-8951170cbee7/ | |||
color = light blue | |||
@@ -17,7 +16,7 @@ path = ~/Mail/khal/khal.db | |||
[locale] | |||
local_timezone = Europe/Paris | |||
default_timezone = America/New_York | |||
default_timezone = Europe/Paris | |||
timeformat = %H:%M | |||
dateformat = %m-%d | |||
@@ -29,7 +28,7 @@ firstweekday = 0 | |||
[default] | |||
default_command = calendar | |||
default_calendar = work | |||
default_calendar = Work | |||
timedelta = 7d # the default timedelta that list uses | |||
highlight_event_days = True # the default is False | |||
@@ -41,7 +40,7 @@ right = r | |||
external_edit = e | |||
new = N | |||
today = T | |||
delete = l | |||
delete = x | |||
[view] | |||
@@ -130,6 +130,12 @@ hwdec=vaapi | |||
# Most video filters do not work with hardware decoding. | |||
#vf-clr=yes | |||
############## | |||
# Youtube-dl # | |||
############## | |||
ytdl-format=bestvideo[height <= 1080]+bestaudio/best | |||
# You can also include other configuration files. | |||
#include=/path/to/the/file/you/want/to/include |
@@ -72,6 +72,7 @@ bind pager gg top | |||
bind pager G bottom | |||
bind attach r view-attach | |||
bind compose x detach-file | |||
bind browser r select-entry | |||
bind index r display-message | |||
bind pager r view-attachments | |||
@@ -0,0 +1,6 @@ | |||
Dr Maxime Wack, MD, MSc | |||
Assistant Hospitalo-Universitaire | |||
Pôle Informatique et Santé Publique | |||
Hôpital Européen Georges Pompidou | |||
tel: 01 56 09 23 63 | |||
@@ -40,7 +40,7 @@ case_when($1 ~ $2, | |||
endsnippet | |||
snippet lib | |||
snippet lib "" bA | |||
library(${1:tidyverse}) | |||
endsnippet |
@@ -44,7 +44,7 @@ case_when($1 ~ $2, | |||
endsnippet | |||
snippet lib | |||
snippet lib "" bA | |||
library(${1:tidyverse}) | |||
endsnippet |
@@ -3,4 +3,13 @@ tnoremap » %>% | |||
tnoremap <Space> | |||
inoremap <Space> | |||
" execute "normal \<Plug>RStart" | |||
if !empty(maparg('\rl', 'n'))| | |||
\ unmap <buffer> \rl| | |||
\ unmap <buffer> \rt| | |||
\ endif | |||
nmap <buffer> <silent> <leader>rl :call RAction("rm")<CR> | |||
nmap <buffer> <silent> <leader>rt :call RAction("dplyr::glimpse")<CR> | |||
nmap <buffer> <silent> <leader>rd :call RAction(".View")<CR> | |||
nmap <buffer> <silent> <leader>rg :call RAction("qplot")<CR> | |||
nmap <buffer> <silent> <leader>rv :call RAction("table")<CR> |
@@ -1,8 +1,10 @@ | |||
if !empty(maparg('\rl', 'n'))| | |||
\ unmap <buffer> \rl| | |||
\ unmap <buffer> \rt| | |||
\ endif | |||
nmap <buffer> <silent> <leader>rd :call RAction(".View")<CR> | |||
nmap <buffer> <silent> <leader>rl :call RAction("rm")<CR> | |||
nmap <buffer> <silent> <leader>rt :call RAction("dplyr::glimpse")<CR> | |||
nmap <buffer> <silent> <leader>rd :call RAction(".View")<CR> | |||
nmap <buffer> <silent> <leader>rg :call RAction("qplot")<CR> | |||
nmap <buffer> <silent> <leader>rv :call RAction("table")<CR> |
@@ -3,7 +3,16 @@ tnoremap » %>% | |||
let b:surround_99 = "```{r \1name\1}\n\r\n```" | |||
" execute "normal \<Plug>RStart" | |||
if !empty(maparg('\rl', 'n'))| | |||
\ unmap <buffer> \rl| | |||
\ unmap <buffer> \rt| | |||
\ endif | |||
nmap <buffer> <silent> <leader>rl :call RAction("rm")<CR> | |||
nmap <buffer> <silent> <leader>rt :call RAction("dplyr::glimpse")<CR> | |||
nmap <buffer> <silent> <leader>rd :call RAction(".View")<CR> | |||
nmap <buffer> <silent> <leader>rg :call RAction("qplot")<CR> | |||
nmap <buffer> <silent> <leader>rv :call RAction("table")<CR> | |||
" func! litprog#paintChunks() | |||
" endfunc | |||
@@ -115,7 +115,7 @@ command! WW execute "w suda://%" | |||
command! W execute "w" | |||
" Edit vimrc | |||
nnoremap <leader>$ :e ~/dotfiles/.config/nvim/init.vim<CR> | |||
nnoremap <leader>$ :e $MYVIMRC<CR> | |||
" Exit terminal | |||
tnoremap ii <C-\><C-n> |
@@ -89,7 +89,7 @@ set softtabstop=2 | |||
set shiftwidth=2 " Shift by 2 spaces when indenting | |||
set formatoptions+=j " Delete comment character when joining comment lines | |||
set diffopt=filler,vertical,foldcolumn:0 | |||
set diffopt=filler,vertical,foldcolumn:0,iwhiteall | |||
set clipboard^=unnamed,unnamedplus "default clipboard to X clipboard | |||
set diffopt=filler,vertical | |||
@@ -6,6 +6,9 @@ let g:repl['scheme'] = { | |||
\ 'syntax': 'scheme', | |||
\ 'title': 'Scheme REPL'} | |||
" ALE | |||
let g:ale_r_lintr_options = "lintr::with_defaults(absolute_paths_linter, assignment_linter, closed_curly_linter, commas_linter, infix_spaces_linter, no_tab_linter, snake_case_linter = NULL, multiple_dots_linter, spaces_inside_linter, spaces_left_parentheses_linter, trailing_blank_lines_linter, trailing_whitespace_linter, open_curly_linter = NULL, camel_case_linter = NULL, single_quotes_linter = NULL, commented_code_linter, line_length_linter = NULL, object_length_linter = NULL)" | |||
" elm | |||
let g:elm_make_output_file = "index.html" | |||
let g:elm_make_show_warnings = 1 | |||
@@ -42,6 +42,9 @@ noremap <leader>g :Gstatus<CR> | |||
noremap <leader>gp :Git push<CR> | |||
noremap <leader>ga :Git add % -f<CR> | |||
" Blame line | |||
nmap <silent> <leader>gb :ToggleBlameLine<CR> | |||
" Gitv | |||
let g:Gitv_CustomMappings = { | |||
\'prevCommit': 's', | |||
@@ -17,6 +17,7 @@ call plug#begin('~/.config/nvim/plugged') | |||
Plug 'tpope/vim-fugitive' | |||
Plug 'airblade/vim-gitgutter' | |||
Plug 'gregsexton/gitv' | |||
Plug 'tveskag/nvim-blame-line' | |||
" Elm | |||
Plug 'elmcast/elm-vim' | |||
" vimwiki | |||
@@ -57,6 +58,7 @@ call plug#begin('~/.config/nvim/plugged') | |||
Plug 'ncm2/ncm2-jedi' | |||
Plug 'ncm2/ncm2-ultisnips' | |||
Plug 'gaalcaras/ncm-R' | |||
Plug 'maximewack/ncm2-khard' | |||
call plug#end() | |||
source $HOME/.config/nvim/init.d/keys.vim | |||
@@ -1,25 +0,0 @@ | |||
Pompidou | |||
HPV | |||
downregulates | |||
pRb | |||
p | |||
p53 | |||
downregulating | |||
oncogenic | |||
proto | |||
capside | |||
keratinized | |||
mucosal | |||
pentamers | |||
capsomer | |||
bioinformatics | |||
Péré | |||
Veyer | |||
viremia | |||
apoptosis | |||
#ancerization | |||
cancerization | |||
cryogenically | |||
NGS | |||
episomal | |||
oropharynx |
@@ -1,33 +0,0 @@ | |||
monocentrique | |||
cyberknife | |||
stéréotaxique | |||
thromboembolique | |||
observationnelle | |||
stéréotaxiques | |||
CyberKnife | |||
l'HEGP | |||
post | |||
surrisque | |||
oncologues | |||
thromboemboliques | |||
NIP | |||
NDA | |||
Séquençage | |||
EDS | |||
Intro | |||
intranet | |||
sémaglutide | |||
surpoids | |||
comorbidités | |||
dyslipidémie | |||
HbA1c | |||
liposuccion | |||
omique | |||
séquençage | |||
génotypages | |||
HPV | |||
omiques | |||
ADN | |||
bioinformatique | |||
FEVG | |||
BNP |
@@ -1195,7 +1195,7 @@ c.tabs.title.alignment = 'left' | |||
# Either ''webkit'' or ''webengine'' * `{private}` : Indicates when | |||
# private mode is enabled. | |||
# Type: FormatString | |||
c.tabs.title.format = '{title}' | |||
c.tabs.title.format = '{current_title}' | |||
# The format to use for the tab title for pinned tabs. The same | |||
# placeholders like for `tabs.title.format` are defined. | |||
@@ -1270,7 +1270,7 @@ c.window.hide_decoration = False | |||
# the current web page. * `{backend}`: Either ''webkit'' or | |||
# ''webengine'' * `{private}` : Indicates when private mode is enabled. | |||
# Type: FormatString | |||
c.window.title_format = '{perc}{title}' | |||
c.window.title_format = '{perc}{current_title}' | |||
# The default zoom level. | |||
# Type: Perc | |||
@@ -1313,6 +1313,7 @@ config.bind(';o', 'hint links fill :open {hint-url}') | |||
config.bind(';f', 'hint --rapid links tab-bg') | |||
config.bind(';t', 'hint inputs') | |||
config.bind(';y', 'hint links yank') | |||
config.bind(';x', 'hint all delete') | |||
config.bind('<Alt-1>', 'tab-focus 1') | |||
config.bind('<Alt-2>', 'tab-focus 2') | |||
config.bind('<Alt-3>', 'tab-focus 3') | |||
@@ -1527,8 +1528,8 @@ config.bind('<Return>', 'prompt-accept', mode='prompt') | |||
config.bind('<Shift-Tab>', 'prompt-item-focus prev', mode='prompt') | |||
config.bind('<Tab>', 'prompt-item-focus next', mode='prompt') | |||
config.bind('<Up>', 'prompt-item-focus prev', mode='prompt') | |||
config.bind('n', 'prompt-accept no', mode='prompt') | |||
config.bind('y', 'prompt-accept yes', mode='prompt') | |||
config.bind('<Ctrl-N>', 'prompt-accept no', mode='prompt') | |||
config.bind('<Ctrl-Y>', 'prompt-accept yes', mode='prompt') | |||
# Bindings for register mode | |||
config.bind('<Escape>', 'leave-mode', mode='register') | |||
@@ -1,697 +0,0 @@ | |||
# vim: ft=conf | |||
# | |||
# In this config file, qutebrowser's key bindings are configured. | |||
# The format looks like this: | |||
# | |||
# [keymode] | |||
# | |||
# command | |||
# keychain | |||
# keychain2 | |||
# ... | |||
# | |||
# All blank lines and lines starting with '#' are ignored. | |||
# Inline-comments are not permitted. | |||
# | |||
# keymode is a comma separated list of modes in which the key binding should be | |||
# active. If keymode starts with !, the key binding is active in all modes | |||
# except the listed modes. | |||
# | |||
# For special keys (can't be part of a keychain), enclose them in `<`...`>`. | |||
# For modifiers, you can use either `-` or `+` as delimiters, and these names: | |||
# | |||
# * Control: `Control`, `Ctrl` | |||
# * Meta: `Meta`, `Windows`, `Mod4` | |||
# * Alt: `Alt`, `Mod1` | |||
# * Shift: `Shift` | |||
# | |||
# For simple keys (no `<>`-signs), a capital letter means the key is pressed | |||
# with Shift. For special keys (with `<>`-signs), you need to explicitly add | |||
# `Shift-` to match a key pressed with shift. | |||
# | |||
# Note that default keybindings are always bound, and need to be explicitly | |||
# unbound if you wish to remove them: | |||
# | |||
# <unbound> | |||
# keychain | |||
# keychain2 | |||
# ... | |||
[!normal] | |||
leave-mode | |||
<escape> | |||
<ctrl-[> | |||
[normal] | |||
# Keybindings for normal mode. | |||
clear-keychain ;; search ;; fullscreen --leave | |||
<escape> | |||
set-cmd-text -s :open | |||
J | |||
set-cmd-text :open {url} | |||
go | |||
set-cmd-text -s :open -t | |||
j | |||
set-cmd-text :open -t {url} | |||
gO | |||
set-cmd-text -s :open -b | |||
xo | |||
set-cmd-text :open -b {url} | |||
xO | |||
set-cmd-text -s :open -w | |||
wo | |||
set-cmd-text :open -w {url} | |||
wO | |||
open -t | |||
ga | |||
<ctrl-t> | |||
tab-close | |||
q | |||
<ctrl-w> | |||
tab-only | |||
co | |||
tab-focus | |||
l | |||
tab-move | |||
gm | |||
tab-move - | |||
gv | |||
tab-move + | |||
gl | |||
tab-prev | |||
v | |||
tab-clone | |||
gC | |||
reload | |||
m | |||
reload -f | |||
R | |||
back | |||
gt | |||
back -t | |||
gT | |||
back -w | |||
gW | |||
forward | |||
gr | |||
forward -t | |||
gR | |||
forward -w | |||
gw | |||
fullscreen | |||
<f11> | |||
hint | |||
f | |||
hint all tab | |||
F | |||
hint all window | |||
wf | |||
hint all tab-bg | |||
;b | |||
hint all tab-fg | |||
;r | |||
hint all hover | |||
;h | |||
hint images | |||
;i | |||
hint images tab | |||
;I | |||
hint images tab-bg | |||
.i | |||
hint links fill :open {hint-url} | |||
;o | |||
hint links fill :open -t {hint-url} | |||
;O | |||
hint links fill :open -b {hint-url} | |||
.o | |||
hint links yank | |||
;y | |||
hint links yank-primary | |||
;Y | |||
hint --rapid links tab-bg | |||
;f | |||
hint --rapid links window | |||
;R | |||
hint links download | |||
;d | |||
scroll left | |||
t | |||
scroll down | |||
s | |||
scroll up | |||
d | |||
scroll right | |||
r | |||
undo | |||
h | |||
<ctrl-shift-t> | |||
scroll-perc 0 | |||
gg | |||
scroll-perc | |||
G | |||
search-next | |||
n | |||
search-prev | |||
N | |||
enter-mode insert | |||
i | |||
enter-mode caret | |||
c | |||
yank | |||
yy | |||
yank -s | |||
yY | |||
yank title | |||
yt | |||
yank title -s | |||
yT | |||
yank domain | |||
yd | |||
yank domain -s | |||
yD | |||
open -- {clipboard} | |||
pp | |||
open -- {primary} | |||
pP | |||
open -t -- {clipboard} | |||
Pp | |||
open -t -- {primary} | |||
PP | |||
open -w -- {clipboard} | |||
wp | |||
open -w -- {primary} | |||
wP | |||
set-cmd-text -s :quickmark-load | |||
b | |||
set-cmd-text -s :quickmark-load -t | |||
B | |||
set-cmd-text -s :quickmark-load -w | |||
wb | |||
set-cmd-text -s :bookmark-load | |||
gb | |||
set-cmd-text -s :bookmark-load -t | |||
gB | |||
set-cmd-text -s :bookmark-load -w | |||
wB | |||
zoom-out | |||
- | |||
zo | |||
zoom-in | |||
+ | |||
zi | |||
zoom | |||
= | |||
zz | |||
navigate prev | |||
[[ | |||
navigate next | |||
]] | |||
navigate prev -t | |||
{{ | |||
navigate next -t | |||
}} | |||
navigate up | |||
gu | |||
navigate up -t | |||
gU | |||
navigate increment | |||
<ctrl-a> | |||
navigate decrement | |||
<ctrl-x> | |||
inspector | |||
wi | |||
download | |||
gd | |||
download-cancel | |||
ad | |||
download-clear | |||
cd | |||
view-source | |||
gf | |||
tab-focus last | |||
<ctrl-tab> | |||
enter-mode passthrough | |||
<ctrl-v> | |||
quit | |||
<ctrl-q> | |||
scroll-page 0 1 | |||
<ctrl-s> | |||
scroll-page 0 -1 | |||
<ctrl-d> | |||
scroll-page 0 0.5 | |||
S | |||
scroll-page 0 -0.5 | |||
D | |||
tab-focus 1 | |||
<alt-1> | |||
tab-focus 2 | |||
<alt-2> | |||
tab-focus 3 | |||
<alt-3> | |||
tab-focus 4 | |||
<alt-4> | |||
tab-focus 5 | |||
<alt-5> | |||
tab-focus 6 | |||
<alt-6> | |||
tab-focus 7 | |||
<alt-7> | |||
tab-focus 8 | |||
<alt-8> | |||
tab-focus 9 | |||
<alt-9> | |||
home | |||
<ctrl-h> | |||
stop | |||
<ctrl-z> | |||
<ctrl-alt-p> | |||
follow-selected | |||
<return> | |||
<ctrl-m> | |||
<ctrl-j> | |||
<shift-return> | |||
<enter> | |||
<shift-enter> | |||
follow-selected -t | |||
<ctrl-return> | |||
<ctrl-enter> | |||
<unbound> | |||
ss | |||
sl | |||
sk | |||
Ss | |||
sf | |||
spawn mpv {url} | |||
p | |||
quickmark-save | |||
M | |||
hint links spawn mpv {hint-url} | |||
P | |||
open -w | |||
<ctrl-n> | |||
enter-mode set_mark | |||
` | |||
enter-mode jump_mark | |||
' | |||
yank pretty-url | |||
yp | |||
yank pretty-url -s | |||
yP | |||
hint inputs | |||
;t | |||
repeat-command | |||
. | |||
yank selection | |||
y | |||
spawn --userscript password_fill | |||
<space> | |||
set-cmd-text / | |||
/ | |||
set-cmd-text ? | |||
? | |||
set-cmd-text : | |||
: | |||
tab-next | |||
<ctrl-pgdown> | |||
run-macro | |||
@ | |||
wq | |||
ZZ | |||
tab-focus -1 | |||
g$ | |||
tab-pin | |||
<ctrl-p> | |||
[insert] | |||
# Keybindings for insert mode. | |||
# Since normal keypresses are passed through, only special keys are | |||
# supported in this mode. | |||
# Useful hidden commands to map in this section: | |||
# * `open-editor`: Open a texteditor with the focused field. | |||
# * `paste-primary`: Paste primary selection at cursor position. | |||
open-editor | |||
<ctrl-e> | |||
insert-text {primary} | |||
<shift-ins> | |||
[hint] | |||
# Keybindings for hint mode. | |||
# Since normal keypresses are passed through, only special keys are | |||
# supported in this mode. | |||
# Useful hidden commands to map in this section: | |||
# * `follow-hint`: Follow the currently selected hint. | |||
follow-hint | |||
<return> | |||
<ctrl-m> | |||
<ctrl-j> | |||
<shift-return> | |||
<enter> | |||
<shift-enter> | |||
hint --rapid links download | |||
<ctrl-d> | |||
hint all tab-bg | |||
<ctrl-b> | |||
hint --rapid links tab-bg | |||
<ctrl-r> | |||
hint links | |||
<ctrl-f> | |||
[command] | |||
# Keybindings for command mode. | |||
# Since normal keypresses are passed through, only special keys are | |||
# supported in this mode. | |||
# Useful hidden commands to map in this section: | |||
# * `command-history-prev`: Switch to previous command in history. | |||
# * `command-history-next`: Switch to next command in history. | |||
# * `completion-item-focus`: Select another item in completion. | |||
# * `command-accept`: Execute the command currently in the commandline. | |||
command-history-prev | |||
<ctrl-p> | |||
command-history-next | |||
<ctrl-n> | |||
completion-item-focus prev | |||
<shift-tab> | |||
<up> | |||
completion-item-focus next | |||
<tab> | |||
<down> | |||
completion-item-del | |||
<ctrl-d> | |||
command-accept | |||
<return> | |||
<ctrl-m> | |||
<ctrl-j> | |||
<shift-return> | |||
<enter> | |||
<shift-enter> | |||
completion-item-focus next-category | |||
<ctrl-tab> | |||
completion-item-focus prev-category | |||
<ctrl-shift-tab> | |||
[prompt] | |||
# Keybindings for prompts in the status line. | |||
# You can bind normal keys in this mode, but they will be only active | |||
# when a yes/no-prompt is asked. For other prompt modes, you can only | |||
# bind special keys. | |||
# Useful hidden commands to map in this section: | |||
# * `prompt-accept`: Confirm the entered value. | |||
# * `prompt-accept yes`: Answer yes to a yes/no question. | |||
# * `prompt-accept no`: Answer no to a yes/no question. | |||
prompt-accept | |||
<return> | |||
<ctrl-m> | |||
<ctrl-j> | |||
<shift-return> | |||
<enter> | |||
<shift-enter> | |||
prompt-accept yes | |||
y | |||
prompt-accept no | |||
n | |||
prompt-open-download | |||
<ctrl-x> | |||
prompt-item-focus prev | |||
<shift-tab> | |||
<up> | |||
prompt-item-focus next | |||
<tab> | |||
<down> | |||
[command,prompt] | |||
rl-backward-char | |||
<ctrl-b> | |||
rl-forward-char | |||
<ctrl-f> | |||
rl-backward-word | |||
<alt-b> | |||
rl-forward-word | |||
<alt-f> | |||
rl-beginning-of-line | |||
<ctrl-a> | |||
rl-end-of-line | |||
<ctrl-e> | |||
rl-unix-line-discard | |||
<ctrl-u> | |||
rl-kill-line | |||
<ctrl-k> | |||
rl-kill-word | |||
<alt-d> | |||
rl-unix-word-rubout | |||
<ctrl-w> | |||
<alt-backspace> | |||
rl-yank | |||
<ctrl-y> | |||
rl-delete-char | |||
<ctrl-?> | |||
rl-backward-delete-char | |||
<ctrl-h> | |||
[caret] | |||
toggle-selection | |||
v | |||
<space> | |||
drop-selection | |||
<ctrl-space> | |||
enter-mode normal | |||
c | |||
move-to-next-line | |||
j | |||
move-to-prev-line | |||
k | |||
move-to-next-char | |||
l | |||
move-to-prev-char | |||
h | |||
move-to-end-of-word | |||
e | |||
move-to-next-word | |||
w | |||
move-to-prev-word | |||
b | |||
move-to-start-of-next-block | |||
] | |||
move-to-start-of-prev-block | |||
[ | |||
move-to-end-of-next-block | |||
} | |||
move-to-end-of-prev-block | |||
{ | |||
move-to-start-of-line | |||
0 | |||
move-to-end-of-line | |||
$ | |||
move-to-start-of-document | |||
gg | |||
move-to-end-of-document | |||
G | |||
yank selection -s | |||
Y | |||
yank selection | |||
y | |||
<return> | |||
<ctrl-m> | |||
<ctrl-j> | |||
<shift-return> | |||
<enter> | |||
<shift-enter> | |||
scroll left | |||
H | |||
scroll down | |||
J | |||
scroll up | |||
K | |||
scroll right | |||
L | |||
@@ -201,3 +201,30 @@ tpb https://piratebayproxy.info/ | |||
reaction diffusion https://www.karlsims.com/rd.html | |||
make cheatsheet https://devhints.io/makefile | |||
hegp/ceraphp https://drive.google.com/drive/folders/1_WhL6SvcqppP-FRL20ajT9rZGZZgeFlM | |||
hegp/compte dev i2b2 https://espace-hupo.aphp.fr/acces-dev-edc/_layouts/15/start.aspx#/SitePages/Accueil.aspx | |||
uniread https://github.com/nemanjan00/uniread | |||
emacs/guix https://ambrevar.xyz/articles.html | |||
guix/pjotr https://gitlab.com/pjotrp/guix-notes | |||
emacs/two wrongs https://two-wrongs.com/ | |||
emacs/Mastering emacs https://www.masteringemacs.org/reading-guide | |||
emacs/org-mode hidden gems https://yiufung.net/ | |||
emacs (or emacs irrelevant) https://oremacs.com/archive/ | |||
the pirate bay proxy list https://piratebayproxy.info/ | |||
year of emacs https://jonathanabennett.github.io/ | |||
guix/Nonguix non-free channel https://gitlab.com/nonguix/nonguix | |||
guix/Gaming channel https://gitlab.com/guix-gaming-channels | |||
keyboards/gergo https://www.gboards.ca/ | |||
keyboards/dactyl https://www.beekeeb.com/dactyl-manuform-mini-mechanical-keyboard-build-log/ | |||
keyboards/keyboardio https://shop.keyboard.io/ | |||
keyboards/ergodox ez https://ergodox-ez.com/ | |||
osub https://www.opensubtitles.org/en/search/subs | |||
ss https://subscene.com/ | |||
hegp/maquette M2 IA dataviz https://docs.google.com/spreadsheets/d/1ppqdmsvCkSh7hEPiSaaU1dV7nCd0AHsC8JL04d7xMww/edit?ts=5cb719f7#gid=0 | |||
hegp/Maquette mise à niveau M2 IBM https://docs.google.com/spreadsheets/d/1ChD7t7l_HSFZe0lPVFNA8kLGh6hUPZvezBwGwpGf_fE/edit?usp=sharing_eip&ts=5ccb026b | |||
emacs/Bacterial finches https://sam217pa.github.io/ | |||
meteo http://www.meteo-paris.com/ | |||
hegp/gitlab http://egp-svlbcarp2.egp.aphp.fr:8889/ | |||
emacs/pragmatic emacs http://pragmaticemacs.com/mu4e-tutorials/ | |||
hms/webex Paul https://hms.webex.com/webappng/sites/hms/dashboard/pmr/PAvillach?siteurl=hms | |||
lineage oneplus xda https://forum.xda-developers.com/oneplus-x/development/rom-kernel-unofficial-lineageos-16-0-3-t3891238 | |||
color guide https://docs.sendwithses.com/random-stuff/easy-to-remember-color-guide-for-non-designers |
@@ -142,8 +142,8 @@ super + a | |||
popup Music_media ncmpcpp -s media_library | |||
super + eacute | |||
popup Music_playlist_home ncmpcpp -s playlist -h 192.168.0.121 ; \ | |||
popup Music_media_home ncmpcpp -s media_library -h 192.168.0.121 | |||
popup Music_playlist_home ncmpcpp -s playlist -h 192.168.1.121 ; \ | |||
popup Music_media_home ncmpcpp -s media_library -h 192.168.1.121 | |||
# Torrent | |||
super + i | |||
@@ -4,8 +4,8 @@ map t scroll left | |||
map r scroll right | |||
map D scroll half-up | |||
map S scroll half-down | |||
map T navigate next | |||
map R navigate previous | |||
map R navigate next | |||
map T navigate previous | |||
map l rotate rotate-cw | |||
map v rotate rotate-ccw | |||
@@ -0,0 +1,460 @@ | |||
;; Initialize package and use-package | |||
(load-file "~/dotfiles/.emacs.d/init-package.el") | |||
;; Set custom file and load it | |||
(setq custom-file "~/dotfiles/.emacs.d/custom.el") | |||
(load custom-file) | |||
;; Options | |||
(load-file "~/dotfiles/.emacs.d/options.el") | |||
;; Package configs | |||
;; Evil-numbers | |||
(use-package evil-numbers) | |||
;; ESS | |||
(use-package ess | |||
:config | |||
(setq ess-ask-for-ess-directory nil | |||
display-buffer-alist | |||
`(("*R Dired" | |||
(display-buffer-reuse-window display-buffer-in-side-window) | |||
(side . right) | |||
(slot . -1) | |||
(window-width . 0.33) | |||
(reusable-frames . nil)) | |||
("*R" | |||
(display-buffer-reuse-window display-buffer-at-bottom) | |||
(window-width . 0.5) | |||
(reusable-frames . nil)) | |||
("*Help" | |||
(display-buffer-reuse-window display-buffer-in-side-window) | |||
(side . right) | |||
(slot . 1) | |||
(window-width . 0.33) | |||
(reusable-frames . nil))) | |||
) | |||
) | |||
;; Show matching paren | |||
(use-package paren | |||
:config | |||
(show-paren-mode t) | |||
(setq show-paren-delay 0)) | |||
;; Line number | |||
(use-package linum | |||
:config | |||
(global-linum-mode t)) | |||
(use-package git-gutter-fringe | |||
:config | |||
(global-git-gutter-mode t)) | |||
(use-package minions | |||
:config | |||
(minions-mode t) | |||
(setq minions-mode-line-lighter "")) | |||
;; General | |||
(use-package general | |||
:demand | |||
:config | |||
(general-create-definer spcleader | |||
:states '(normal visual insert emacs) | |||
:prefix "SPC" | |||
:non-normal-prefix "C-S-SPC") | |||
(spcleader | |||
"RET" 'eval-defun | |||
":" 'eval-expression | |||
"k" '((lambda () (interactive) (kill-buffer nil)) :which-key "Kill buffer") | |||
"$" '((lambda () (interactive) (find-file "~/.emacs")) :which-key "Open config") | |||
"#" '((lambda () (interactive) (load-file "~/.emacs")) :which-key "Reload config")) | |||
;; Help | |||
(spcleader | |||
"h" '(:ignore t :which-key "Help") | |||
"hv" 'counsel-describe-variable | |||
"hf" 'counsel-describe-function | |||
"hm" 'describe-mode | |||
"hP" 'describe-package | |||
"hk" 'describe-key | |||
"hi" 'info) | |||
;; Misc | |||
(spcleader | |||
"n" '(:ignore t :which-key "Narrow") | |||
"nr" 'narrow-to-region | |||
"np" 'narrow-to-page | |||
"nf" 'narrow-to-defun | |||
"nw" 'widen | |||
"w" '(count-words-region :which-key "Word count")) | |||
(general-define-key | |||
:keymaps 'help-mode-map | |||
:states 'normal | |||
"TAB" 'forward-button | |||
"q" 'quit-window)) | |||
;; Counsel | |||
(use-package counsel | |||
:general | |||
("M-x" 'counsel-M-x) | |||
(spcleader | |||
"f" 'counsel-find-file | |||
"b" 'counsel-switch-buffer | |||
"x" 'counsel-M-x)) | |||
(defun maxx/counsel-describe () | |||
"Display help for object at point in counsel" | |||
(let ((inhibit-message t) | |||
(object (intern (ivy-state-current ivy-last)))) | |||
(condition-case nil | |||
(describe-function object) | |||
('error | |||
(when (boundp object) (describe-variable object)))))) | |||
;; Ivy | |||
(use-package ivy | |||
:general | |||
(:keymaps '(ivy-mode-map ivy-minibuffer-map) | |||
"C-d" '(lambda () | |||
(interactive) | |||
(ivy-previous-line)) | |||
"C-s" '(lambda () | |||
(interactive) | |||
(ivy-next-line)) | |||
"C-k" '(lambda () | |||
(interactive) | |||
(kill-buffer (ivy-state-current ivy-last))) | |||
"C-t" '(lambda () | |||
(interactive) | |||
(maxx/counsel-describe)))) | |||
;; Info | |||
(use-package info | |||
:general | |||
(:keymaps 'Info-mode-map | |||
:states 'normal | |||
"v" 'Info-backward-node | |||
"u" 'Info-up | |||
"q" 'Info-exit | |||
"l" 'Info-forward-node | |||
"n" 'Info-next | |||
"p" 'Info-prev | |||
"s" 'evil-scroll-line-down | |||
"d" 'evil-scroll-line-up)) | |||
;; undo-tree | |||
(use-package undo-tree | |||
:demand | |||
:config | |||
(global-undo-tree-mode) | |||
(setq undo-tree-auto-save-history t | |||
undo-tree-history-directory-alist '(("." . "~/.emacs.d/undo"))) | |||
:general | |||
(:keymaps 'undo-tree-visualizer-mode-map | |||
:states 'normal | |||
"q" 'undo-tree-visualizer-quit | |||
"SPC u" 'undo-tree-visualizer-quit | |||
"d" 'undo-tree-visualize-undo | |||
"s" 'undo-tree-visualize-redo | |||
"D" 'undo-tree-visualizer-toggle-diff) | |||
(spcleader | |||
"u" 'undo-tree-visualize)) | |||
;; Whitespace | |||
(use-package whitespace | |||
:config | |||
(setq whitespace-style | |||
'(face | |||
tabs | |||
spaces | |||
trailing | |||
newline | |||
empty | |||
space-mark | |||
tab-mark | |||
)) | |||
(global-whitespace-mode t)) | |||
;; Magit | |||
(use-package magit | |||
:general | |||
(:keymaps '(magit-hunk-section-map | |||
magit-file-section-map | |||
magit-staged-section-map | |||
magit-unstaged-section-map | |||
magit-section-map | |||
magit-untracked-section-map | |||
magit-status-mode-map | |||
magit-stash-section-map) | |||
"{" 'magit-section-backward | |||
"}" 'magit-section-forward | |||
"s" 'magit-next-line | |||
"d" 'magit-previous-line | |||
"q" 'quit-window) | |||
(:keymaps '(magit-hunk-section-map | |||
magit-status-mode-map | |||
magit-unstaged-section-map | |||
magit-untracked-section-map) | |||
"-" 'magit-stage) | |||
(spcleader | |||
"g" '(:ignore t :which-key "Magit") | |||
"gd" 'magit-dispatch | |||
"gs" 'magit-status)) | |||
;; Doom theme | |||
(use-package doom-themes | |||
:config | |||
(load-theme 'doom-peacock t) | |||
(setq doom-themes-enable-bold t | |||
doom-themes-enable-italic t) | |||
(doom-themes-visual-bell-config)) | |||
;; Slime | |||
(use-package slime | |||
:config | |||
(setq inferior-lisp-program "clisp")) | |||
;; Flycheck | |||
(use-package flycheck | |||
:config | |||
(global-flycheck-mode)) | |||
;; Org | |||
(use-package org | |||
:demand | |||
:config | |||
(org-babel-do-load-languages | |||
'org-babel-load-languages | |||
'((python . t) | |||
(R . t) | |||
(emacs-lisp . t))) | |||
(setq org-directory "~/Private/Org" | |||
org-agenda-files (directory-files-recursively "~/Private/Org/" "org$") | |||
org-capture-templates | |||
'(("t" "todo" entry (file+headline "~/Private/Org/agenda.org" "Tasks") | |||
"* TODO [#A] %? %a")) | |||
org-deadline-warning-days 7 | |||
org-startup-folded t | |||
org-startup-with-inline-images t | |||
org-agenda-span 'fortnight | |||
org-agenda-skip-scheduled-if-deadline-is-shown t | |||
org-agenda-skip-deadline-prewarning-if-scheduled 'pre-scheduled | |||
org-agenda-todo-ignore-deadlines 'all | |||
org-agenda-todo-ignore-scheduled 'all | |||
org-agenda-sorting-strategy | |||
'((agenda deadline-up priority-down) | |||
(todo priority-down category-keep) | |||
(tags priority-down category-keep) | |||
(search category-keep)) | |||
org-list-demote-modify-bullet '(("+" . "-") ("-" . "+") ("*" . "+")) | |||
org-hide-block-startup t | |||
org-link-abbrev-alist | |||
'(("gh" . "https://github.com/") | |||
("git" . "https://git.maximewack.com/")) | |||
) | |||
(set-face-attribute 'outline-1 nil :height 1.5) | |||
(set-face-attribute 'outline-2 nil :height 1.4) | |||
(set-face-attribute 'outline-3 nil :height 1.3) | |||
(set-face-attribute 'outline-4 nil :height 1.2) | |||
:general | |||
(spcleader | |||
"o" '(:ignore t :which-key "Org") | |||
"oa" 'org-agenda | |||
"oc" 'org-capture | |||
"ol" 'org-insert-link | |||
"oL" 'org-store-link) | |||
(:keymaps 'org-mode-map | |||
:states 'normal | |||
"<RET>" 'org-open-at-point | |||
"M-s" 'org-metadown | |||
"M-d" 'org-metaup | |||
"M-r" 'org-metaright | |||
"M-t" 'org-metaleft | |||
"M-S" 'org-shiftmetadown | |||
"M-D" 'org-shiftmetaup | |||
"M-R" 'org-shiftmetaright | |||
"M-T" 'org-shiftmetaleft | |||
"C-s" 'org-shiftdown | |||
"C-d" 'org-shiftup | |||
"C-r" 'org-shiftright | |||
"C-t" 'org-shiftleft | |||
"D" 'org-previous-visible-heading | |||
"S" 'org-next-visible-heading)) | |||
(use-package org-bullets | |||
:config | |||
(setq org-hide-leading-stars t) | |||
:hook (org-mode . org-bullets-mode)) | |||
;; ;; Outshine (org-mode in other modes) | |||
;; (use-package outshine | |||
;; :bind (:map outshine-mode-map | |||
;; ("<S-iso-lefttab>" . outshine-cycle-buffer) | |||
;; ) | |||
;; :hook (emacs-lisp-mode . outshine-mode) | |||
;; ) | |||
;; Expand region | |||
(use-package expand-region | |||
:general | |||
("M-m" 'er/expand-region | |||
"M-M" 'er/contract-region)) | |||
;; Company | |||
(use-package company | |||
:demand | |||
:config | |||
(global-company-mode t) | |||
(setq company-idle-delay 0 | |||
company-minimum-prefix-length 2) | |||
:general | |||
(:keymaps 'company-active-map | |||
"C-s" 'company-select-next | |||
"C-d" 'company-select-previous)) | |||
;; Autopairs | |||
(use-package autopair | |||
:config | |||
(autopair-global-mode)) | |||
;; Which-key | |||
(use-package which-key | |||
:config | |||
(which-key-mode t)) | |||
;; EVIL | |||
;; Evil-escape | |||
(use-package evil-escape | |||
:config | |||
(evil-escape-mode t) | |||
(setq-default evil-escape-key-sequence "ii" | |||
evil-escape-delay 0.2)) | |||
;; Evil-commentary | |||
(use-package evil-commentary | |||
:demand | |||
:config | |||
(evil-commentary-mode t) | |||
:general | |||
(:states 'normal | |||
"gcc" 'evil-commentary-line)) | |||
;; Evil-surround | |||
(use-package evil-surround | |||
:config | |||
(global-evil-surround-mode) | |||
(push '(?\( . ("(" . ")")) evil-surround-pairs-alist) | |||
(push '(?\[ . ("[" . "]")) evil-surround-pairs-alist)) | |||
;; Evil | |||
(use-package evil | |||
:demand | |||
:general | |||
(:states 'visual | |||
"l" 'evil-delete | |||
"H" 'evil-change) | |||
(:states 'normal | |||
"t" 'evil-backward-char | |||
"s" 'evil-next-visual-line | |||
"d" 'evil-previous-visual-line | |||
"r" 'evil-forward-char | |||
"l" 'evil-delete | |||
"L" 'evil-delete-line | |||
"h" 'evil-replace | |||
"H" 'evil-replace-state | |||
"S" 'evil-scroll-down | |||
"D" 'evil-scroll-up | |||
"gt" 'evil-next-buffer | |||
"gT" 'evil-prev-buffer | |||
"C-a" 'evil-numbers/inc-at-pt | |||
"C-x" 'evil-numbers/dec-at-pt | |||
"C-d" 'evil-scroll-line-up | |||
"C-s" 'evil-scroll-line-down | |||
"C-+" 'text-scale-increase | |||
"C--" 'text-scale-decrease | |||
"C-/" '(lambda () (interactive) (text-scale-adjust 0))) | |||
(:keymaps 'evil-window-map | |||
"t" 'evil-window-left | |||
"T" 'evil-window-move-far-left | |||
"s" 'evil-window-down | |||
"S" 'evil-window-move-very-bottom | |||
"d" 'evil-window-up | |||
"D" 'evil-window-move-very-top | |||
"r" 'evil-window-right | |||
"R" 'evil-window-move-far-right | |||
"h" 'evil-window-split | |||
"H" 'evil-window-split) | |||
(:states 'motion | |||
"t" 'evil-backward-char | |||
"s" 'evil-next-visual-line | |||
"d" 'evil-previous-visual-line | |||
"r" 'evil-forward-char | |||
"T" 'evil-window-top | |||
"S" 'evil-scroll-down | |||
"D" 'evil-scroll-up | |||
"R" 'evil-window-bottom | |||
"gs" 'evil-next-line | |||
"gd" 'evil-previous-line | |||
" " 'evil-forward-char | |||
"M" 'evil-window-middle | |||
"j" 'evil-find-char-to | |||
"J" 'evil-find-char-to-backward | |||
";" 'evil-repeat-find-char-reverse | |||
"," 'evil-repeat-find-char | |||
"é" 'evil-window-map | |||
"C-D" 'evil-scroll-page-up | |||
"C-s" 'evil-scroll-line-down | |||
"C-S" 'evil-scroll-page-down | |||
"C-o" 'evil-jump-backward | |||
"C-d" 'evil-scroll-line-up) | |||
(:states 'emacs | |||
"é" 'evil-window-map) | |||
(:states 'insert | |||
"C-r" 'helm-show-kill-ring | |||
"C-u" 'insert-char) | |||
:config | |||
(evil-mode t) | |||
(setq evil-want-integration nil | |||
evil-want-keybinding nil | |||
evil-want-Y-yank-to-eol t | |||
;; Colored cursors based on evil-state | |||
evil-emacs-state-cursor '("red" box) | |||
evil-normal-state-cursor '("green" box) | |||
evil-visual-state-cursor '("orange" box) | |||
evil-insert-state-cursor '("red" bar) | |||
evil-replace-state-cursor '("red" bar) | |||
evil-operator-state-cursor '("red" hollow) | |||
;; use NORMAL mode/state EVERYWHERE by default | |||
evil-default-state 'normal | |||
evil-motion-state-modes nil | |||
evil-normal-state-modes nil | |||
evil-insert-state-modes nil | |||
;; Use emacs state in these selected modes | |||
evil-emacs-state-modes '(magit-mode | |||
debugger-mode | |||
ediff-mode | |||
custom-mode | |||
git-rebase-mode) | |||
;; don't let modes override the INSERT state (!) | |||
evil-overriding-maps nil | |||
evil-intercept-maps nil)) | |||
;; Daemon mode | |||
(require 'server) | |||
(unless (server-running-p) | |||
(server-start)) |
@@ -0,0 +1,20 @@ | |||
;; Custom set variables | |||
(custom-set-variables | |||
;; custom-set-variables was added by Custom. | |||
;; If you edit it by hand, you could mess it up, so be careful. | |||
;; Your init file should contain only one such instance. | |||
;; If there is more than one, they won't work right. | |||
'(custom-safe-themes | |||
(quote | |||
("bffa9739ce0752a37d9b1eee78fc00ba159748f50dc328af4be661484848e476" default))) | |||
'(package-selected-packages | |||
(quote | |||
(evil-numbers org-bullets minions ivy git-gutter-fringe general counsel diminish ess flycheck evil-escape magit expand-region doom-themes slime-company slime evil-commentary company autopair evil-surround use-package which-key evil)))) | |||
;; Custom set faces | |||
(custom-set-faces | |||
;; custom-set-faces was added by Custom. | |||
;; If you edit it by hand, you could mess it up, so be careful. | |||
;; Your init file should contain only one such instance. | |||
;; If there is more than one, they won't work right. | |||
) |
@@ -0,0 +1,19 @@ | |||
;; Use package and melpa as source | |||
(require 'package) | |||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) | |||
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")) | |||
(setq package-enable-at-startup nil) | |||
(package-initialize) | |||
;; use-package | |||
(setq-default | |||
;; use-package-always-defer t | |||
use-package-always-ensure t | |||
use-package-expand-minimally t | |||
use-package-verbose nil | |||
use-package-enable-imenu-support t) | |||
(unless (package-installed-p 'use-package) | |||
(package-refresh-contents) | |||
(package-install 'use-package)) | |||
(eval-when-compile (require 'use-package)) |
@@ -0,0 +1,95 @@ | |||
(setq | |||
;; Mnemonics for eol | |||
eol-mnemonic-unix "(Unix)" | |||
;; Display total size of buffer and column index | |||
size-indication-mode t | |||
column-number-mode t | |||
;; No limit to line number displayed | |||
line-number-display-limit nil | |||
;; Column numbers from 1 | |||
column-number-indicator-zero-based nil | |||
;; Don't display tootips | |||
tooltip-mode nil | |||
;; Scroll smoothly with mouse | |||
mouse-wheel-scroll-amount '(2 ((shift) . 1) ((control))) | |||
;; Indent two spaces | |||
standard-indent 2 | |||
;; Use which-key for evil bindings | |||
which-key-allow-evil-operators t | |||
;; delete excess backup versions silently | |||
delete-old-versions -1 | |||
;; Don't use version control | |||
version-control "never" | |||
;; make backups file even when in version controlled dir | |||
vc-make-backup-files t | |||
;; which directory to put backups file | |||
backup-directory-alist `(("." . "~/.emacs.d/backups")) | |||
;; don't ask for confirmation when opening symlinked file | |||
vc-follow-symlinks t | |||
;;transform backups file name | |||
auto-save-file-name-transforms '((".*" "~/.emacs.d/auto-save-list/" t)) | |||
;; silent bell when you make a mistake | |||
ring-bell-function 'ignore | |||
coding-system-for-read 'utf-8 ; use utf-8 by default | |||
coding-system-for-write 'utf-8 | |||
;; Identity | |||
user-full-name "Maxime Wack" | |||
user-mail-address "maximewack@free.fr" | |||
;; No size limit to output in elisp mode | |||
eval-expression-print-length nil | |||
;; GC and file size limits | |||
gc-cons-threshold 50000000 | |||
large-file-warning-threshold 100000000 | |||
;; Disable splash screen | |||
inhibit-startup-screen t | |||
inhibit-startup-message t | |||
inhibit-startup-echo-area-message t | |||
;; Filename in title | |||
frame-title-format | |||
'((:eval (if (buffer-file-name) | |||
(abbreviate-file-name (buffer-file-name)) | |||
"%b"))) | |||
scroll-margin 10 | |||
scroll-conservatively 100000 | |||
scroll-preserve-screen-position 1 | |||
maximum-scroll-margin 0.5 | |||
;; Backups | |||
make-backup-files nil | |||
) | |||
(if (string-equal (system-name) "hegp") | |||
(setq url-proxy-services '(("no_proxy" . "127.0.0.1") | |||
("http" . "proxym-inter.aphp.fr:8080") | |||
("https" . "proxym-inter.aphp.fr:8080"))) | |||
()) | |||
;; Show empty lines at the end of the buffer | |||
(setq-default | |||
indicate-empty-lines t | |||
;; Spaces for indent | |||
tab-width 2 | |||
indent-tabs-mode nil) | |||
;; Font | |||
(set-frame-font "Fira Code 10" nil t) | |||
;; Prefer UTF-8 | |||
(prefer-coding-system 'utf-8) | |||
(set-default-coding-systems 'utf-8) | |||
(set-terminal-coding-system 'utf-8) | |||
(set-keyboard-coding-system 'utf-8) | |||
;; Disable toolbar crap | |||
(menu-bar-mode -1) | |||
(tool-bar-mode -1) | |||
(scroll-bar-mode -1) | |||
(blink-cursor-mode -1) | |||
;; Replace yes/no with y/n | |||
(fset 'yes-or-no-p 'y-or-n-p) | |||
;; Reload externally modified files | |||
(global-auto-revert-mode) | |||
;; Autoclean trailing whitespaces | |||
(add-hook 'before-save-hook 'whitespace-cleanup) |
@@ -0,0 +1,18 @@ | |||
(cond ((false-if-exception (resolve-interface '(ice-9 readline))) | |||
=> | |||
(lambda (module) | |||
;; Enable completion and input history at the REPL. | |||
((module-ref module 'activate-readline)))) | |||
(else | |||
(display "Consider installing the 'guile-readline' package for | |||
convenient interactive line editing and input history.\n\n"))) | |||
(unless (getenv "INSIDE_EMACS") | |||
(cond ((false-if-exception (resolve-interface '(ice-9 colorized))) | |||
=> | |||
(lambda (module) | |||
;; Enable completion and input history at the REPL. | |||
((module-ref module 'activate-colorized)))) | |||
(else | |||
(display "Consider installing the 'guile-colorized' package | |||
for a colorful Guile experience.\n\n")))) |
@@ -144,373 +144,373 @@ | |||
## - set_volume | |||
## - filter_playlist_on_priorities | |||
## | |||
# | |||
#def_key "mouse" | |||
# mouse_event | |||
# | |||
def_key "d" | |||
scroll_up | |||
# | |||
def_key "s" | |||
scroll_down | |||
# | |||
#def_key "[" | |||
# scroll_up_album | |||
# | |||
#def_key "]" | |||
# scroll_down_album | |||
# | |||
#def_key "{" | |||
# scroll_up_artist | |||
# | |||
#def_key "}" | |||
# scroll_down_artist | |||
# | |||
def_key "D" | |||
page_up | |||
# | |||
def_key "S" | |||
page_down | |||
# | |||
#def_key "home" | |||
# move_home | |||
# | |||
#def_key "end" | |||
# move_end | |||
# | |||
#def_key "space" | |||
# press_space | |||
# | |||
#def_key "enter" | |||
# press_enter | |||
# | |||
#def_key "delete" | |||
# delete_playlist_items | |||
# | |||
#def_key "delete" | |||
# delete_browser_items | |||
# | |||
def_key "x" | |||
delete_browser_items | |||
#def_key "delete" | |||
# delete_stored_playlist | |||
# | |||
def_key "r" | |||
next_column | |||
# | |||
#def_key "right" | |||
# slave_screen | |||
# | |||
#def_key "right" | |||
# volume_up | |||
# | |||
#def_key "+" | |||
# volume_up | |||
# | |||
def_key "t" | |||
previous_column | |||
# | |||
#def_key "left" | |||
# master_screen | |||
# | |||
#def_key "left" | |||
# volume_down | |||
# | |||
#def_key "-" | |||
# volume_down | |||
# | |||
#def_key ":" | |||
# execute_command | |||
# | |||
#def_key "tab" | |||
# next_screen | |||
# | |||
#def_key "shift_tab" | |||
# previous_screen | |||
# | |||
#def_key "f1" | |||
# show_help | |||
# | |||
#def_key "1" | |||
# show_playlist | |||
# | |||
#def_key "2" | |||
# show_browser | |||
# | |||
#def_key "2" | |||
# change_browse_mode | |||
# | |||
#def_key "3" | |||
# show_search_engine | |||
# | |||
#def_key "3" | |||
# reset_search_engine | |||
# | |||
#def_key "4" | |||
# show_media_library | |||
# | |||
#def_key "4" | |||
# toggle_media_library_columns_mode | |||
# | |||
#def_key "5" | |||
# show_playlist_editor | |||
# | |||
#def_key "6" | |||
# show_tag_editor | |||
# | |||
#def_key "7" | |||
# show_outputs | |||
# | |||
#def_key "8" | |||
# show_visualizer | |||
# | |||
#def_key "=" | |||
# show_clock | |||
# | |||
#def_key "@" | |||
# show_server_info | |||
# | |||
#def_key "s" | |||
# stop | |||
# | |||
#def_key "p" | |||
# pause | |||
# | |||
#def_key ">" | |||
# next | |||
# | |||
#def_key "<" | |||
# previous | |||
# | |||
#def_key "ctrl_h" | |||
# jump_to_parent_directory | |||
# | |||
#def_key "ctrl_h" | |||
# replay_song | |||
# | |||
#def_key "backspace" | |||
# jump_to_parent_directory | |||
# | |||
#def_key "backspace" | |||
# replay_song | |||
# | |||
#def_key "backspace_2" | |||
# jump_to_parent_directory | |||
# | |||
#def_key "backspace_2" | |||
# replay_song | |||
# | |||
def_key "l" | |||
seek_forward | |||
# | |||
def_key "v" | |||
seek_backward | |||
# | |||
#def_key "r" | |||
# toggle_repeat | |||
# | |||
#def_key "z" | |||
# toggle_random | |||
# | |||
#def_key "y" | |||
# save_tag_changes | |||
# | |||
#def_key "y" | |||
# start_searching | |||
# | |||
#def_key "y" | |||
# toggle_single | |||
# | |||
#def_key "R" | |||
# toggle_consume | |||
# | |||
def_key "C" | |||
toggle_consume | |||
#def_key "Y" | |||
# toggle_replay_gain_mode | |||
# | |||
#def_key "t" | |||
# toggle_space_mode | |||
# | |||
#def_key "T" | |||
# toggle_add_mode | |||
# | |||
#def_key "|" | |||
# toggle_mouse | |||
# | |||
#def_key "#" | |||
# toggle_bitrate_visibility | |||
# | |||
#def_key "Z" | |||
# shuffle | |||
# | |||
#def_key "x" | |||
# toggle_crossfade | |||
# | |||
def_key "X" | |||
toggle_crossfade | |||
#def_key "X" | |||
# set_crossfade | |||
# | |||
#def_key "u" | |||
# update_database | |||
# | |||
#def_key "ctrl_v" | |||
# sort_playlist | |||
# | |||
#def_key "ctrl_r" | |||
# reverse_playlist | |||
# | |||
#def_key "ctrl_f" | |||
# apply_filter | |||
# | |||
#def_key "/" | |||
# find | |||
# | |||
#def_key "/" | |||
# find_item_forward | |||
# | |||
#def_key "?" | |||
# find | |||
# | |||
#def_key "?" | |||
# find_item_backward | |||
# | |||
#def_key "." | |||
# next_found_item | |||
# | |||
#def_key "," | |||
# previous_found_item | |||
# | |||
def_key "n" | |||
next_found_item | |||
def_key "N" | |||
previous_found_item | |||
#def_key "w" | |||
# toggle_find_mode | |||
# | |||
#def_key "e" | |||
# edit_song | |||
# | |||
#def_key "e" | |||
# edit_library_tag | |||
# | |||
#def_key "e" | |||
# edit_library_album | |||
# | |||
#def_key "e" | |||
# edit_directory_name | |||
# | |||
#def_key "e" | |||
# edit_playlist_name | |||
# | |||
#def_key "e" | |||
# edit_lyrics | |||
# | |||
#def_key "i" | |||
# show_song_info | |||
# | |||
#def_key "I" | |||
# show_artist_info | |||
# | |||
#def_key "g" | |||
# jump_to_position_in_song | |||
# | |||
def_key "L" | |||
show_lyrics | |||
# | |||
#def_key "v" | |||
# reverse_selection | |||
# | |||
#def_key "V" | |||
# remove_selection | |||
# | |||
#def_key "B" | |||
# select_album | |||
# | |||
#def_key "a" | |||
# add_selected_items | |||
# | |||
#def_key "c" | |||
# clear_playlist | |||
# | |||
#def_key "c" | |||
# clear_main_playlist | |||
# | |||
#def_key "C" | |||
# crop_playlist | |||
# | |||
#def_key "C" | |||
# crop_main_playlist | |||
# | |||
#def_key "m" | |||
# move_sort_order_up | |||
# | |||
#def_key "m" | |||
# move_selected_items_up | |||
# | |||
def_key "M" | |||
move_selected_items_up | |||
#def_key "m" | |||
# toggle_media_library_sort_mode | |||
# | |||
#def_key "m" | |||
# set_visualizer_sample_multiplier | |||
# | |||
#def_key "n" | |||
# move_sort_order_down | |||
# | |||
#def_key "n" | |||
# move_selected_items_down | |||
# | |||
def_key "m" | |||
move_selected_items_down | |||
#def_key "M" | |||
# move_selected_items_to | |||
# | |||
#def_key "A" | |||
# add | |||
# | |||
#def_key "S" | |||
# save_playlist | |||
# | |||
#def_key "o" | |||
# jump_to_playing_song | |||
# | |||
#def_key "G" | |||
# jump_to_browser | |||
# | |||
#def_key "G" | |||
# jump_to_playlist_editor | |||
# | |||
#def_key "~" | |||
# jump_to_media_library | |||
# | |||
#def_key "E" | |||
# jump_to_tag_editor | |||
# | |||
#def_key "U" | |||
# toggle_playing_song_centering | |||
# | |||
#def_key "P" | |||
# toggle_display_mode | |||
# | |||
#def_key "\\" | |||
# toggle_interface | |||
# | |||
#def_key "!" | |||
# toggle_separators_between_albums | |||
# | |||
#def_key "L" | |||
# toggle_lyrics_fetcher | |||
# | |||
#def_key "F" | |||
# toggle_fetching_lyrics_in_background | |||
# | |||
#def_key "ctrl_l" | |||
# toggle_screen_lock | |||
# | |||
#def_key "`" | |||
# toggle_browser_sort_mode | |||
# | |||
#def_key "`" | |||
# toggle_library_tag_type | |||
# | |||
#def_key "`" | |||
# refetch_lyrics | |||
# | |||
#def_key "`" | |||
# add_random_items | |||
# | |||
#def_key "ctrl_p" | |||
# set_selected_items_priority | |||
# | |||
#def_key "q" | |||
# quit | |||
# | |||
@@ -1,26 +0,0 @@ | |||
{ | |||
"keymap": { | |||
"cursor_down": "s", | |||
"cursor_left": "t", | |||
"cursor_right": "r", | |||
"cursor_up": "d", | |||
"delete_message": "l", | |||
"edit_message": "e", | |||
"go_to_chatbox": "c", | |||
"go_to_profile": "p", | |||
"go_to_sidebar": "esc", | |||
"open_quick_switcher": "ctrl k", | |||
"quit_application": "q", | |||
"set_edit_topic_mode": "T", | |||
"set_insert_mode": "i", | |||
"yank_message": "y", | |||
"get_permalink": "R", | |||
"set_snooze": "ctrl d" | |||
}, | |||
"features": { | |||
"emoji": true, | |||
"markdown": true, | |||
"pictures": true, | |||
"browser": "" | |||
} | |||
} |