diff options
author | mattkae <mattkae@protonmail.com> | 2022-11-15 08:02:31 -0500 |
---|---|---|
committer | mattkae <mattkae@protonmail.com> | 2022-11-15 08:02:31 -0500 |
commit | 887743979578cec55469988261cb68beebaa7ce0 (patch) | |
tree | 60cda27bfb0fe21b9d50a86bd709dc98a1ed203c /lisp | |
parent | 16ea00b5caa5b911ff8c74e3932fa2a85d988e44 (diff) |
Improved buffer killing
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/general.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/general.el b/lisp/general.el index 617b035..1794130 100644 --- a/lisp/general.el +++ b/lisp/general.el @@ -105,11 +105,7 @@ (setq neo-window-width 36) ;; Smooth scroll -(setq redisplay-dont-pause t - scroll-margin 7 - scroll-step 3 - scroll-conservatively 10000 - scroll-preserve-screen-position 1) +(setq scroll-margin 7) ;; Line highlighting (global-hl-line-mode 1) @@ -157,6 +153,7 @@ (bind-key* (kbd "M-x") 'counsel-M-x) (bind-key* (kbd "C-;") 'neotree-toggle) (bind-key* (kbd "M-.") 'xref-find-definitions) +(bind-key* (kbd "C-x k") 'kill-this-buffer) (defun my-create-file (filename) "Create a file and refresh neotree. FILENAME File to create." |