Skip to content

Commit

Permalink
comment flash keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
YuCao16 committed Aug 2, 2023
1 parent 21748b2 commit 9a80f8e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions lua/keymap/editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,16 @@ local plug_map = {
["n|<A-s>"] = map_cu("SudaWrite"):with_silent():with_noremap():with_desc("editn: Save file using sudo"),

-- Plugin flash.nvim
["n|S"] = map_cmd("<Cmd>lua require('flash').jump()<CR>"):with_silent():with_noremap():with_desc("Flash"),
["o|r"] = map_cmd("<Cmd>lua require('flash').remote()<CR>"):with_silent():with_noremap():with_desc("Remote Flash"),
["ox|R"] = map_cmd("<Cmd>lua require('flash').treesitter_search()<CR>")
:with_silent()
:with_noremap()
:with_desc("Treesitter Search"),
["c|<c-s>"] = map_cmd("<Cmd>lua require('flash').toggle()<CR>")
:with_silent()
:with_noremap()
:with_desc("Toggle Flash Search"),
-- ["n|S"] = map_cmd("<Cmd>lua require('flash').jump()<CR>"):with_silent():with_noremap():with_desc("Flash"),
-- ["o|r"] = map_cmd("<Cmd>lua require('flash').remote()<CR>"):with_silent():with_noremap():with_desc("Remote Flash"),
-- ["ox|R"] = map_cmd("<Cmd>lua require('flash').treesitter_search()<CR>")
-- :with_silent()
-- :with_noremap()
-- :with_desc("Treesitter Search"),
-- ["c|<c-s>"] = map_cmd("<Cmd>lua require('flash').toggle()<CR>")
-- :with_silent()
-- :with_noremap()
-- :with_desc("Toggle Flash Search"),
}

bind.nvim_load_mapping(plug_map)

0 comments on commit 9a80f8e

Please sign in to comment.