Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/37.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/postgresql/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
跳转到emacs目录中的某个文件_Emacs - Fatal编程技术网

跳转到emacs目录中的某个文件

跳转到emacs目录中的某个文件,emacs,Emacs,我想知道如何在直接模式下跳转到emacs中的某个文件或文件夹 假设我输入了一个包含数百个文件和文件夹的文件夹,我知道我想要的文件大约在列表的中间,因为它以“G”开头,例如 是否有命令使插入符号直接转到以“G”开头的第一个文件/文件夹,以便缩小搜索范围?尝试使用dired jump (autoload 'dired-jump "dired-x" "Jump to dired corresponding current buffer.") (autoload 'dired-jump-other-wi

我想知道如何在直接模式下跳转到emacs中的某个文件或文件夹

假设我输入了一个包含数百个文件和文件夹的文件夹,我知道我想要的文件大约在列表的中间,因为它以“G”开头,例如


是否有命令使插入符号直接转到以“G”开头的第一个文件/文件夹,以便缩小搜索范围?

尝试使用
dired jump

(autoload 'dired-jump "dired-x" "Jump to dired corresponding current buffer.")
(autoload 'dired-jump-other-window "dired-x" "jump to dired in other window.")
然后打电话:

M-x dired-jump


尝试使用
dired jump

(autoload 'dired-jump "dired-x" "Jump to dired corresponding current buffer.")
(autoload 'dired-jump-other-window "dired-x" "jump to dired in other window.")
然后打电话:

M-x dired-jump


尝试使用
dired jump

(autoload 'dired-jump "dired-x" "Jump to dired corresponding current buffer.")
(autoload 'dired-jump-other-window "dired-x" "jump to dired in other window.")
然后打电话:

M-x dired-jump


尝试使用
dired jump

(autoload 'dired-jump "dired-x" "Jump to dired corresponding current buffer.")
(autoload 'dired-jump-other-window "dired-x" "jump to dired in other window.")
然后打电话:

M-x dired-jump


我假设您只是想跳转到dired缓冲区中的文件名,而不是实际打开文件本身。为此,您可以使用isearch搜索文件名:

C-s G...

我假设您只是想跳转到dired缓冲区中的文件名,而不是实际打开文件本身。为此,您可以使用isearch搜索文件名:

C-s G...

我假设您只是想跳转到dired缓冲区中的文件名,而不是实际打开文件本身。为此,您可以使用isearch搜索文件名:

C-s G...

我假设您只是想跳转到dired缓冲区中的文件名,而不是实际打开文件本身。为此,您可以使用isearch搜索文件名:

C-s G...

显然,您可以只使用
isearch
,但有一个内置函数更好

(eval-after-load "dired"
  '(progn
    (define-key dired-mode-map (kbd "C-s") 'dired-isearch-filenames)
    (define-key dired-mode-map (kbd "C-M-s") 'dired-isearch-filenames-regexp)
))

显然,您可以只使用
isearch
,但有一个内置函数更好

(eval-after-load "dired"
  '(progn
    (define-key dired-mode-map (kbd "C-s") 'dired-isearch-filenames)
    (define-key dired-mode-map (kbd "C-M-s") 'dired-isearch-filenames-regexp)
))

显然,您可以只使用
isearch
,但有一个内置函数更好

(eval-after-load "dired"
  '(progn
    (define-key dired-mode-map (kbd "C-s") 'dired-isearch-filenames)
    (define-key dired-mode-map (kbd "C-M-s") 'dired-isearch-filenames-regexp)
))

显然,您可以只使用
isearch
,但有一个内置函数更好

(eval-after-load "dired"
  '(progn
    (define-key dired-mode-map (kbd "C-s") 'dired-isearch-filenames)
    (define-key dired-mode-map (kbd "C-M-s") 'dired-isearch-filenames-regexp)
))

谢谢,这是我做的第一件事。例如,如果我搜索“dr”,则插入符号将进入文件权限列
drwxr-
:(谢谢,这是我尝试的第一件事。如果我搜索“dr”,则插入符号将进入文件权限列
drwxr-
:(谢谢,这是我尝试的第一件事。如果我搜索,例如“dr”,则插入符号将进入文件权限列
drwxr-
:(谢谢,这是我尝试的第一件事。如果我搜索,例如“dr”,则插入符号将进入文件权限列
drwxr-
):(谢谢!这就是我要找的!即使你给了我很好的绑定方式!我编辑了这篇文章。我忘了引用
eval after load
的正文。谢谢!这就是我要找的!即使你给了我很好的绑定方式!我编辑了这篇文章。我忘了引用
eval after load
的正文。谢谢!这是wh我一直在寻找!甚至你给了我一个很好的绑定方式!我编辑了这篇文章。我忘了引用
eval after load
的正文。谢谢!这就是我一直在寻找的!甚至你给了我很好的绑定方式!我编辑了这篇文章。我忘了引用
eval after load
的正文。