Sha256: b996714dbfaa9ba5a8d3847388a02770e9609c7745b240aace881a55e7dab3d6
Contents?: true
Size: 716 Bytes
Versions: 538
Compression:
Stored size: 716 Bytes
Contents
#!/bin/bash source /etc/profile.d/globals.sh default_vimrc='/usr/share/vim/vim82/defaults.vim' global_vimrc='/etc/vim/vimrc' $screen_cmd "${apt} install -y vim ${assess_update_errors}" grok_error sudo cp $global_vimrc $global_vimrc.dpkg-ORIG sudo /bin/bash --login -c "cat ${default_vimrc} > ${global_vimrc}" # Disable auto-indent sudo /bin/bash --login -c "sed -i 's/ filetype plugin indent on/ filetype plugin indent off/g' ${global_vimrc}" # Disable visual mode when highlighting text with mouse sudo /bin/bash --login -c "sed -i 's/ set mouse=a/ set mouse-=a/g' ${global_vimrc}" # Ensure Global vimrc overrides default vimrc sudo /bin/bash --login -c "echo 'let skip_defaults_vim=1' >> ${global_vimrc}"
Version data entries
538 entries across 538 versions & 1 rubygems