summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanosApollo <[email protected]>2022-08-29 08:20:49 +0300
committerThanosApollo <[email protected]>2022-08-29 08:20:49 +0300
commit21f5614b881bd4cdfc256ae7f273cf5a07879543 (patch)
tree67a74700ad75db17f1edac074772964af3e90696
parenta2b3a9212b4656d562ce3432d10e6038a09beff3 (diff)
Add dired shortcuts
-rw-r--r--.doom.d/config.el22
1 files changed, 18 insertions, 4 deletions
diff --git a/.doom.d/config.el b/.doom.d/config.el
index e561c5f..f846224 100644
--- a/.doom.d/config.el
+++ b/.doom.d/config.el
@@ -34,11 +34,11 @@
;; `load-theme' function. This is the default:
(setq doom-theme 'doom-one)
+
;;(setq modus-themes-mode-line '(accented boarderless))
;;(setq modus-themes-region '(bg-only))
-
;(load-theme 'modus-vivendi t)
@@ -89,6 +89,8 @@
(setq browser-url-browser-function 'browse-url-default-browser)
;; Dired
+(require 'ranger)
+
(use-package dired
:ensure nil
:commands (dired dired-jump)
@@ -96,7 +98,11 @@
:config
(evil-collection-define-key 'normal' dired-mode-map
"h" 'dired-up-directory
- "l" 'dired-find-file))
+ "l" 'dired-find-file
+ "R" 'dired-do-rename
+ "D" 'dired-do-delete
+ "m" 'dired-mark
+ ))
(defvar my-linum-current-line-number 0)
@@ -165,10 +171,10 @@
(require 'playerctl)
(map! :leader
(:prefix-map ("m" . "Music")
- :desc "Play/Pause" "p" #'playerctl-play-pause-song)
+ :desc "Play/Pause" "p" #'playerctl-play-pause-song
:desc "Next" "n" #'playerctl-next-song
:desc "Back" "b" #'playerctl-previous-song
- )
+ ))
;; Neotree
;; (map! :leader
@@ -183,3 +189,11 @@
(map! :leader
(:prefix-map ("E" . "EWW")
:desc "search" "o" #'eww))
+
+(require 'telega)
+(map! :leader
+ (:prefix-map ("T" . "Telegram")
+ :desc "Open telegram" "o" #'telega
+ :desc "Call" "c" #'telega-chat-call
+ :desc "Discard call" "d" #'telega-voip-discard
+ ))