diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-12-19 17:08:39 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-12-19 17:08:39 -0500 |
commit | e922a7427371b5869d1b1623c368f365bad3fedb (patch) | |
tree | 49fd95ece32c13407d65f4a845f873201e389b13 /runtime/vimrc_example.vim | |
parent | 189427efd7b905c00f155f5f9ce5123eca599e44 (diff) | |
parent | a62fe49d3caa40b8a6efb6528cce725f4dffa78a (diff) | |
download | rneovim-e922a7427371b5869d1b1623c368f365bad3fedb.tar.gz rneovim-e922a7427371b5869d1b1623c368f365bad3fedb.tar.bz2 rneovim-e922a7427371b5869d1b1623c368f365bad3fedb.zip |
Merge pull request #1648 from Pyrohh/amiga-vms-cleanup
Amiga/VMS cleanup
Diffstat (limited to 'runtime/vimrc_example.vim')
-rw-r--r-- | runtime/vimrc_example.vim | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/runtime/vimrc_example.vim b/runtime/vimrc_example.vim index 3175711aa1..11656f2d5d 100644 --- a/runtime/vimrc_example.vim +++ b/runtime/vimrc_example.vim @@ -1,13 +1,11 @@ " An example for a vimrc file. " -" Maintainer: Bram Moolenaar <Bram@vim.org> -" Last change: 2014 Feb 05 +" Maintainer: Bram Moolenaar <Bram@vim.org> +" Last change: 2014 Feb 05 " " To use it, copy it to " for Unix: ~/.vimrc -" for Amiga: s:.vimrc -" for MS-DOS and Win32: $VIM\_vimrc -" for OpenVMS: sys$login:.vimrc +" for MS-DOS and Win32: $VIM\_vimrc " When started as "evim", evim.vim will already have done these settings. if v:progname =~? "evim" @@ -21,16 +19,12 @@ set nocompatible " allow backspacing over everything in insert mode set backspace=indent,eol,start -if has("vms") - set nobackup " do not keep a backup file, use versions instead -else - set backup " keep a backup file (restore to previous version) - set undofile " keep an undo file (undo changes after closing) -endif -set history=50 " keep 50 lines of command line history -set ruler " show the cursor position all the time -set showcmd " display incomplete commands -set incsearch " do incremental searching +set backup " keep a backup file (restore to previous version) +set undofile " keep an undo file (undo changes after closing) +set history=50 " keep 50 lines of command line history +set ruler " show the cursor position all the time +set showcmd " display incomplete commands +set incsearch " do incremental searching " For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries " let &guioptions = substitute(&guioptions, "t", "", "g") @@ -84,7 +78,7 @@ if has("autocmd") else - set autoindent " always set autoindenting on + set autoindent " always set autoindenting on endif " has("autocmd") @@ -93,5 +87,5 @@ endif " has("autocmd") " Only define it when not defined already. if !exists(":DiffOrig") command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis - \ | wincmd p | diffthis + \ | wincmd p | diffthis endif |