4

GitHub - ongaeshi/emacs-milkode: Support Milkode search for Emacs.

 2 years ago
source link: https://github.com/ongaeshi/emacs-milkode
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

emacs-milkode

Overview

Support Milkode search for Emacs.

milkode.el use M-x grep.

If you want to search with anything, Use anything-milkode.

Screenshot

Install

milkode

You can install from MELPA with package.el.

M-x package-install milkode

If you use auto-install.

(auto-install-from-url "https://raw.github.com/ongaeshi/emacs-milkode/master/milkode.el")

Setting of ~/.emacs.d/init.el.

(require 'milkode)
;; Shortcut setting (Your favorite things)
(global-set-key (kbd "M-g") 'milkode:search)
(global-set-key (kbd "M-s") 'milkode:search-at-point)

Use Gomilk

Gomilk is faster version written by Go.

If you want to use the Gomilk, Add to init.el the following setting.

(setq gmilk-command "gomilk --nogroup --nocolor --smart-case")

Feature

milkode

Command Description

M-x milkode:search Milkode search using M-x grep

M-x milkode:search-from-all-packages Milkode search all registered packages using M-x grep

M-x milkode:search-at-point Milkode search current package at point text

With C-u Search all registered packages

M-x milkode:display-history Dispaly search history

M-x milkode:add Execute milk add

M-x milkode:update Execute milk update

Direct jump

  1. When you search for direct pass /path/to/dir:15 jump directly to the specified row.
  2. Move the cursor to direct pass on a text file, milkode:search can jump

Displayed direct pass to click the line number in the 'milk web' (ex. http://kodeworld.ongaeshi.me/)

License


Copyright (c) 2013 ongaeshi <[email protected]>


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK