Giter VIP home page Giter VIP logo

evil-zh's Introduction

evil-zh

Table of Contents

About

提供 evil-zh-mode~​,使 ~evil 支持通过中文首字母搜索。

  1. 支持 ~evil-find-char~​。

    可以通过 f/F/t/T 行内定位汉字和英文。

  2. 支持 /? 搜索任意长度的词组。

    注意 :​~evil~ 的搜索模块默认使用了 Emacs 的原始实现 ~isearch~​。

    要使用该插件需要切换成 evil 自己的实现 ~evil-search~​:

    (evil-select-search-module 'evil-search-module 'evil-search)
        

Variables

evil-zh-search-rule

何时启用中文搜索。

  • ~’custom~: 自定义,当以字符 evil-zh-pre-char 开头时,启用中文搜索,​*默认值*​。
  • ~’always~: 总是启用。
  • ~’never~: 总不启用。

evil-zh-pre-char

自定义搜索时的起始字符,默认值为 ~:~​。

Setup

(add-to-list 'load-path "path/to/evil-zh")
(require 'evil-zh)

(with-eval-after-load 'evil
  (evil-select-search-module 'evil-search-module 'evil-search)
  (evil-zh-mode +1))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.