zed/assets/keymaps
joaquin30 bf9b443b4a
vim: Support gn command and remap gn to gl (#9982)
Release Notes:

- Resolves #4273

@algora-pbc /claim #4273

This is a work-in-progress. The process for `gn` command is:

- maintain updated vim.workspace_state.search.initial_query
- modify editor.select_next_state with
vim.workspace_state.search.initial_query
- use editor.select_next()
- merge selections
- set editor.select_next_state to previous state

To make this possible, several private members and editor structures are
made public. `gN` is not yet implemented and the cursor still does not
jump to the next selection in the first use.

Maybe there is an better way to do this?

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
2024-04-05 20:23:37 -06:00
..
atom.json Format JSON files in assets/ (#8405) 2024-02-25 14:11:38 -05:00
default-linux.json tab_switcher: Add tab close buttons (#9968) 2024-04-03 17:28:51 +02:00
default-macos.json tab_switcher: Add tab close buttons (#9968) 2024-04-03 17:28:51 +02:00
jetbrains.json Split DuplicateLine into DuplicateLineUp and DuplicateLineDown (#9715) 2024-03-28 12:52:08 +02:00
storybook.json Fix the linux keymap (#9829) 2024-03-26 16:10:09 -07:00
sublime_text.json fix default keybindings for select all matches 2023-09-20 17:14:19 -07:00
textmate.json Split DuplicateLine into DuplicateLineUp and DuplicateLineDown (#9715) 2024-03-28 12:52:08 +02:00
vim.json vim: Support gn command and remap gn to gl (#9982) 2024-04-05 20:23:37 -06:00