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 :

[email protected]:/home/jiayith/Downloads# cp folding.py
/usr/lib/x86_64-linux-gnu/gedit/plugins

[email protected]:/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......

时间: 2024-12-12 13:21:20

Ubuntu gedit 折叠插件的相关文章

第 17 章 按钮和折叠插件

学习要点: 1.按钮 2.折叠 主讲教师:李炎恢 本节课我们主要学习一下 Bootstrap 中的按钮和折叠插件. 一.按钮 可以通过按钮插件创建不同状态的按钮. //单个切换. <button class="btn btn-primary" data-toggle="button" autocomplete="off">单个切换</button> 注:在 Firefox 多次页面加载时,按钮可能保持表单的禁用或选择状态.

Atitit.ide代码块折叠插件 eclipse

Atitit.ide代码块折叠插件 eclipse 1. User Defined Regions  #region  ...  #endregion  插件com.cb.eclipse.folding 1 2. If else for 折叠插件 1 3. 在eclipse 中开启设置代码折叠功能 Ctrl+Shift+Numpad_Divede(小键盘的/号) 2 4.  2 1. User Defined Regions  #region  ...  #endregion  插件com.cb

Gedit 有用插件介绍

刚刚接触Ubuntu,对于高手们用的Vim,本人只能望尘莫及.但是,Ubuntu自带的Gedit让我找到了windows的感觉,而且在添加一些插件后更加喜欢这个工具了. gedit本身带有一些常用插件,比如文档浏览器.缩进行等.可以在编辑->首选项->插件中选中,重启Gedit即可使用.同时,可以使用 $sudo apt-get install gedit-plugins 更新Gedit插件.但是也有一些第三方插件是程序开发中常用到的,但是需要自己下载安装. 在此记录下所用插件以及安装过程.

ubuntu gedit 打开 windows 分区中txt 文件乱码

http://blog.csdn.net/pipisorry/article/details/39482861 ubuntu 12.04 gedit 打开 windows 分区中的txt 文件乱码,是因为 ubuntu 和 windows 两个系统的编码不同. 解决办法1:(推荐) 终端里依次输入以下 2 条命令即可: gsettings setorg.gnome.gedit.preferences.encodings auto-detected "['GB18030','GB2312', 'G

ubuntu安装flash插件

初装了ubuntu,发现用filefox浏览器不能播放音乐,不能播放视频,不能看flash动画(囧),此时你就out了. 今天笔者向大家介绍简单的安装flash插件. step1: 进入flash官网:https://get.adobe.com/flashplayer/?loc=cn step2: 在左下角选择合适自己系统的版本的flash插件,并点击"立即下载".此处选择的是:".tar.gz,适用其它linux" step3: 进入命令行,将方才下载的文件解压,

【笔记】ubuntu 安装vim插件合辑

感谢 czloveyeer  的转发与启示,我在他的基础上进行了实验和改动    原链接 http://blog.csdn.net/czloveyeer/article/details/8076284 操作平台:  ubuntu LTS 12.04 0.首先你得有vim 版本7.3以上 1.先装上exuberant catgs: sudo apt-get install exuberant-ctags 2.安装vundle,用于安装vim插件,类似apt等软件安装包 git clone http

Bootstrap 按钮和折叠插件

---恢复内容开始--- 一.按钮 可以通过按钮插件创建不同状态的按钮. //单个切换. <button class="btn btn-primary" data-toggle="button" autocomplete="off">单个切换</button>鼠标点击按钮,选中状态,鼠标再点击,未选中状态,背景颜色变化 注:在 Firefox 多次页面加载时,按钮可能保持表单的禁用或选择状态.解决方案是: 添加 autoc

sublime text 2 ubuntu安装及插件管理

参考 dudumao 1.下载Sublime Text2官网下载地址:http://www.sublimetext.com 2.安装Sublime Text2解压即可使用 $ sudo tar -jxvf Sublime\ Text\ 2.0.2\ x64.tar.bz2 或者 sudo add-apt-repository ppa:webupd8team/sublime-text-2 sudo apt-get update sudo apt-get install sublime-text-2

(十六) 按钮和折叠插件

一.按钮 1.基本实例 如需激活单个按钮的切换(即改变按钮的正常状态为按压状态,反之亦然),只需向 button 元素添加 data-toggle="button" 作为其属性即可. 注:在 Firefox 多次页面加载时,按钮可能保持表单的禁用或选择状态.解决方案是: 添加 autocomplete="off". <button class="btn btn-primary" data-toggle="button"