forked from gaving/vimtips
/
vimtips.tex
78 lines (64 loc) · 2.19 KB
/
vimtips.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
\documentclass[10pt,landscape]{article}
\usepackage[T1]{fontenc}
\usepackage{fullpage,setspace,multirow,longtable,graphicx,url,fancyhdr}
\usepackage[stable]{footmisc} % use footnotes in section
\usepackage[unicode]{hyperref}
\hypersetup{
pdftoolbar=false,
pdfmenubar=false,
unicode=false,
pdflang={en},
pdftitle={Vim tips},
pdfauthor={David Rayner, Gavin Gilmour},
colorlinks=true,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=blue
}
\setlength{\parskip}{1ex}
\setlength{\parindent}{0ex}
\overfullrule=5pt
\pagestyle{fancyplain}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0.4pt}
\newenvironment{code}
{\begin{list}{}{\setlength{\leftmargin}{1em}}\item\scriptsize\bfseries}
{\end{list}}
\newenvironment{tinycode}
{\begin{list}{}{\setlength{\leftmargin}{1em}}\item\tiny\bfseries}
{\end{list}}
\begin{document}
\title{Vim tips}
\author{David Rayner, Gavin Gilmour}
\maketitle
\tableofcontents
\newpage
\include{text-manipulation}
\include{file-manipulation}
\include{registers}
\include{advanced}
\include{fun}
\section{Contact}
\subsection{Author (David Rayner)}
Please email any errors or further tips etc to \href{mailto:david@rayninfo.co.uk}{david(at)rayninfo.co.uk}
Updated version at \url{http://www.rayninfo.co.uk/vimtips.html}
\subsection{Maintainer (Gavin Gilmour)}
Please email any comments, suggestions including spelling, grammatical and/or
formatting issues with this document to
\href{mailto:gavin@brokentrain.net}{gavin(at)brokentrain.net}
Updated version available at: \url{http://gavin.brokentrain.net/projects/vimtips/vimtips.pdf}
\subsection{Source}
The source of this document is available at:
\url{http://github.com/gaving/vimtips/}.
\subsection{Links}
\begin{longtable}{l|l}
\url{http://www.vim.org/} & Official site\\
\url{http://chronos.cs.msu.su/vim/newsgroup.html} & Newsgroup and Usenet\\
\url{http://groups.yahoo.com/group/vim} & Specific newsgroup\\
\url{http://u.webring.com/hub?ring=vim} & VIM Webring\\
\url{http://www.truth.sk/vim/vimbook-OPL.pdf} & Vim Book\\
\url{http://vimdoc.sourceforge.net/} & Searchable VIM Doc\\
\url{http://www.faqs.org/faqs/editor-faq/vim/} & VIM FAQ\\
\end{longtable}
\end{document}