diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | lisp/general.el | 7 |
2 files changed, 3 insertions, 5 deletions
@@ -14,6 +14,7 @@ Emacs configuration file - Refactor : `F2` - Move line up/down: `M-<UP/DOWN>` - Find references: `M-?` +- Kill buffer: `C-x k` ## Per-language Features 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." |