2014-06-10 20:59:47 +02:00
|
|
|
# -*- conf -*-
|
|
|
|
|
|
|
|
# Configuration for a Lenovo X1 Carbon Gen 2 keyboard
|
|
|
|
#
|
|
|
|
# This keyboard is a mess. Really. Here is what we do about it:
|
|
|
|
#
|
|
|
|
# - transform Home and End as a Control_L key
|
|
|
|
# - transform Backquote (between left alt and left ctrl) into Insert
|
|
|
|
# - transform Escape to Backquote. Let's say we don't need escape.
|
|
|
|
#
|
|
|
|
# Escape can be replaced with C-[. See:
|
|
|
|
# http://vim.wikia.com/wiki/Avoid_the_escape_key
|
|
|
|
xkb_keymap {
|
|
|
|
xkb_keycodes { include "evdev+aliases(qwerty)" };
|
|
|
|
xkb_types { include "complete" };
|
|
|
|
xkb_compat { include "complete" };
|
2015-10-08 08:41:15 +02:00
|
|
|
xkb_symbols { include "pc+us+fr:2+inet(evdev)"
|
|
|
|
include "compose(ralt)+ctrl(nocaps)"
|
|
|
|
include "group(rctrl_rshift_toggle)"
|
|
|
|
include "vbe(x1)" };
|
2014-06-10 20:59:47 +02:00
|
|
|
xkb_geometry { include "pc(pc105)" };
|
|
|
|
};
|