diff options
Diffstat (limited to 'vim/vimrc_origin')
-rw-r--r-- | vim/vimrc_origin | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/vim/vimrc_origin b/vim/vimrc_origin deleted file mode 100644 index 1fcd4d7..0000000 --- a/vim/vimrc_origin +++ /dev/null | |||
@@ -1,55 +0,0 @@ | |||
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 | runtime! debian.vim | ||
9 | |||
10 | " Vim will load $VIMRUNTIME/defaults.vim if the user does not have a vimrc. | ||
11 | " This happens after /etc/vim/vimrc(.local) are loaded, so it will override | ||
12 | " any settings in these files. | ||
13 | " If you don't want that to happen, uncomment the below line to prevent | ||
14 | " defaults.vim from being loaded. | ||
15 | " let g:skip_defaults_vim = 1 | ||
16 | |||
17 | " Uncomment the next line to make Vim more Vi-compatible | ||
18 | " NOTE: debian.vim sets 'nocompatible'. Setting 'compatible' changes numerous | ||
19 | " options, so any other options should be set AFTER setting 'compatible'. | ||
20 | "set compatible | ||
21 | |||
22 | " Vim5 and later versions support syntax highlighting. Uncommenting the next | ||
23 | " line enables syntax highlighting by default. | ||
24 | if has("syntax") | ||
25 | syntax on | ||
26 | endif | ||
27 | |||
28 | " If using a dark background within the editing area and syntax highlighting | ||
29 | " turn on this option as well | ||
30 | "set background=dark | ||
31 | |||
32 | " Uncomment the following to have Vim jump to the last position when | ||
33 | " reopening a file | ||
34 | "au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif | ||
35 | |||
36 | " Uncomment the following to have Vim load indentation rules and plugins | ||
37 | " according to the detected filetype. | ||
38 | "filetype plugin indent on | ||
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 | ||
52 | if filereadable("/etc/vim/vimrc.local") | ||
53 | source /etc/vim/vimrc.local | ||
54 | endif | ||
55 | |||