summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md8
-rw-r--r--init.el2
-rw-r--r--lisp/general.el4
3 files changed, 10 insertions, 4 deletions
diff --git a/README.md b/README.md
index 5afb65c..5750423 100644
--- a/README.md
+++ b/README.md
@@ -5,9 +5,11 @@ Emacs configuration file
### General
- Jump to symbol: `C-]` or `gd`
- Jump back from symbol: `C-o`
-
-## Web
-- Refactor JS/TS: `F2`
+- Open project: `s-o`
+- Find file in project: `s-p`
+- Grep in project: `s-F`
+- Refactor : `F2`
+- Move line up/down: `M-<UP/DOWN>`
## Per-language Features
diff --git a/init.el b/init.el
index c8f428a..ceb2776 100644
--- a/init.el
+++ b/init.el
@@ -66,7 +66,7 @@
'(org-agenda-files (list org-directory))
'(org-directory "~/Documents/org")
'(package-selected-packages
- '(org-bullets git-gutter-fringe git-gutter vterm-toggle vterm minimap neotree good-scroll counsel ## smartparens xref-js2 eglot json-mode markdown-mode emojify tern rtags cmake-ide cmake-mode tide auctex evil js2-highlight-vars ac-js2 js2-refactor js2-mode flycheck-irony company-irony all-the-icons req-package projectile irony org)))
+ '(drag-stuff org-bullets git-gutter-fringe git-gutter vterm-toggle vterm minimap neotree good-scroll counsel ## smartparens xref-js2 eglot json-mode markdown-mode emojify tern rtags cmake-ide cmake-mode tide auctex evil js2-highlight-vars ac-js2 js2-refactor js2-mode flycheck-irony company-irony all-the-icons req-package projectile irony org)))
;;; init.el ends here
(custom-set-faces
diff --git a/lisp/general.el b/lisp/general.el
index 4bbf6f0..6def4b8 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -237,5 +237,9 @@
)
(add-hook 'vterm-mode-hook 'my-vterm-mode-set-colors)
+;; Line movement
+(drag-stuff-global-mode)
+(drag-stuff-define-keys)
+
(provide 'general)
;;; general.el ends here