helix-mirror/helix-term/src
Michael Davis 701cea54d2
jumplist: Add documents to view history (#3593)
This change adds documents to the view's document history Vec.
(This is used by `ga` for example to access the last buffer.)

Previously, a sequence like so would have confusing behavior:

1. Open file A: any document with an active language server
2. Find some definition that lives in another file - file B - with `gd`
3. Jump back in the jumplist with `C-o` to file A
4. Use `ga` intending to switch back to file B

The behavior prior to this change was that `ga` would switch to file
A: you could not use `ga` to switch to file B.
2022-08-31 10:45:47 +09:00
..
commands Derive Document language name from languages.toml name key (#3338) 2022-08-30 10:59:45 +09:00
keymap let extend-line respect range direction (#3046) 2022-08-29 10:00:40 +09:00
ui Move mode transition logic to handle_keymap_event() (#2634) 2022-08-31 10:44:06 +09:00
application.rs Add bracketed paste (#3233) 2022-08-29 09:48:49 +09:00
args.rs add a CLI flag for specifying config file location (#2666) 2022-08-04 13:05:52 +09:00
commands.rs jumplist: Add documents to view history (#3593) 2022-08-31 10:45:47 +09:00
compositor.rs Add bracketed paste (#3233) 2022-08-29 09:48:49 +09:00
config.rs Move top level lsp config to editor.lsp (#1868) 2022-03-28 10:11:52 +09:00
health.rs Reduce health tick width 2022-08-22 19:27:26 -05:00
job.rs fix(command): write-quit: do not quit if write fails 2022-06-18 23:57:47 -04:00
keymap.rs Reuse menu::Item trait in picker (#2814) 2022-07-02 13:21:27 +02:00
lib.rs Add refresh-config and open-config command (#1803) 2022-03-25 18:05:20 +09:00
main.rs add a CLI flag for specifying config file location (#2666) 2022-08-04 13:05:52 +09:00