gedit plugins

来源:互联网 发布:电视剧国防生知乎 编辑:程序博客网 时间:2024/04/29 06:03

Ubuntu下编程,老手会用“终端+vim”,因为这个组合可以摆脱鼠标,完成鼠标可以完成的几乎所有的操作。但一些用惯鼠标的人来说,还是很不能适应的。下边介绍一下如何打造“终端+gedit”编译环境。

1. gedit自带的plugins

在安装ubuntu系统时,会自带gedit软件。它本身有一些插件(安装gedit时,默认就有),大致如下:

>> Check update: Check for latest version of gedit (Win32 and OS X only).
>> Document Statistics: Analyses the current document and reports the number of words, lines, characters and non-space characters in it.
>> External tools: Execute external commands and shell scripts. (More)
>> File Browser: Easily access your file system (includes remote mounts, creating new files/directories, monitor directories for changes, etc.).
>> Insert Date/Time: Inserts current date and time at the cursor position.
>> Modelines: Emacs, Kate and Vim-style modelines support for gedit.
>> Python console: Interactive Python console standing in the bottom panel.
>> Quick open: Quickly open files.
>> Snippets: Insert often used pieces of text in a fast way. (More)
>> Sort: Sorts a document or selected text.
>> Spell: Checks the spelling of the current document

同时,gedit还有一下插件,由于比较特殊(不通用),所以在安装gedit时,默认并没有安装上,大致如下:

>> Bookmarks: Easy document navigation with bookmarks.
>> Bracket Completion: Add automatically a closing bracket when you insert one.
>> Charmap: Select characters from a charactermap.
>> Code Comment: Comment or uncomment blocks of code.
>> Color picker: Select and insert a color from a dialog (for html, css, php).
>> Commander: Command line interface for advanced editing.
>> Draw spaces: Draw Spaces and Tabs.
>> Join lines/ Split lines: Join or split multiple lines through Ctrl+J and Ctrl+Shift+J.
>> Git: Shows what has changed since last commit
>> ulti edit: Edit document in multiple places at once.
>> Session Saver: Allow to bookmark working sessions in order to get them back for further use.
     Unfortunately the plugin was broken and unmaintained, so it has been removed.
>> Show tabbar: A very basic plugin which shows or hides the gedit tabbar.
>> Smart Spaces: Allow to unindent like if you were using tabs while you're using spaces.
>> SyncTeX: Synchronize between LaTeX and PDF with gedit and evince.
>> Tag List: Provides a method to easily insert commonly used tags/strings into a document without having to type them.
>> Terminal: A simple terminal widget accessible from the bottom panel.
>> Text size: Easily increase and decrease the text size.
>> Word completion: Word completion using the completion framework

安装以上这些plugins很简单,一条命令搞定:

sudo apt-get install gedit-plugins

安装完毕后,在references -> plugins中把需要的打钩。

2. 第三方plugins

登录gedit官方网站:

https://wiki.gnome.org/Apps/Gedit/PluginsLists

所以Third-party开头的都是第三方插件的汇总,区别是版本不同。在ubuntu系统的终端中输入:

gedit --version
查看自己的gedit版本,然后选择合适的列表。进入后会列出当前可用的所有第三方插件。想用哪个就单独下载,然后按说明安装即可。一般步骤是,下载后,将插件复制到:

~/.local/share/gedit/plugins/
即可。






原创粉丝点击