diff options
| author | Albert Cervin <albert@acervin.com> | 2024-03-26 10:59:06 +0100 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2024-03-26 10:59:06 +0100 |
| commit | 1b888cc723792ec0e49c7e5aaa78c3c5486a95b9 (patch) | |
| tree | da0b4f6fcdf394b155938472a0ca0d100effb2ef /src/main/bindings.c | |
| parent | 5b3234f34fd081a3fe81c95bd55f4bfc853568a5 (diff) | |
| download | dged-1b888cc723792ec0e49c7e5aaa78c3c5486a95b9.tar.gz dged-1b888cc723792ec0e49c7e5aaa78c3c5486a95b9.tar.xz dged-1b888cc723792ec0e49c7e5aaa78c3c5486a95b9.zip | |
Implement kill-buffer command
Can be killed with the command `kill-buffer`, the shortcut `C-x k`
or from the buffer menu.
Diffstat (limited to 'src/main/bindings.c')
| -rw-r--r-- | src/main/bindings.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/bindings.c b/src/main/bindings.c index b49a45e..7b25c7b 100644 --- a/src/main/bindings.c +++ b/src/main/bindings.c @@ -100,6 +100,7 @@ void init_bindings() { BINDING(Ctrl, 'G', "find-file-relative"), BINDING(Ctrl, 'W', "write-file"), BINDING(None, 'b', "switch-buffer"), + BINDING(None, 'k', "kill-buffer"), BINDING(Ctrl, 'B', "buffer-list"), BINDING(None, '0', "window-close"), |
