Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update docs/default-keybindings.md 20230615-225836 #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 30 additions & 30 deletions docs/default-keybindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@
## Project
| Command | Key bindings | Documentation |
|-------------------------------------------------------------------------------------------------------|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [project-find-file](https://github.com/lem-project/lem/blob/main/src/commands/project.lisp#L125) | | Open a file, from the list of all files in this project. |
| [project-root](https://github.com/lem-project/lem/blob/main/src/commands/project.lisp#L142) | | Display this buffer's project directory. |
| [project-root-directory](https://github.com/lem-project/lem/blob/main/src/commands/project.lisp#L149) | | Open this project's root directory. |
| [project-delete-buffers](https://github.com/lem-project/lem/blob/main/src/commands/project.lisp#L209) | | Delete all this project's buffers, except:
| [project-find-file](https://github.com/lem-project/lem/blob/main/src/commands/project.lisp#L129) | C-x p f | Open a file, from the list of all files in this project. |
| [project-root](https://github.com/lem-project/lem/blob/main/src/commands/project.lisp#L146) | | Display this buffer's project directory. |
| [project-root-directory](https://github.com/lem-project/lem/blob/main/src/commands/project.lisp#L153) | C-x p d | Open this project's root directory. |
| [project-delete-buffers](https://github.com/lem-project/lem/blob/main/src/commands/project.lisp#L213) | C-x p K | Delete all this project's buffers, except:

- if *delete-repl-buffer* is non t, we don't delete the REPL buffer.
- if *delete-last-buffer* is non nil, we will delete the last buffer. This would cause Lem to exit. |
Expand All @@ -121,32 +121,32 @@
## Window
| Command | Key bindings | Documentation |
|----------------------------------------------------------------------------------------------------------------|----------------|-----------------------------------------------------------------------|
| [select-buffer](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L62) | C-x b | Switches to the selected buffer. |
| [kill-buffer](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L101) | C-x k | Delete buffer. |
| [previous-buffer](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L110) | C-x Left | Switches to the previous buffer. |
| [next-buffer](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L120) | C-x Right | Switches to the next buffer. |
| [recenter](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L126) | C-l | Scroll so that the cursor is in the middle. |
| [split-active-window-vertically](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L133) | C-x 2 | Split the current window vertically. |
| [split-active-window-horizontally](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L139) | C-x 3 | Split the current window horizontally. |
| [other-window](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L150) | C-x o, M-o | Go to the next window. |
| [switch-to-last-focused-window](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L163) | | Go to the window that was last in focus. |
| [window-move-down](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L172) | | Go to the window on the down. |
| [window-move-up](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L177) | | Go to the window on the up. |
| [window-move-right](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L182) | | Go to the window on the right. |
| [window-move-left](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L187) | | Go to the window on the left. |
| [delete-other-windows](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L192) | C-x 1 | Delete all other windows. |
| [delete-active-window](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L205) | C-x 0 | Delete the active window. |
| [quit-active-window](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L210) | | Quit the active window. This is a command for a popped-up window. |
| [grow-window](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L215) | C-x ^ | Grow the window's height. |
| [shrink-window](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L223) | C-x C-z | Shrink the window's height. |
| [grow-window-horizontally](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L231) | C-x } | Grow the window's width. |
| [shrink-window-horizontally](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L239) | C-x { | Shrink the window's width. |
| [scroll-down](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L252) | C-Down, M-Down | Scroll down. |
| [scroll-up](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L265) | C-Up, M-Up | Scroll up. |
| [find-file-other-window](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L276) | C-x 4 f | Open a file in another window. Split the screen vertically if needed. |
| [read-file-other-window](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L277) | C-x 4 r | Read a file in another window. |
| [select-buffer-other-window](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L278) | C-x 4 b | Select a buffer in another window. |
| [compare-windows](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L282) | | |
| [select-buffer](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L63) | C-x b | Switches to the selected buffer. |
| [kill-buffer](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L102) | C-x k | Delete buffer. |
| [previous-buffer](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L111) | C-x Left | Switches to the previous buffer. |
| [next-buffer](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L121) | C-x Right | Switches to the next buffer. |
| [recenter](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L127) | C-l | Scroll so that the cursor is in the middle. |
| [split-active-window-vertically](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L134) | C-x 2 | Split the current window vertically. |
| [split-active-window-horizontally](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L140) | C-x 3 | Split the current window horizontally. |
| [other-window](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L151) | C-x o, M-o | Go to the next window. |
| [switch-to-last-focused-window](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L164) | | Go to the window that was last in focus. |
| [window-move-down](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L173) | | Go to the window on the down. |
| [window-move-up](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L178) | | Go to the window on the up. |
| [window-move-right](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L183) | | Go to the window on the right. |
| [window-move-left](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L188) | | Go to the window on the left. |
| [delete-other-windows](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L193) | C-x 1 | Delete all other windows. |
| [delete-active-window](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L206) | C-x 0 | Delete the active window. |
| [quit-active-window](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L211) | | Quit the active window. This is a command for a popped-up window. |
| [grow-window](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L216) | C-x ^ | Grow the window's height. |
| [shrink-window](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L224) | C-x C-z | Shrink the window's height. |
| [grow-window-horizontally](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L232) | C-x } | Grow the window's width. |
| [shrink-window-horizontally](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L240) | C-x { | Shrink the window's width. |
| [scroll-down](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L253) | C-Down, M-Down | Scroll down. |
| [scroll-up](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L266) | C-Up, M-Up | Scroll up. |
| [find-file-other-window](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L277) | C-x 4 f | Open a file in another window. Split the screen vertically if needed. |
| [read-file-other-window](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L278) | C-x 4 r | Read a file in another window. |
| [select-buffer-other-window](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L279) | C-x 4 b | Select a buffer in another window. |
| [compare-windows](https://github.com/lem-project/lem/blob/main/src/commands/window.lisp#L283) | | |

## Multiple-Cursors
| Command | Key bindings | Documentation |
Expand Down