diff options
| author | Marcos Magueta <mmagueta@MacMini.local> | 2023-01-31 17:24:58 -0300 |
|---|---|---|
| committer | Marcos Magueta <mmagueta@MacMini.local> | 2023-01-31 17:24:58 -0300 |
| commit | c0b8d880820e0a588945101fc5b54d8b06fac7df (patch) | |
| tree | fc7c28e9bb9857c8581f68e76efb33524f084a16 /configuration.el | |
| parent | b7d328951855e897177e4f076d4b7f8853232840 (diff) | |
| download | MageMacs-c0b8d880820e0a588945101fc5b54d8b06fac7df.tar.gz MageMacs-c0b8d880820e0a588945101fc5b54d8b06fac7df.zip | |
backups moved better text editing
Diffstat (limited to 'configuration.el')
| -rw-r--r-- | configuration.el | 39 |
1 files changed, 28 insertions, 11 deletions
diff --git a/configuration.el b/configuration.el index d8953e1..b4086d4 100644 --- a/configuration.el +++ b/configuration.el @@ -36,10 +36,11 @@ (use-package lsp-mode :ensure t :hook ((lsp-mode . lsp-lens-mode) - (before-save . (lambda () (progn - ;; (interactive) - (when (eq major-mode 'fsharp-mode) - (lsp-format-buffer)))))) + ;; (before-save . (lambda () (progn + (interactive) + ;; (when (eq major-mode 'fsharp-mode) + ;; (lsp-format-buffer))))) + ) ;; (let ((format-option (read-string "Format buffer? (y/n) "))) ;; (when (string= format-option "y") ;; (lsp-format-buffer)))))))) @@ -238,8 +239,8 @@ ;; :map minibuffer-local-map ;; ("M-A" . marginalia-cycle))) -(use-package fstar-mode - :ensure t) +;; (use-package fstar-mode +;; :ensure t) (use-package fsharp-mode :ensure t @@ -277,12 +278,28 @@ :bind ("M-x" . helm-M-x) ("C-x b" . helm-buffers-list)) - + +(use-package windmove + :ensure t + :bind + ("C-e <right>" . windmove-right) + ("C-e <left>" . windmove-left) + ("C-e <up>" . windmove-up) + ("C-e <down>" . windmove-down)) + (use-package multiple-cursors - :ensure t - :bind - ("C-d" . mc/mark-next-like-this-word) - ("C-c m c" . mc/edit-lines)) + :ensure t + :bind + ("C-d" . mc/mark-next-like-this-word) + ("C-c m c" . mc/edit-lines) + ("C-<" . mc/mark-previous-like-this) + ("C->" . mc/mark-next-like-this)) + +(use-package move-text + :ensure t + :bind + ("M-<up>" . move-text-up) + ("M-<down>" . move-text-down)) (use-package eshell-syntax-highlighting :ensure t |
