Nature's Porter: Some simple configuration of gedit in Ubuntu environment

Source: Internet
Author: User

Gedit is ubuntu default text editor, personally feel good, use it to program to write some small demo is also very convenient, forgive me the comparison dish, vim used to feel the speed of typing is really slow ah.

The following gedit do some simple configuration, convenient programming.

I. Setting fonts, etc.

Set in edit-Preferences

It's relatively simple, straightforward.

Set the font, the default font looks small, I use the Ubuntu Mono font 16th, color scheme is also used by the default color scheme, if the habit of Kate can also be configured.

Optional installation of a number of plugins

Two. Set the C language for automatic compilation

Tools-->manage Add a tool in External tools

#!/bin/SHFullName=$GEDIT _current_document_namename=`Echo$fullname |Cut-D.-F1 ' suffix=`Echo$fullname |Cut-D.-F2 'GCC$fullname-lpthread-o $name &&Echo "Compilation succeeded"; dir=$GEDIT _current_document_dirgnome-terminal--hide-menubar--working-directory=$dir-T"Terminal-$name"-X Bash-c"$dir/$name; Echo;echo ' press ENTER to return '; Read"

Set a shortcut for your habits

Try it:

When writing C language, you can not switch to the terminal to knock commands!

There are also Python's interactive environments:

ctr+f9 Bring up the bottom panel to discover Python's interactive command environment (provided you have configured the Pyhon plugin):

Well, it's much more comfortable to use now.

Nature's Porter: Some simple configuration of gedit in Ubuntu environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.