fix keyboard accelerators
ignore swap files and gdb history