--- /dev/null
+-- Configuration file for haskeline (an incomplete readline "clone").
+
+-- Copyright (C) 2014 Simon Ruderich
+--
+-- This file is free software: you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation, either version 3 of the License, or
+-- (at your option) any later version.
+--
+-- This file is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this file. If not, see <http://www.gnu.org/licenses/>.
+
+
+-- Activate Vi editing mode.
+editMode: Vi
+
+-- Never ring any bell.
+bellStyle: NoBell
+
+-- Increase history size.
+maxHistorySize: Just 50000
+-- Don't add consecutive duplicate lines to the history.
+historyDuplicates: IgnoreConsecutive
+
+
+-- KEY BINDINGS
+
+-- <Up>/<Down> with the additional effect that only lines starting with the
+-- current input are matched. Very useful to recall old commands quickly -
+-- just type the first few characters.
+bind: ctrl-p meta-k
+bind: ctrl-n meta-j
+
+-- vim: ft=haskell
# Setup script for shell configuration files.
-# Copyright (C) 2011-2012 Simon Ruderich
+# Copyright (C) 2011-2014 Simon Ruderich
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
link colordiffrc ~/.colordiffrc
fi
link inputrc ~/.inputrc
+if installed ghci; then
+ link haskeline ~/.haskeline
+fi
link screenrc ~/.screenrc
if installed tmux; then
link tmux.conf ~/.tmux.conf