parent
38f35e9472
commit
93003cf2e1
|
@ -42,36 +42,28 @@ map <F10> exit
|
||||||
## Move to trash (with Trash-CLI)
|
## Move to trash (with Trash-CLI)
|
||||||
map DD shell trash-put -- %s
|
map DD shell trash-put -- %s
|
||||||
|
|
||||||
## Extraction. Ranger uses '1l', but does not work when extension is not right.
|
## Extraction. Ranger uses '1l', but does not work when extension is not
|
||||||
|
## right. Using atools instead.
|
||||||
map ex shell aunpack -e %s
|
map ex shell aunpack -e %s
|
||||||
|
|
||||||
## SVN add.
|
## Git
|
||||||
map esa shell -w svn add %s
|
map ega shell -w git add %s
|
||||||
|
map egr shell -w git checkout %s
|
||||||
|
map egs shell -w git status -uno
|
||||||
|
|
||||||
## SVN revert.
|
## Video
|
||||||
map esr shell -w svn revert %s
|
|
||||||
|
|
||||||
## SVN stats.
|
|
||||||
map ess shell -w svn status
|
|
||||||
|
|
||||||
## MPlayer
|
|
||||||
## Note that latin1 for MPlayer is cp1252 in reality.
|
## Note that latin1 for MPlayer is cp1252 in reality.
|
||||||
map ev console shell mplayer "%f" -sub "%s"
|
map ev console shell mplayer "%f" -sub "%s"
|
||||||
map eV console shell mplayer "%f" -sub "%s" -subcp latin1
|
map eV console shell mplayer "%f" -sub "%s" -subcp latin1
|
||||||
|
|
||||||
## Cmus
|
## Submarine
|
||||||
|
map es shell -w submarine %f
|
||||||
|
|
||||||
|
## Audio
|
||||||
map ea shell cmus-remote -P %s
|
map ea shell cmus-remote -P %s
|
||||||
|
|
||||||
# Quick moves
|
# Quick moves
|
||||||
map K move up=5
|
map K move up=5
|
||||||
map J move down=5
|
map J move down=5
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Browse
|
|
||||||
#map <C-j> move down=5
|
|
||||||
#map <C-k> move up=5
|
|
||||||
|
|
||||||
## Tabs
|
|
||||||
#map <C-h> tab_move 1
|
#map <C-h> tab_move 1
|
||||||
#map <C-l> tab_move -1
|
#map <C-l> tab_move -1
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
\usepackage[utf8]{inputenc}
|
\usepackage[utf8]{inputenc}
|
||||||
\usepackage[T1]{fontenc}
|
\usepackage[T1]{fontenc}
|
||||||
\usepackage{amsmath,amssymb,amsfonts}
|
\usepackage{amsmath,amssymb,amsfonts}
|
||||||
\usepackage{geometry}
|
\usepackage[scale=0.8]{geometry}
|
||||||
\usepackage{lmodern}
|
\usepackage{lmodern}
|
||||||
\usepackage{marvosym}
|
\usepackage{marvosym}
|
||||||
\usepackage{textcomp}
|
\usepackage{textcomp}
|
||||||
|
@ -25,9 +25,22 @@
|
||||||
%%==============================================================================
|
%%==============================================================================
|
||||||
%% Localization
|
%% Localization
|
||||||
%%==============================================================================
|
%%==============================================================================
|
||||||
%% Supported locales: en, fr.
|
|
||||||
\def\locale{en}
|
\def\locale{en}
|
||||||
|
|
||||||
|
%% Language macros.
|
||||||
|
\usepackage{ifthen}
|
||||||
|
\def\localedef#1#2{
|
||||||
|
\ifthenelse{\equal{\locale}{#1}}{
|
||||||
|
\usepackage[#2]{babel}
|
||||||
|
\expandafter\def\csname#1\endcsname ##1{##1}
|
||||||
|
}{
|
||||||
|
\expandafter\def\csname#1\endcsname ##1{}}
|
||||||
|
}
|
||||||
|
|
||||||
|
%% Supported locales: en, fr.
|
||||||
|
\localedef{en}{english}
|
||||||
|
\localedef{fr}{frenchb}
|
||||||
|
|
||||||
%%==============================================================================
|
%%==============================================================================
|
||||||
%% Personal Information
|
%% Personal Information
|
||||||
%%==============================================================================
|
%%==============================================================================
|
||||||
|
@ -74,33 +87,32 @@
|
||||||
% \def\FileKeyWords{\firstname{} \familyname, letter}
|
% \def\FileKeyWords{\firstname{} \familyname, letter}
|
||||||
|
|
||||||
%%==============================================================================
|
%%==============================================================================
|
||||||
%% General options
|
%% Packages
|
||||||
%%==============================================================================
|
%%==============================================================================
|
||||||
|
|
||||||
% \usepackage{lipsum}
|
% \usepackage{lipsum}
|
||||||
\usepackage[svgname]{xcolor}
|
\usepackage[svgname]{xcolor}
|
||||||
\usepackage{eukdate}
|
\usepackage{eukdate}
|
||||||
\usepackage{graphicx}
|
|
||||||
\usepackage{ifthen}
|
|
||||||
\usepackage{needspace}
|
\usepackage{needspace}
|
||||||
\usepackage{xspace}
|
\usepackage{xspace}
|
||||||
|
|
||||||
|
%% Compilation options
|
||||||
|
\usepackage{ifpdf}
|
||||||
|
\ifpdf
|
||||||
|
\usepackage[pdftex]{graphicx}
|
||||||
|
\else
|
||||||
|
\usepackage[dvips]{graphicx}
|
||||||
|
\fi
|
||||||
|
|
||||||
|
%%==============================================================================
|
||||||
|
%% General options
|
||||||
|
%%==============================================================================
|
||||||
|
|
||||||
%% print if not empty
|
%% print if not empty
|
||||||
\def\pine#1{\def\test{#1}\ifx\test\empty\relax\else #1\fi}
|
\def\pine#1{\def\test{#1}\ifx\test\empty\relax\else #1\fi}
|
||||||
%% print #2 if not empty.
|
%% print #2 if not empty.
|
||||||
\def\pinex#1#2{\ifx#1\empty\relax\else #2\fi}
|
\def\pinex#1#2{\ifx#1\empty\relax\else #2\fi}
|
||||||
|
|
||||||
%% Language
|
|
||||||
\def\localedef#1{
|
|
||||||
\ifthenelse{\equal{\locale}{#1}}{
|
|
||||||
\expandafter\def\csname#1\endcsname ##1{##1}
|
|
||||||
}{
|
|
||||||
\expandafter\def\csname#1\endcsname ##1{}}
|
|
||||||
}
|
|
||||||
|
|
||||||
\localedef{en}
|
|
||||||
\localedef{fr}
|
|
||||||
|
|
||||||
%% Gender commands.
|
%% Gender commands.
|
||||||
\def\genderdef#1{
|
\def\genderdef#1{
|
||||||
\ifthenelse{\equal{\gender}{#1}}{
|
\ifthenelse{\equal{\gender}{#1}}{
|
||||||
|
@ -124,19 +136,6 @@
|
||||||
\equal{\gender}{org}
|
\equal{\gender}{org}
|
||||||
}{}{\def\greetings #1{#1}}
|
}{}{\def\greetings #1{#1}}
|
||||||
|
|
||||||
|
|
||||||
%% Compilation options
|
|
||||||
\usepackage{ifpdf}
|
|
||||||
\ifpdf
|
|
||||||
\usepackage[pdftex]{graphicx}
|
|
||||||
\else
|
|
||||||
\usepackage[dvips]{graphicx}
|
|
||||||
\fi
|
|
||||||
|
|
||||||
%% Babel
|
|
||||||
\fr{\usepackage[frenchb]{babel}}
|
|
||||||
|
|
||||||
|
|
||||||
%% Day-of-week translation
|
%% Day-of-week translation
|
||||||
\makeatletter
|
\makeatletter
|
||||||
\fr{
|
\fr{
|
||||||
|
|
Loading…
Reference in New Issue