--- /dev/null
+# Prompt
+percol.view.PROMPT = ur"<bold><blue>Pattern:</blue></bold> %q"
+
+# Style
+percol.view.CANDIDATES_LINE_BASIC = ("on_default", "default")
+percol.view.CANDIDATES_LINE_SELECTED = ("green", "bold", "underline")
+percol.view.CANDIDATES_LINE_MARKED = ("red", "bold", "underline")
+percol.view.CANDIDATES_LINE_QUERY = ("yellow", "bold")
+
+# Emacs-like keymap
+percol.import_keymap({
+ "C-h" : lambda percol: percol.command.delete_backward_char(),
+ "C-d" : lambda percol: percol.command.delete_forward_char(),
+ "C-k" : lambda percol: percol.command.kill_end_of_line(),
+ "C-y" : lambda percol: percol.command.yank(),
+ "C-a" : lambda percol: percol.command.beginning_of_line(),
+ "C-e" : lambda percol: percol.command.end_of_line(),
+ "C-b" : lambda percol: percol.command.backward_char(),
+ "C-f" : lambda percol: percol.command.forward_char(),
+ "C-n" : lambda percol: percol.command.select_next(),
+ "C-p" : lambda percol: percol.command.select_previous(),
+ "C-v" : lambda percol: percol.command.select_next_page(),
+ "M-v" : lambda percol: percol.command.select_previous_page(),
+ "M-<" : lambda percol: percol.command.select_top(),
+ "M->" : lambda percol: percol.command.select_bottom(),
+ "C-m" : lambda percol: percol.finish(),
+ "C-j" : lambda percol: percol.finish(),
+ "C-g" : lambda percol: percol.cancel(),
+})