From 0938c6ee832b9507bf01d0ca7645326c9b9024b5 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Sat, 6 Feb 2016 10:17:46 +0000 Subject: [PATCH] Set inputrc to set vim like keybindings in the shell. --- inputrc | 2 ++ makelinks.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 inputrc diff --git a/inputrc b/inputrc new file mode 100644 index 0000000..c362bfc --- /dev/null +++ b/inputrc @@ -0,0 +1,2 @@ +set editing-mode vi +set keymap vi-command diff --git a/makelinks.sh b/makelinks.sh index 143176f..1a37bd6 100755 --- a/makelinks.sh +++ b/makelinks.sh @@ -8,7 +8,7 @@ dir=~/etc/dotfiles olddir=~/etc/dotfiles.bak -files="vimrc bashrc bash_profile bash_aliases dir_colors Xresources gitconfig gitignore xinitrc" +files="vimrc bashrc bash_profile bash_aliases dir_colors Xresources gitconfig gitignore xinitrc inputrc" directories="mutt" ########## -- 2.46.2