Option to display control characters in gedit
There is a gedit-plugins package available for Ubuntu. Install that and take a look at the Draw Spaces section in the gedit preferences. You can configure it to show spaces, tabs, line feeds etc.
You can use this command in a terminal: sudo apt-get install gedit-plugins
View newline and tab chars in Linux text editor
For Python 'SPE' or 'ERIC3' are great.
I know for sure that SPE supports highlighting whitespace.
Probable ERIC3 as well.
Also you can let the editors save without trailing spaces.
'kate' supports highlighting whitespace as well as tabs and can also remove trailing spaces and/or highlight them.
At the moment I'm using 'KDevelop' because it supports vertical selection which is very usefull at times.
Column Mode in gedit?
I'm not sure if this helps. The GNOME page on the subject is down. Quite a lot of people seem to be looking for that exact feature. One guy is doing this plug-in; try it perhaps it helps: http://jon-walsh.com/journal/multi-edit/
Other thoughts on the subject are here: http://brainstorm.ubuntu.com/idea/17656/. This is supposed to be an unfinished plug-in for what you're looking for, but as I said, the page appears to be down. http://live.gnome.org/Gedit/Plugins/ColumnMode
gedit broken shortcut keys, has mod2
I'm going to answer my question. I have solved it after hours of trial and error.
I was connecting to my Linux machine running gedit using Synergy. So I jsut transfered the keyboard to the USB port running the linux machine and then reconfigured the Shortcut Editor Plugin for gedit.
The shortcuts are now properly set by the plugin.
Increase number recently opened file list in gedit (gnome)
The configuration setting is in /schemas/apps/gedit-2/preferences/ui/recents/max_recents
according to http://people.gnome.org/~bmsmith/gconf-docs/C/gedit.html.
According to OP the setting can successfully be changed by issuing the command gconftool-2 --type int --set /apps/gedit-2/preferences/ui/recents/max_recents 10
(Notice: /schemas
is removed!)
How to remove all special characters in Linux text
Remove everything except the printable characters (character class [:print:]
), with sed
:
sed $'s/[^[:print:]\t]//g' file.txt
[:print:]
includes:
[:alnum:]
(alpha-numerics)[:punct:]
(punctuations)- space
The ANSI C quoting ($''
) is used for interpreting \t
as literal tab inside $''
(in bash
and alike).
Related Topics
Source Code of Pthread Library
Get the Characters After the Last Index of a Substring from a String
Unable to Start Rstudio in Centos Getting Error "Unable to Connect to Service"
Remove ^H and ^M Characters from a File Using Linux Shell Scripting
How to Force Node.Js Require to Be Case Sensitive
Can an Interrupt Handler Be Preempted
How to Combine Two Variable Column-By-Column in Bash
Mpi_Send Takes Huge Part of Virtual Memory
List Files Recursively in Linux Cli With Path Relative to the Current Directory
Add Column to End of CSV File Using 'Awk' in Bash Script
Linking Boost Library in Linux
How to Open a File in Assembler and Modify It
Git Bash Is Displaying Strange Characters on Windows 7
Execution Time of an SQLite Query: Units
Erlang: Unix Domain Socket Support