Ubuntu gedit 折叠插件
Ubuntu Kylin 14.04
gedit - Version 3.10.4 (as same as all version of gedit 3.x )
Attention: this plugin of gedit version 3.x is not the same as gedit version 2.x
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
First, download gedit plugin of folding, address: http://pan.baidu.com/s/1i3KFCI5
In my computer,the download directory is /home/jiayith/Dlowloads/
Then, tar -zxvf gedit-folding.tar.gz ,you will find two files: folding.py and folding.plugin
Then copy two files to correct directory, so you must find which directory is the plugins of your gedit.
Here is a blog,but it is only fit for gedit 2.x,
"其实gedit也可以使用很多插件,这些插件都放在~/.gnome2/gedit/plugins/目录下,如果没有此目录则创建 " this is not correct directory for my computer.
As for me,i found the directory is "/usr/lib/x86_64-linux-gnu/gedit/plugins/" ,all plugins in the directory
How can i found it? Go to root directory "/" , you can double click "主文件夹" in the desktop ,then there is a "Computer" in "Devices" ,double click "Computer" you will
enter root directory, actually, it is same as inputting "cd /" in terminal.
Next,you can click SEARCH button, just search it! Input "gedit" ,you will get many directorys, try each directory ,go to directory "Plugins", if there are many files such as "bookmarks.plugin",bracketcompletion.plugin","bracketcompletion.py" ,that is it! You find the direcroty! Mine is "/usr/lib/x86_64-linux-gnu/gedit/plugins/"
Then ,just cp the two files you get at first to the directory you find :
root@jiayith:/home/jiayith/Downloads# cp folding.py /usr/lib/x86_64-linux-gnu/gedit/plugins
root@jiayith:/home/jiayith/Downloads# cp folding.plugin /usr/lib/x86_64-linux-gnu/gedit/plugins
(you may need to "sudo su")
Last,open you gedit ,"Edit"->"Preferences"->"Plugins"->"Simple Folding" , choose it,ok!
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
And in my computer, Alt+X and Alt+Z can let code block fold. You can have a try!
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ps:Why is this blog in English??? I would not tell i can not fix my Chinese input method......
Ubuntu gedit 折叠插件的更多相关文章
- 网站开发常用jQuery插件总结(11)折叠插件Akordeon
实现折叠菜单,可以完全不使用插件.如果使用jquery的话,实现起来也比较简单,我们只需要定义折叠菜单的样式,然后使用jquery中的渐隐渐现就可以了.如果我们自己写折叠菜单,可以方便的使用我们自己的 ...
- 浅尝Java(二、代码折叠插件的使用)
主题:eclipse代码折叠插件的使用. 工作中在使用eclipse开发Java项目时,我们会写很多if,for循环啊什么的,这使得我们的项目代码会有很多很多行.写完后要想检查或者查看,就要从头一行一 ...
- bootstrap学习: 折叠插件和面板
bootstrap提供了面板排版工具和折叠插件,能够用来实现新闻列表.留言板.博客分块等: 1.折叠插件: <a data-toggle="collapse" data-ta ...
- Atitit.ide代码块折叠插件 eclipse
Atitit.ide代码块折叠插件 eclipse 1. User Defined Regions #region ... #endregion 插件com.cb.eclipse.foldin ...
- 第二百四十七节,Bootstrap按钮和折叠插件
Bootstrap按钮和折叠插件 学习要点: 1.按钮 2.折叠 本节课我们主要学习一下 Bootstrap 中的按钮和折叠插件. 一.按钮 可以通过按钮插件创建不同状态的按钮,也就是点击后为选中状态 ...
- open live writer安装以及代码高亮、折叠插件安装
一.目的 方便在本地写博客,不用在浏览器上写. 二.open live writer的安装 下载open live writer 这是我的 链接:https://pan.baidu.com/s/1u8 ...
- Bootstrap 学习笔记11 按钮和折叠插件
复选框: <div class="btn-group" data-toggle="buttons"> <label for="se ...
- Gedit 有用插件介绍
刚刚接触Ubuntu,对于高手们用的Vim,本人只能望尘莫及.但是,Ubuntu自带的Gedit让我找到了windows的感觉,而且在添加一些插件后更加喜欢这个工具了. gedit本身带有一些常用插件 ...
- sublime text 2 ubuntu安装及插件管理
参考 dudumao 1.下载Sublime Text2官网下载地址:http://www.sublimetext.com 2.安装Sublime Text2解压即可使用 $ sudo tar -jx ...
随机推荐
- Ubuntu下多服务器 Rsync同步镜像服务配置
主服务器:192.168.5.13_ubuntu 从服务器:192.168.5.11_centos ================== 1> 在两台主机上分别安装rsync========== ...
- iOS开发——笔记篇&关于字典plist读取/字典转模型/自定义View/MVC/Xib的使用/MJExtension使用总结
关于字典plist读取/字典转模型/自定义View/MVC/Xib的使用/MJExtension使用总结 一:Plist读取 /************************************ ...
- IDispatch接口 - GetIDsOfNames和Invoke(转)
IDispatch接口是COM自动化的核心.其实,IDispatch这个接口本身也很简单,只有4个方法: IDispatch : public IUnknown { public: virtual H ...
- Fliptile
开关题 尺度法 Fliptile Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 3394 Accepted: ...
- NSFileManager文件管理
前提,用到的东东: 1.文件数据类:NSData类型(二进制) 1)作用:专门用于将数据封装成二进制的类.数据(文本,图片,音频,视频....) ==> NSData类型的对象 2)编码方式: ...
- 邮件工具类--EmailUtil
/* Copyright Notice ===================================================* * This file contains propri ...
- PHP面向对象:类型提示
PHP是弱类型语言,向方法传递参数时候也不太区分类型.这样的使用会引起很多的问题,PHP开发者认为,这些问题应该是由代码书写者在书写代码时进行检验以避免. 没有类型提示很危险 下面的代码可能会出现问题 ...
- [转]C# 获取系统文件图标
//获取文件的图标 this.Icon = GetFileIcon(@"c:\gdiplus.dll"); //获取文件夹图标 this.Icon = GetDirectoryIc ...
- Ajax返回html和json格式数据
Ajax可以返回text和xml格式 可以用Ajax返回大段的html文本和json格式的字符串,然后用eval()方法 转化为json对象 php中的json编码:json_encode(); ph ...
- Jersey(1.19.1) - WebApplicationException and Mapping Exceptions to Responses
Previous sections have shown how to return HTTP responses and it is possible to return HTTP errors u ...