Copy simple essentials from my el-get config
This commit is contained in:
parent
07232c39ee
commit
32dcfd850d
2 changed files with 14 additions and 4 deletions
|
@ -1298,14 +1298,19 @@ These are modifications to basic configuration I use on my Mac OSX machine.
|
|||
|
||||
(use-package simple
|
||||
:ensure nil
|
||||
:after vertico ; so that we can bind to vertico-map
|
||||
:after vertico ;; so that we can bind to vertico-map
|
||||
:bind
|
||||
;; Rebind `C-w' to work differently based on whether a region is
|
||||
;; active.
|
||||
( :map global-map
|
||||
("C-w" . vedang/backward-kill-word-or-kill-region)
|
||||
:map vertico-map
|
||||
("C-l" . vedang/backward-kill-word-or-kill-region)))
|
||||
("C-l" . vedang/backward-kill-word-or-kill-region))
|
||||
:hook
|
||||
((before-save . delete-trailing-whitespace)
|
||||
(text-mode . turn-on-visual-line-mode))
|
||||
:config
|
||||
(setq column-number-mode t))
|
||||
#+end_src
|
||||
|
||||
** Finally, we provide the =unravel-essentials.el= module
|
||||
|
|
|
@ -181,13 +181,18 @@ If the region is selected, retain the original behaviour, otherwise call
|
|||
|
||||
(use-package simple
|
||||
:ensure nil
|
||||
:after vertico ; so that we can bind to vertico-map
|
||||
:after vertico ;; so that we can bind to vertico-map
|
||||
:bind
|
||||
;; Rebind `C-w' to work differently based on whether a region is
|
||||
;; active.
|
||||
( :map global-map
|
||||
("C-w" . vedang/backward-kill-word-or-kill-region)
|
||||
:map vertico-map
|
||||
("C-l" . vedang/backward-kill-word-or-kill-region)))
|
||||
("C-l" . vedang/backward-kill-word-or-kill-region))
|
||||
:hook
|
||||
((before-save . delete-trailing-whitespace)
|
||||
(text-mode . turn-on-visual-line-mode))
|
||||
:config
|
||||
(setq column-number-mode t))
|
||||
|
||||
(provide 'unravel-essentials)
|
||||
|
|
Loading…
Reference in a new issue