summaryrefslogtreecommitdiffstats
path: root/roles/base_os/files
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2014-09-16 13:15:48 -0400
committerKenny Woodson <kwoodson@redhat.com>2014-09-16 13:15:48 -0400
commit5994dee9a8b3b1ee97f9e3b3529fd32ffb896187 (patch)
tree4c17abdd1e5b39e845d33d7d970ac216a82d766d /roles/base_os/files
downloadopenshift-5994dee9a8b3b1ee97f9e3b3529fd32ffb896187.tar.gz
openshift-5994dee9a8b3b1ee97f9e3b3529fd32ffb896187.tar.bz2
openshift-5994dee9a8b3b1ee97f9e3b3529fd32ffb896187.tar.xz
openshift-5994dee9a8b3b1ee97f9e3b3529fd32ffb896187.zip
Initial Commit. Sharing is caring
Diffstat (limited to 'roles/base_os/files')
-rw-r--r--roles/base_os/files/irbrc2
-rw-r--r--roles/base_os/files/vimrc12
2 files changed, 14 insertions, 0 deletions
diff --git a/roles/base_os/files/irbrc b/roles/base_os/files/irbrc
new file mode 100644
index 000000000..47374e920
--- /dev/null
+++ b/roles/base_os/files/irbrc
@@ -0,0 +1,2 @@
+require 'irb/completion'
+IRB.conf[:PROMPT_MODE] = :SIMPLE
diff --git a/roles/base_os/files/vimrc b/roles/base_os/files/vimrc
new file mode 100644
index 000000000..537b944ed
--- /dev/null
+++ b/roles/base_os/files/vimrc
@@ -0,0 +1,12 @@
+set tabstop=4
+set shiftwidth=4
+set expandtab
+set list
+
+"flag problematic whitespace (trailing and spaces before tabs)
+"Note you get the same by doing let c_space_errors=1 but
+"this rule really applies to everything.
+highlight RedundantSpaces term=standout ctermbg=red guibg=red
+match RedundantSpaces /\s\+$\| \+\ze\t/ "\ze sets end of match so only spaces highlighted
+"use :set list! to toggle visible whitespace on/off
+set listchars=tab:>-,trail:.,extends:>