Move the selected word backwards by one word.ĭelete from the cursor to the beginning of the line.ĭelete from the cursor to the end of the line.Ĭut the selected text or region and place it on the clipboard.Ĭopy the selected text or region onto the clipboard. Move the selected word forward by one word. Regular expressions can match many items, but evidently not everything as regex recursion remains unavailable. † GTK+ shortcut added for completeness has no relation to gedit.įor selecting other custom text that can be specified by a regular expression, use the Click Config plugin.* Keyboard digits only does not work with Numpad digits.Switch to the workspace application to the left. Switch to the workspace application to the right. Switch to the document/side pane tab to the right. Switch to the document/side pane tab to the left. Move the cursor to the end of the document. Move the cursor to the beginning of the document. Move the cursor to a specific line number. Move the cursor to the end of the next line. Move the cursor to the beginning of the previous line. Move the cursor to the beginning of the line. Cursor navigation Cursor navigation Ctrl shortcut Unfortunately, key-bindings for these sentence functions are nowhere to be found… Finally, I did not include published shortcuts that failed to work in gedit 3.8.3, nor shortcuts that are specific to optionally installed plugins, unless otherwise stated. In it, sentence navigation gets mentioned. For example, there is this specification of GtkTextIter, which is a component of GtkTextView providing text manipulation. However, by no means I pretend this list to be complete. Other combinations were reordered for better comprehension. Some key combinations were never published before. Here is my attempt at compiling an all-encompassing gedit keyboard shortcut list. This means there are more keyboard shortcuts at play than those documented in the gedit wiki. As Craig Russell brilliantly pointed out, gedit uses the GtkTextView widget to display and edit text. For sure, GNOME’s gedit wiki will direct you to a page with “official” keyboard shortcuts. Here is where things start to get interesting. One might ask: “Why bother writing about gedit keyboard shortcuts? Are those items not documented?” Well, not quite. Use of the computer mouse seriously disrupts the flow of creative electronic writing. This happens because keyboard typing is essentially a two-hands undertaking when one hand leaves the keyboard to grab a computer mouse, the other hand will mostly remain idle. Doing so will tremendously speed up work. Once one starts using gedit extensively for writing content, it becomes inevitable to learn a handful of keyboard shortcuts. I also use gedit for preparing LaTeX and ConTeXt documents. Shortcuts to speedĪs a matter of fact, gedit happens to be the editor which I use for writing the Markdown documents that end up being converted to these web pages. They do have a role, but I am sure most users will be will more than happy with this GUIsh way.Screenshot of gedit 3.8.3 with its Oblivion colour scheme whilst writing this text in Pandoc Markdown. I decided to write this post as most top results in Google for ‘custom keyboard shortcuts in Linux’ kept pointing users to solution using gconf-editor or xbindkeys. I like this new mechanism as it is much cleaner, intuitive and user friendly. You can click on the shortcut section and enter some keyboard shortcut. Now you will see a new entry in the “Custom Shortcuts” section. So in Name enter “Gedit” and in Command enter “/usr/bin/gedit”. Let’s suppose I want use Window+g to start gedit. You will get a new dialog with two entries : Name and Command. To add a shortcut for arbitrary action that is not listed, click on “Add” button. You can use this window to modify keyboard shortcuts for certain preexisting entries – For eg I set starting a new terminal to Alt+F3 instead of Ctrl+Alt+T (see option ‘Run a Terminal’ under ‘Desktop’ in the shortcuts window). Invoke System –> Preferences –> Keyboard shortcuts. The way to add additional custom keyboard shortcuts used to involve muddying around with gconf-editor or xbindkeys. I noticed that GNOME now allows you to set arbitrary custom keyboard shortcuts in a easy fashion. ![]() I am still tweaking it to increase productivity. Recently, I bought a new laptop and did a fresh install of Ubuntu and other applications. ![]() For details refer my old blog post on AutoKey. The basic idea was to create a Autokey script and use Python’s subprocess module to invoke the application. Specifically, I was using AutoKey for many of keyboard shortcuts to invoke applications – eg Windows+g for gedit, Windows+c for Chrome and so on. I am primarily a keyboard person and like to have as many keyboard shortcuts as possible – I used a variety of tools for this end ranging from Autokey, GNOME-Do etc.
0 Comments
Leave a Reply. |