]> code.delx.au - dotfiles/blob - .vim/display.vim
bash: reorder initialisation
[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 set t_ts=\e]0;
31 set t_fs=\a
32
33 " Make the autocompletion of filenames,etc behave like bash
34 set wildmode=longest,list
35
36 " Allow splits to have 0 height (use C-W _)
37 set wmh=0
38
39 " Always keep one line of context around the cursor
40 set scrolloff=1
41
42 " Match search results as you type
43 set incsearch
44
45 " Ignore case when searching
46 set ignorecase
47
48 " Ignore the ignorecase character if search contains uppercase chars
49 set smartcase
50
51 " Highlight search terms
52 set hlsearch
53
54 " Mouse options
55 set mouse=a
56 set mousehide
57