zoukankan      html  css  js  c++  java
  • 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......

  • 相关阅读:
    EBGAN
    Inception Score
    对称加密系统,攻击方式
    tensorboard的使用
    pip更新后,下载慢,国内更新源
    VSCODE快捷键
    Ajax JS
    ORM操作之Django后台管理、外键、QuerySet、查询sql语句、用户管理
    ORM操作之分类、创建数据库表结构流程、基本操作、操作表结构、字段类型、字段参数
    路由系统 视图 默认数据交互规则 获取用户提交信息
  • 原文地址:https://www.cnblogs.com/jiayith/p/3725853.html
Copyright © 2011-2022 走看看