]> code.delx.au - dotfiles/blob - .vim/display.vim
xmonad: change restart key
[dotfiles] / .vim / display.vim
1 " Pretty syntax highlighting
2 syntax on
3
4 " Show the line/column positions at the bottom
5 set ruler
6
7 " Display as much as possible of the last line of text
8 " (instead of displaying an @ character)
9 set display+=lastline
10
11 " Wrapping is annoying
12 set nowrap
13
14 " If wordwrap is on, don't split words across lines
15 set linebreak
16
17 " String to put at the start of lines that have been wrapped
18 "set showbreak=+
19 set showbreak=
20
21 " Display current mode and partially typed commands
22 set showmode
23 set showcmd
24
25 " When a bracket is inserted, briefly jump to the matching one (
26 set showmatch
27
28 " Show the filename title in xterms
29 set title
30
31 " Make the autocompletion of filenames,etc behave like bash
32 set wildmode=longest,list
33
34 " Allow splits to have 0 height (use C-W _)
35 set wmh=0
36
37 " Always keep one line of context around the cursor
38 set scrolloff=1
39
40 " Match search results as you type
41 set incsearch
42
43 " Ignore case when searching
44 set ignorecase
45
46 " Ignore the ignorecase character if search contains uppercase chars
47 set smartcase
48
49 " Highlight search terms
50 set hlsearch
51
52 " Mouse options
53 set mouse=a
54 set mousehide
55