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 折叠插件的更多相关文章

  1. 网站开发常用jQuery插件总结(11)折叠插件Akordeon

    实现折叠菜单,可以完全不使用插件.如果使用jquery的话,实现起来也比较简单,我们只需要定义折叠菜单的样式,然后使用jquery中的渐隐渐现就可以了.如果我们自己写折叠菜单,可以方便的使用我们自己的 ...

  2. 浅尝Java(二、代码折叠插件的使用)

    主题:eclipse代码折叠插件的使用. 工作中在使用eclipse开发Java项目时,我们会写很多if,for循环啊什么的,这使得我们的项目代码会有很多很多行.写完后要想检查或者查看,就要从头一行一 ...

  3. bootstrap学习: 折叠插件和面板

    bootstrap提供了面板排版工具和折叠插件,能够用来实现新闻列表.留言板.博客分块等: 1.折叠插件: <a data-toggle="collapse" data-ta ...

  4. Atitit.ide代码块折叠插件 eclipse

    Atitit.ide代码块折叠插件 eclipse 1. User Defined Regions  #region  ...  #endregion  插件com.cb.eclipse.foldin ...

  5. 第二百四十七节,Bootstrap按钮和折叠插件

    Bootstrap按钮和折叠插件 学习要点: 1.按钮 2.折叠 本节课我们主要学习一下 Bootstrap 中的按钮和折叠插件. 一.按钮 可以通过按钮插件创建不同状态的按钮,也就是点击后为选中状态 ...

  6. open live writer安装以及代码高亮、折叠插件安装

    一.目的 方便在本地写博客,不用在浏览器上写. 二.open live writer的安装 下载open live writer 这是我的 链接:https://pan.baidu.com/s/1u8 ...

  7. Bootstrap 学习笔记11 按钮和折叠插件

     复选框: <div class="btn-group" data-toggle="buttons"> <label for="se ...

  8. Gedit 有用插件介绍

    刚刚接触Ubuntu,对于高手们用的Vim,本人只能望尘莫及.但是,Ubuntu自带的Gedit让我找到了windows的感觉,而且在添加一些插件后更加喜欢这个工具了. gedit本身带有一些常用插件 ...

  9. sublime text 2 ubuntu安装及插件管理

    参考 dudumao 1.下载Sublime Text2官网下载地址:http://www.sublimetext.com 2.安装Sublime Text2解压即可使用 $ sudo tar -jx ...

随机推荐

  1. Java I/O输入输出流详解

    一.文件的编码               开发时一定要注意项目默认的编码!!!!!!!!               文件操作的时候一定要记得关闭!!!!!!!!        ASCII:美国标准 ...

  2. oc-03-OC访问OC源文件、C源文件中的函数

    show.h #ifndef __OCDay01__Show__ #define __OCDay01__Show__ #include <stdio.h> extern void test ...

  3. 面向对象设计原则OO

    面向对象设计原则是OOPS(Object-Oriented Programming System,面向对象的程序设计系统)编程的核心,但大多数Java程序员追逐像Singleton.Decorator ...

  4. 网络IPC:套接字之建立连接

    如果处理的是面向连接的网络服务(SOCK_STREAM或SOCK_SEQPACKET),在开始交换数据以前,需要在请求服务的进程套接字(客户端)和提供服务的进程套接字(服务器)之间建立一个连接.客户端 ...

  5. debian之source.list详解

    之前安装的是debian sarge(内核是2.4.7),不太想更新,但是发现原来的源/ect/apt/source.lists如下,但是用apt-get update,发现大都已经不可用了.怎么办, ...

  6. OpenVPN中的几个和连接相关的Timer解析

    在OpenVPN中存在几个计时器,这些计时器限制着OpenVPN的一些特定行为的最长持续时间,如果设置不好,就会带来莫名其妙的断线问题,然而如何设置这些计数器也没有一个通用的方案,特定情况下不能太大也 ...

  7. True Zero Downtime HAProxy Reloads--转载

    原文地址:http://engineeringblog.yelp.com/2015/04/true-zero-downtime-haproxy-reloads.html HAProxy: Corner ...

  8. jgroup 概述--官方文档

    原文地址:http://www.jgroups.org/manual/html/ch01.html# Chapter 1. Overview 1.1. Channel 1.2. Building Bl ...

  9. CentOS中TFTP配置

    转载:http://www.centoscn.com/image-text/config/2013/1105/2062.html TFTP是用来下载远程文件的最简单网络协议,它其于UDP协议而实现 1 ...

  10. MSP430常见问题之电源类

    Q1:msp430(我用的4619)的VCC,DVCC,VSS,DVSS怎么接啊?模拟的和数字的一样吗?A1:CC 就是正,SS 就是负,A是模拟电,D 是数字电,A的都接在一起,D 的都接在一起,地 ...