Minor tweaks

pull/2/head
E. Almqvist 2 years ago
parent b906691d24
commit e1aa1327f8
No known key found for this signature in database
GPG Key ID: E31A99CE3E75A158
  1. 21
      doomemacs/.doom.d/config.el
  2. 13
      doomemacs/.doom.d/custom.el
  3. 1
      leftwm/.config/leftwm/config.ron

@ -79,7 +79,28 @@
;; (setq-default tab-width 4) ;; (setq-default tab-width 4)
;; (setq-default indent-tabs-mode t) ;; (setq-default indent-tabs-mode t)
;; Discord thing
;; (elcord-mode) ;; (elcord-mode)
;; (define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map)
;; Find file ;; Find file
(global-set-key "\C-s" 'swiper)
(global-set-key (kbd "C-c C-r") 'ivy-resume)
(global-set-key (kbd "<f6>") 'ivy-resume)
(global-set-key (kbd "M-x") 'counsel-M-x)
(global-set-key (kbd "M-f") 'counsel-find-file) (global-set-key (kbd "M-f") 'counsel-find-file)
(global-set-key (kbd "<f1> f") 'counsel-describe-function)
(global-set-key (kbd "<f1> v") 'counsel-describe-variable)
(global-set-key (kbd "<f1> o") 'counsel-describe-symbol)
(global-set-key (kbd "<f1> l") 'counsel-find-library)
(global-set-key (kbd "<f2> i") 'counsel-info-lookup-symbol)
(global-set-key (kbd "<f2> u") 'counsel-unicode-char)
(global-set-key (kbd "C-c g") 'counsel-git)
(global-set-key (kbd "C-c j") 'counsel-git-grep)
(global-set-key (kbd "C-c k") 'counsel-ag)
(global-set-key (kbd "C-x l") 'counsel-locate)
(global-set-key (kbd "C-S-o") 'counsel-rhythmbox)
(define-key minibuffer-local-map (kbd "C-r") 'counsel-minibuffer-history)
(global-set-key (kbd "M-g") 'format-all-buffer)

@ -3,10 +3,21 @@
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(package-selected-packages '(cpputils-cmake eldoc-cmake quelpa elcord))) '(elcord-display-buffer-details nil)
'(elcord-display-elapsed t)
'(elcord-display-line-numbers nil)
'(elcord-editor-icon "emacs_material_icon")
'(elcord-icon-base
"https://raw.githubusercontent.com/Mstrodl/elcord/master/icons/")
'(elcord-idle-message "Thinking...")
'(elcord-mode t nil (elcord))
'(elcord-quiet t)
'(package-selected-packages '(elcord quelpa eldoc-cmake cpputils-cmake))
'(warning-suppress-types '((initialization) (defvaralias))))
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
) )
(put 'customize-group 'disabled nil)

@ -78,6 +78,7 @@
(command: SoftReload, value: "", modifier: ["modkey", "Shift"], key: "x"), (command: SoftReload, value: "", modifier: ["modkey", "Shift"], key: "x"),
// (command: Execute, value: "loginctl kill-session $XDG_SESSION_ID", modifier: ["modkey", "Shift"], key: "x"), // (command: Execute, value: "loginctl kill-session $XDG_SESSION_ID", modifier: ["modkey", "Shift"], key: "x"),
(command: Execute, value: "betterlockscreen --lock", modifier: ["modkey", "Shift"], key: "l"), (command: Execute, value: "betterlockscreen --lock", modifier: ["modkey", "Shift"], key: "l"),
(command: Execute, value: "emacs", modifier: ["modkey", "Shift"], key: "e"),
(command: Execute, value: "flameshot gui", modifier: ["modkey"], key: "Print"), (command: Execute, value: "flameshot gui", modifier: ["modkey"], key: "Print"),
(command: MoveToLastWorkspace, value: "", modifier: ["modkey", "Shift"], key: "w"), (command: MoveToLastWorkspace, value: "", modifier: ["modkey", "Shift"], key: "w"),
(command: SwapTags, value: "", modifier: ["modkey"], key: "w"), (command: SwapTags, value: "", modifier: ["modkey"], key: "w"),

Loading…
Cancel
Save