/
README
73 lines (64 loc) · 2.04 KB
/
README
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
h1. Gedit Plugin Configuration README
This repository should be cloned to @~/.gnome2/gedit@.
Extra configuration steps:
* Install gedit-plugins, csstidy, git-core, gitk, pyqt4-dev-tools through apt-get
pre. sudo apt-get install gedit-plugins csstidy git-core gitk pyqt4-dev-tools
* Install git-cola from http://cola.tuxfamily.org/releases/release/
* Select the following settings
** View
*** Display line number
*** Highlight current line
*** Highlight matching bracket
** Editor
*** Tab width: 2 (but don't enable Insert spaces instead of tabs because of elastictabstops plugin)
*** Enable automatic indentation
** Font & Colors
*** Color Scheme: Railscasts
* Turn on desired plugins in Edit -> Preferences -> Plugins
** Class Browser 0.3
** Code comment
** Column mode
** Document Statistics
** Edit shortcuts
*** add Ctrl+Shift+N -- open in new window
*** change Ctrl+Alt+E -- XML helper end tag
*** change Ctrl+Alt+M -- XML helper repeat tag
*** change Ctrl+Alt+Shift+T -- Textile preview
*** add Ctrl+Shift+I -- GeditDocInfoPluginActions/DocumentStatistics
*** change Ctrl+Alt+R -- Rails Hot Commands
*** add Ctrl+Alt+W -- toggle text wrap
** Elastic tabstops
** Embedded Terminal
** External Tools
** File Browser Pane
** Find In Files
** Fullscreen
** Indent Lines
** Join/Split Lines
** Line Tools
** Modelines
** Quick Highlight Mode
** Rails Extract Partial
** Rails Hot Commands
** Rails Hotkeys
** Regex Search and Replace
** Remote File System Save Hack
** Save without trailing space
** Session Saver
** Show/Hide Tabbar
** Smart Indent
** Snap Open
** Snippets
** Spell Checker
** Textile Preview
** Toggle text wrapping
** Web Browser
** Word Completion
** XML Helper
* Set smaller pixel widths for Elastic Tabstops
pre. gconftool-2 --type int --set /apps/gedit-2/plugins/elastictabstops/minimumwidth 15
gconftool-2 --type int --set /apps/gedit-2/plugins/elastictabstops/paddingwidth 10
* For Rails mime-types
pre. sudo cp rails.xml /usr/share/mime/packages/
sudo cp *.lang /usr/share/gtksourceview-2.0/language-specs/
sudo update-mime-database /usr/share/mime