forked from gmate/gmate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
keybindings.txt
160 lines (134 loc) · 4.13 KB
/
keybindings.txt
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
Gedit Keybindings, Preparing to create a Cheat Sheet
General
=======
F1 => Help
CTRL+N => New Document
CTRL+O => Open Document
CTRL+L => Open URI (Localization)
CTRL+S => Save
CTRL+SHIFT+S => Save As...
CTRL+SHIFT+L => Save All Documents
CTRL+SHIFT+P => Preview Print
CTRL+P => Print...
CTRL+Q => Close Gedit
Tabs and documents
==================
CTRL+W => Close Current Document/Tab
CTRL+SHIFT+W => Close All Documents/Tabs
CTRL+ALT+PGUP => Go to Left Tab
CTRL+ALT+PGDOWN => Go to Right Tab
ALT+n => Go to Document/Tab n
Text Manipulation
=================
CTRL+A => Select all
CTRL+Z => Undo last action
CTRL+SHIFT+Z => Redo last undo action
CTRL+X => Cut selected text or region to clipboard
CTRL+C => Copy selected text or region to clipboard
CTRL+V => Paste clipboard content to current cursor position
CTRL+D => Delete current line
CTRL+SHIFT+DEL => Delete from cursor to end of line
Panels
======
F9 => Show/Hide Side panel (Filebrowser)
CTRL+F9 => Show/Hide bottom panel (Terminal)
Searching
=========
CTRL+F => Find a text
CTRL+G => Find Next
CTRL+SHIFT+G => Find Previous
CTRL+K => Interactive Search
CTRL+H => Search and Replace
CTRL+SHIFT+K => Clear Search Highlight
CTRL+I => Go to Line
Plugins Keystrokes
==================
Regex Search and Replace
------------------------
CTRL+SHIFT+H => Open Search and Replace by regex dialog
Code Comment
------------
CTRL+M => Comment selected region
CTRL+SHIFT+M => Uncomment selected region
Snippets
--------
Enter the snippet acellerator than Press TAB.
Zen Coding
----------
Ctrl+E => Expand abbreviation
CTRL+ALT+E => Expand abbreviation as you type
CTRL+SHIFT+E => Wrap with abbreviation
CTRL+ALT+I => Balance tag inward
CTRL+ALT+O => Balance tag outward
CTRL+ALT+M => Merge lines with Ctrl+Alt+M
ALT+LEFT => Go to previous edit point
ALT+RIGHT => Go to next edit point
CTRL+ALT+R => Remove tag
CTRL+ALT+J => Split or join tags
CTRL+ALT+C => Toggle comment
Spell Checker
-------------
SHIFT+F7 => Spell check
Todo List
---------------
CTRL+ALT+T => Show Todo Marks List Window
Text Tools
----------
CTRL+SHIFT+C => Clear Line (Without Delete)
CTRL+SHIFT+D => Duplicate current line
ALT+ARROWUP => Move current line up
ALT+ARROWDOWN => Move current line down
CTRL+ALT+9 => Select text enclosed by Pairs Ex: ({"['<
ALT+W => Select Word
ALT+SHIFT+W => Select Word Special (Ignoring delimiters)
Multi-edit
----------
CTRL+R => Add single mark
Fuzzy Open
----------
CTRL+SHIFT+O => Open file by regex search (Go to File Window)
Find In Project
---------------
CTRL+ALT+F => Open search window to search in the project
Indent Lines
------------
CTRL+T / CRTL+TAB => Indent Selected Lines
CTRL+SHIFT+T / CRTL+SHIFT+TAB => Unindent Lines
Quick Highlight Mode
--------------------
CTRL+SHIFT+H => Fast Switch current syntax highlight mode
Join Lines
----------
CTRL+J => Join Current Line with the next line
CTRL+SHIFT+J => Split current Line
Rails Extract Partial
---------------------
CTRL+ALT+P => Create a partial with selected text
Rails Hot Commands
------------------
CTRL+ALT+C => Open Rails Hot Commands Window
Rails Hot Keys
--------------
The current Active File Needs to be in an Rails project folder
Press CTRL+SHIFT+R to Activate Rails Hot Keys then Press
F1 => Open the help file
A => Open controllers/application[_controller].rb File
B => Open your Rails project base directory
C => Open a controller file
D => Open the config/database.yml file
E => Open the config/environment.rb file
F => Open a functional test file
H => Open a helper file
I => Open a integration file
J => Open a fixture file
L => Open the views/layouts/application.rhtml file
M => Open a model file
N => Open the URL http://localhost:3000/ on your default browser
P => Open the public directory
R => Open the config/routes.rb file
T => Open all the tests (units, functionals and integration)
U => Open a unit test file
V => Open the view directory
Align...
--------
ALT+SHIFT+A => Align Selected text in columns by a given separator.