This file is indexed.

/usr/share/gps/key_themes/emacs.xml is in gnat-gps-common 6.1.2016-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version="1.0" ?>
<GPS>
  <!--  load default theme, which is overridden in this file -->
  <key load='include/common'/>

  <!--  disable GPS key shortcuts which conflict with emacs shortcuts -->

  <key action="complete identifier (advanced)" />
  <key action="">control-x</key>
  <key action="">control-c</key>

  <!--  define key shortcuts -->

  <key action="subprogram box">control-c n</key>
  <key action="kill line">control-k</key>
  <key action="kill forward">control-d</key>
  <key action="delete word forward">cmd-d</key>
  <key action="transpose chars">control-t</key>
  <key action="transpose lines">control-x control-t</key>
  <key action="save">control-x control-s</key>
  <key action="save as" >control-x control-w</key>
  <key action="goto beginning of line">control-a</key>
  <key action="goto end of line">control-e</key>
  <key action="goto beginning of buffer">cmd-less</key>
  <key action="goto end of buffer">cmd-greater</key>
  <key action="open file">control-x control-f</key>
  <key action="refill">cmd-q</key>
  <key action="repeat next">control-u</key>
  <key action="complete identifier">primary-slash</key>

  <key action="goto declaration or body">control-c control-d</key>
  <key action="goto other file">control-c o</key>

  <key action="comment lines">control-c semicolon</key>

  <key action="backward locations history">control-c control-s</key>
  <key action="open line">control-o</key>
  <key action="join line">cmd-j</key>
  <key action="Upper case word">cmd-u</key>
  <key action="Lower case word">cmd-l</key>
  <key action="Capitalize word">cmd-c</key>
  <key action="goto line">cmd-g</key>
  <key action='zap to char'>cmd-z</key>
  <key action='just one space'>cmd-space</key>

  <key action="set mark command">control-space</key>
  <key action="cancel mark command">control-g</key>

  <key action="global search in context: actions">cmd-x</key>
  <key action="global search in context: opened windows">control-x b</key>

  <key action="paste from clipboard">control-y</key>
  <key action="paste previous from clipboard">cmd-y</key>
  <key action="copy to clipboard">cmd-w</key>
  <key action="cut to clipboard">control-w</key>

  <key action="macro start Keyboard">control-x parenleft</key>
  <key action="macro stop">control-x parenright</key>
  <key action="macro play">control-x e</key>

  <key action="undo">control-underscore</key>
  <key action="redo">shift-control-underscore</key>

  <key action="close current window">control-x k</key>

  <key action="exit">control-x control-c</key>

  <key action="delete horizontal space">cmd-backslash</key>

  <key action="new view vertical">control-x 2</key>
  <key action="new view horizontal">control-x 3</key>

  <key action="move to previous page">cmd-v</key>
  <key action="move to next page">control-v</key>

  <key action="move to next window">control-x control-b</key>
  <key action="move to previous window" />

  <key action="select other window">control-x o</key>

  <key action="center cursor on screen">control-l</key>

  <key action="delete word backward">cmd-BackSpace</key>
  <key action="delete word forward">cmd-d</key>

  <key action="rectangle_cut">control-x r k</key>
  <key action="rectangle_paste">control-x r y</key>
  <key action="rectangle_delete">control-x r d</key>
  <key action="rectangle_clear">control-x r c</key>
  <key action="rectangle_open">control-x r o</key>
  <key action="rectangle_string">control-x r t</key>

  <key action="isearch">control-s</key>
  <key action="isearch backward">control-r</key>
</GPS>