fix duplicate lines and kill lines shortcut on mac

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>