Skip to content
Snippets Groups Projects
Commit 5a95f9dc authored by McConahy, Renee Margaret's avatar McConahy, Renee Margaret
Browse files

Add my inputrc.

parent baa826f7
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,7 @@
lockss_admin_email: root@localhost
roles:
- minimum_memory
- system-tweaks-nepeta
- lockss
tasks:
- debug:
......
set editing-mode vi
set bell-style none
set match-hidden-files off
set revert-all-at-newline on
set colored-stats on
set keymap vi-insert
"\C-b": unix-filename-rubout
"\C-l": clear-screen
"\C-x\C-i": insert-completions
"\C-xf": complete-filename
"\C-x=": possible-completions
"\C-x/": possible-filename-completions
"\C-x!": possible-command-completions
"\C-x@": possible-hostname-completions
"\C-x~": possible-username-completions
"\C-x$": possible-variable-completions
set keymap vi-command
"\C-b": unix-filename-rubout
"\C-l": clear-screen
"\C-a": yank-nth-arg
---
- name: Install better inputrc.
copy:
src: inputrc
dest: /etc/inputrc
owner: root
mode: 0644
- name: Make the Vagrant user automatically sudo to root on log-in.
lineinfile:
path: .bash_profile
line: "[[ $(id -u) == 0 ]] || exec sudo -s"
state: present
create: true
become: false
- name: Make vim the default editor for the Vagrant user.
lineinfile:
path: .bashrc
line: "export EDITOR=vim"
state: present
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment