Giter Club home page Giter Club logo

Comments (5)

dyng avatar dyng commented on August 19, 2024

#12 可能和此issue重复。

提交bug时,请同时给出以下信息:

  1. 系统版本
  2. vim版本
  3. ag(ack)版本
  4. 相关配置项

关于无法搜索中文:
CtrlSF只是ag(ack)的界面,自身不具备搜索功能,请检查你安装ag(ack)是否可以正常搜索中文。

from ctrlsf.vim.

iamcco avatar iamcco commented on August 19, 2024

还真是重复了,因为locale和设置编码不一样导致,和fugitive插件一样

from ctrlsf.vim.

franckXu avatar franckXu commented on August 19, 2024

我直接用ag搜索中文无结果,需要如何设置吗?谢谢。

from ctrlsf.vim.

dyng avatar dyng commented on August 19, 2024

@franckXu 我在osx 10.11下测试,搜索中文没有问题。没有任何特别的设置。

最好确认:

  1. shell的locale设定。
  2. 文件的编码。
  3. (如果是使用ctrlsf的话)vim的编码。

以上编码是否相同。

from ctrlsf.vim.

franckXu avatar franckXu commented on August 19, 2024

js文件的编码从utf-8改为ansi就可以了。
如果把js文件都改为ansi的话,会不会引起别的问题吗? 文件编码不是很了解。

我的环境是:win7,gvim7.4,ag 0.29.1,ctrfsf 1.5.0

from ctrlsf.vim.

Related Issues (20)

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.