21
22 " If using a dark background within the editing area and syntax highlighting
23 " turn on this option as well
24 "set background=dark
25
26 " Uncomment the following to have Vim jump to the last position when
27 " reopening a file
28 "if has("autocmd")
29 " au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
30 "endif
31
32 " Uncomment the following to have Vim load indentation rules and plugins
33 " according to the detected filetype.
34 "if has("autocmd")
35 " filetype plugin indent on
36 "endif
37
38 " The following are commented out as they cause vim to behave a lot
39 " differently from regular Vi. They are highly recommended though.
/usr/share/vim/vimrc 39,1 32%
3 colorscheme elflord
4 set nowrap
5 syntax on
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~/.vimrc 5,9 Bot
-- INSERT --
45 "set autowrite " Automatically save before commands like :next and :make
46 "set hidden " Hide buffers when they are abandoned
47 "set mouse=a " Enable mouse usage (all modes)
48
49 " Source a global configuration file if available
50 if filereadable("/etc/vim/vimrc.local")
51 source /etc/vim/vimrc.local
52 endif
53
54 set number
55 set mouse=a
56 colorscheme elflord
57 set nowrap
58 syntax on
58,10 Bot