summaryrefslogtreecommitdiffstats
path: root/abs/extra/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/vim/vimrc')
-rw-r--r--abs/extra/vim/vimrc16
1 files changed, 16 insertions, 0 deletions
diff --git a/abs/extra/vim/vimrc b/abs/extra/vim/vimrc
new file mode 100644
index 0000000..9b4eaac
--- /dev/null
+++ b/abs/extra/vim/vimrc
@@ -0,0 +1,16 @@
+" All system-wide defaults are set in $VIMRUNTIME/archlinux.vim (usually just
+" /usr/share/vim/vimfiles/archlinux.vim) and sourced by the call to :runtime
+" you can find below. If you wish to change any of those settings, you should
+" do it in this file (/etc/vimrc), since archlinux.vim will be overwritten
+" everytime an upgrade of the vim packages is performed. It is recommended to
+" make changes after sourcing archlinux.vim since it alters the value of the
+" 'compatible' option.
+
+" This line should not be removed as it ensures that various options are
+" properly set to work with the Vim-related packages.
+runtime! archlinux.vim
+set mouse-=a
+" If you prefer the old-style vim functionalty, add 'runtime! vimrc_example.vim'
+" Or better yet, read /usr/share/vim/vim72/vimrc_example.vim or the vim manual
+" and configure vim to your own liking!
+