summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/general.el7
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."