Skip to content

Instantly share code, notes, and snippets.

@dwayne
Created June 24, 2012 18:26
Show Gist options
  • Save dwayne/2984306 to your computer and use it in GitHub Desktop.
Save dwayne/2984306 to your computer and use it in GitHub Desktop.
My Gedit setup

My Gedit Setup

https://live.gnome.org/GeditPlugins

$ sudo apt-get install gedit-plugins

https://github.com/dtrebbien/gedit-trim-trailing-whitespace-before-saving-plugin

$ git clone git://github.com/dtrebbien/gedit-trim-trailing-whitespace-before-saving-plugin.git
$ cd gedit-trim-trailing-whitespace-before-saving-plugin/src
$ mkdir -p ~/.local/share/gedit/plugins
$ cp * ~/.local/share/gedit/plugins

http://ctags.sourceforge.net/

$ sudo apt-get install curl # since curl is a dependency for the script
$ ./install-ctags.sh

https://github.com/Quixotix/gedit-source-code-browser

$ git clone git://github.com/Quixotix/gedit-source-code-browser.git
$ mkdir -p ~/.local/share/gedit/plugins
$ cp -r gedit-source-code-browser/sourcecodebrowser ~/.local/share/gedit/plugins
$ cp gedit-source-code-browser/sourcecodebrowser.plugin ~/.local/share/gedit/plugins

https://github.com/gmate/gmate

$ sudo apt-add-repository ppa:ubuntu-on-rails/ppa
$ sudo apt-get update
$ sudo apt-get install gedit-gmate

Go to Edit > Preferences

View Tab: Check all and display right margin at column 80.

Editor Tab: Check all except the backup copy of files before saving. Tab width is 2 and autosave files every 5 minutes.

Font & Colors Tab: Uncheck use the system fixed width font. Editor font: Monospace 10.

Plugins: Add whatever you think will be helpful.

#!/bin/bash
mkdir ~/Downloads/ctags
cd ~/Downloads/ctags
curl -L http://prdownloads.sourceforge.net/ctags/ctags-5.8.tar.gz | tar xz --strip-components=1
./configure
make && sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment