Git Product home page Git Product logo

Comments (5)

Wilfred avatar Wilfred commented on June 22, 2024

Are you using the latest version of deadgrep?

from deadgrep.

webloginwu avatar webloginwu commented on June 22, 2024

I used M-x describe package to check deadgrep version I am using,
I got the following message:

Package deadgrep is installed.

 Status: Installed in ‘deadgrep-20220613.2051/’ (unsigned). Delete
Version: 20220613.2051
 Commit: 3bfaccb72b5be38d4db897af81109ff51833ae46
Summary: fast, friendly searching with ripgrep

Requires: emacs-25.1, dash-2.12.0, s-1.11.0, spinner-1.7.3
Homepage: https://github.com/Wilfred/deadgrep
Keywords: tools
Maintainer: Wilfred Hughes [email protected]
Author: Wilfred Hughes [email protected]
Other versions: 0.10 (melpa-stable).

Perform text searches with the speed of ripgrep and the comfort of
Emacs. This is a bespoke mode that does not rely on
compilation-mode, but tries to be a perfect fit for ripgrep.

Install from MELPA, then `M-x deadgrep' will do a search!

from deadgrep.

Wilfred avatar Wilfred commented on June 22, 2024

What does C-h m show in a deadgrep results buffer? Are you sure you haven't overridden those keys?

from deadgrep.

webloginwu avatar webloginwu commented on June 22, 2024

Using the latest version I tested again,
the T, C keys don't work,
I got the following error in the mini buffer
T is undefined
C is undefined
It seems T, C key binding are not supported, but they are listed in the README.md

The rest of keys works including the most important command D, S I mentioned in the title of the issue
I haven't set any personal key bindings except the bindings recomended by package author.

C-h m shows:

Enabled minor modes: Async-Bytecomp-Package Auto-Composition
Auto-Compression Auto-Encryption Blink-Cursor Electric-Indent
File-Name-Shadow Font-Lock Global-Eldoc Global-Font-Lock
Global-Git-Commit Global-Undo-Tree Line-Number Magit-Auto-Revert
Marginalia Menu-Bar Mouse-Wheel Org-Roam-Db-Autosync Override-Global
Recentf Savehist Shell-Dirtrack Tooltip Transient-Mark Undo-Tree
Vertico Which-Key

(Information about these minor modes follows the major mode info.)

Deadgrep mode defined in ‘deadgrep.el’:
Major mode for deadgrep results buffers.

In addition to any hooks its parent mode ‘special-mode’ might have run,
this mode runs the hook ‘deadgrep-mode-hook’, as the final or penultimate step
during initialization.


key             binding

---             -------

C-c		Prefix Command
TAB		deadgrep-toggle-file-results
RET		deadgrep-visit-result
ESC		Prefix Command
SPC		scroll-up-command
 -		negative-argument
0 .. 9		digit-argument
   <		beginning-of-buffer
   >		end-of-buffer
?		describe-mode
D		deadgrep-directory
I		deadgrep-incremental
N		deadgrep-forward-match
P		deadgrep-backward-match
S		deadgrep-search-term
^		deadgrep-parent-directory
g		deadgrep-restart
h		describe-mode
n		deadgrep-forward
o		deadgrep-visit-result-other-window
p		deadgrep-backward
q		quit-window
DEL		scroll-down-command
S-SPC		scroll-down-command
<remap>		Prefix Command

M-n		deadgrep-forward-filename
M-p		deadgrep-backward-filename

C-c C-k		deadgrep-kill-process

from deadgrep.

webloginwu avatar webloginwu commented on June 22, 2024

I updated the issue title
I tested version: deadgrep-20220704.1714
T, C key binding works now, so I close the issue
I like T, C key binding
I can not remember everything now and rely on search result a lot

from deadgrep.

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.