source: lliurex-up/trunk/fuentes/install-files/etc/vim/vimrc.lliurex @ 464

Last change on this file since 464 was 464, checked in by jrpelegrina, 5 years ago

First release to Xenial

File size: 2.1 KB
Line 
1" All system-wide defaults are set in $VIMRUNTIME/debian.vim and sourced by
2" the call to :runtime you can find below.  If you wish to change any of those
3" settings, you should do it in this file (/etc/vim/vimrc), since debian.vim
4" will be overwritten everytime an upgrade of the vim packages is performed.
5" It is recommended to make changes after sourcing debian.vim since it alters
6" the value of the 'compatible' option.
7
8" This line should not be removed as it ensures that various options are
9" properly set to work with the Vim-related packages available in Debian.
10runtime! debian.vim
11
12" Uncomment the next line to make Vim more Vi-compatible
13" NOTE: debian.vim sets 'nocompatible'.  Setting 'compatible' changes numerous
14" options, so any other options should be set AFTER setting 'compatible'.
15"set compatible
16
17" Vim5 and later versions support syntax highlighting. Uncommenting the next
18" line enables syntax highlighting by default.
19if has("syntax")
20  syntax on
21endif
22
23" If using a dark background within the editing area and syntax highlighting
24" turn on this option as well
25" last blood of aberlanas
26set background=dark
27
28" Uncomment the following to have Vim jump to the last position when
29" reopening a file
30"if has("autocmd")
31"  au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
32"endif
33
34" Uncomment the following to have Vim load indentation rules and plugins
35" according to the detected filetype.
36"if has("autocmd")
37"  filetype plugin indent on
38"endif
39
40" The following are commented out as they cause vim to behave a lot
41" differently from regular Vi. They are highly recommended though.
42"set showcmd            " Show (partial) command in status line.
43"set showmatch          " Show matching brackets.
44"set ignorecase         " Do case insensitive matching
45"set smartcase          " Do smart case matching
46"set incsearch          " Incremental search
47"set autowrite          " Automatically save before commands like :next and :make
48"set hidden             " Hide buffers when they are abandoned
49"set mouse=a            " Enable mouse usage (all modes)
50
51" Source a global configuration file if available
52if filereadable("/etc/vim/vimrc.local")
53  source /etc/vim/vimrc.local
54endif
55
Note: See TracBrowser for help on using the repository browser.