aboutsummaryrefslogtreecommitdiff
path: root/autoload/files.kak
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-10-13 15:25:24 +0530
committerAkshay Nair <phenax5@gmail.com>2025-10-21 13:39:45 +0530
commit351d55648ea26335b713140bfc0c4f69e2d70489 (patch)
treeb43cc6559aec53278a032ebb99657ac537b8fcba /autoload/files.kak
parent38dc33178ed1ec08277782dba40c4fa55c07287c (diff)
downloadkakoune-config-351d55648ea26335b713140bfc0c4f69e2d70489.tar.gz
kakoune-config-351d55648ea26335b713140bfc0c4f69e2d70489.zip
Add grep-write command
Diffstat (limited to 'autoload/files.kak')
-rw-r--r--autoload/files.kak7
1 files changed, 0 insertions, 7 deletions
diff --git a/autoload/files.kak b/autoload/files.kak
index 3f5d7b1..09477c1 100644
--- a/autoload/files.kak
+++ b/autoload/files.kak
@@ -1,5 +1,3 @@
-set-option global grepcmd "rg -S --vimgrep --hidden -g '!**/.git/**'"
-
def find -docstring "find files" -menu -params 1 %{ edit -existing %arg{1} } \
-shell-script-candidates %{ fd -t f --hidden --color=never -E .git }
@@ -14,9 +12,4 @@ map global buffer s ':write<ret>' -docstring 'Save'
declare-user-mode file
map global user f ':enter-user-mode file<ret>' -docstring 'File mode'
map global file f ':find ' -docstring 'Find files'
-map global file g ':grep ' -docstring 'Grep'
map global file n ':file-manager %val{buffile}<ret>' -docstring 'File manager'
-
-# TODO: Proper mappings for next/prev on results
-hook global -always BufOpenFifo '\*grep\*' %{ map global normal <minus> ': grep-next-match<ret>' }
-hook global -always BufOpenFifo '\*make\*' %{ map global normal <minus> ': make-next-error<ret>' }