Giter Site home page Giter Site logo

helm-windows-search's Introduction

Helm Windows Search

Introduction

Helm Windows Search is an interface for accessing Windows Desktop Search from Emacs-Helm.

Install

  1. Put helm-windows-search.el and adoquery.exe into your load path.

    (adoquery.exe is a simple ADO access wrapper. see:https://github.com/misohena/adoquery)

  2. Put the following code in your init.el file.
    (autoload 'helm-windows-search "helm-windows-search")
    (global-set-key (kbd "C-c h w") 'helm-windows-search)
        

If you want to use Windows Search instead of es.exe in helm-locate, follow these steps:

  1. Put helm-locate-windows-search.el and adoquery.exe into your load path.
  2. Put the following code in your init.el file.
    (autoload 'helm-locate-windows-search-setup "helm-locate-windows-search")
    (with-eval-after-load "helm-locate" (helm-locate-windows-search-setup))
        

Then helm-locate-init function is overwritten and locate command is emulated by Windows Search. In helm-locate, you can only use locate command format. (ex: -b \NAME)

If you want to completely replace helm-locate-1 with helm-windows-search-1, you can use the following code instead.

(with-eval-after-load "helm-locate"
  (fset 'helm-locate-1
        (lambda (&optional localdb init from-ff default)
          (require 'helm-windows-search)
          (helm-windows-search-1 init default)))

You can use helm-windows-search query. (ex: file:main date:today author:misohena )

Usage

M-x helm-windows-search or C-c h w

Example Queries

filepath or filename or contents

  • hello
  • apple orange banana
  • “hello world”
  • CreateWindow

author

  • author:misohena
  • author:Jhon\ Smith

title

  • title:hello

filename or file

  • filename:main.cpp
  • file:hello.cpp

file extension

  • ext:mp3
  • ext:.mp3
  • fileext:mp3

kind

  • kind:folder
  • kind:music

(see: System.Kind | Microsoft Docs )

size

  • size:>=1000000000
  • size:<100000

date

  • date:today
  • date:2018-12-20
  • date:2018-12
  • date:2018
  • date:=2018-12-20
  • date:2018-12-1..2019-1-3
  • date:2018-12..today
  • date:>=2010 date:<2011

contents

  • contents:hello\ world

helm-windows-search's People

Contributors

misohena avatar

Watchers

 avatar  avatar  avatar

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.