forked from colonelpanic/dotfiles
		
	[Emacs] Misc tweaks
This commit is contained in:
		@@ -5,6 +5,7 @@
 | 
				
			|||||||
      '(
 | 
					      '(
 | 
				
			||||||
        TeX-insert-backslash
 | 
					        TeX-insert-backslash
 | 
				
			||||||
        backward-sexp
 | 
					        backward-sexp
 | 
				
			||||||
 | 
					        beginning-of-buffer
 | 
				
			||||||
        beginning-of-visual-line
 | 
					        beginning-of-visual-line
 | 
				
			||||||
        c-electric-delete-forward
 | 
					        c-electric-delete-forward
 | 
				
			||||||
        c-electric-semi&comma
 | 
					        c-electric-semi&comma
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1588,6 +1588,7 @@ custom-set-faces in your custom file.
 | 
				
			|||||||
#+BEGIN_SRC emacs-lisp
 | 
					#+BEGIN_SRC emacs-lisp
 | 
				
			||||||
(use-package highlight-indent-guides
 | 
					(use-package highlight-indent-guides
 | 
				
			||||||
  :commands highlight-indent-guides-mode
 | 
					  :commands highlight-indent-guides-mode
 | 
				
			||||||
 | 
					  :diminish highlight-indent-guides-mode
 | 
				
			||||||
  :preface
 | 
					  :preface
 | 
				
			||||||
  (progn
 | 
					  (progn
 | 
				
			||||||
    (add-hook 'prog-mode-hook 'highlight-indent-guides-mode))
 | 
					    (add-hook 'prog-mode-hook 'highlight-indent-guides-mode))
 | 
				
			||||||
@@ -1766,7 +1767,6 @@ bind-key and global-set-key forms.
 | 
				
			|||||||
I use helm for almost all emacs completion
 | 
					I use helm for almost all emacs completion
 | 
				
			||||||
#+BEGIN_SRC emacs-lisp -n -r
 | 
					#+BEGIN_SRC emacs-lisp -n -r
 | 
				
			||||||
(use-package helm-config
 | 
					(use-package helm-config
 | 
				
			||||||
  :demand t
 | 
					 | 
				
			||||||
  :diminish helm-mode
 | 
					  :diminish helm-mode
 | 
				
			||||||
  :straight helm
 | 
					  :straight helm
 | 
				
			||||||
  :bind (("M-y" . helm-show-kill-ring)
 | 
					  :bind (("M-y" . helm-show-kill-ring)
 | 
				
			||||||
@@ -1774,11 +1774,11 @@ I use helm for almost all emacs completion
 | 
				
			|||||||
         ("C-x C-i" . helm-imenu)
 | 
					         ("C-x C-i" . helm-imenu)
 | 
				
			||||||
         ("C-h a" . helm-apropos)
 | 
					         ("C-h a" . helm-apropos)
 | 
				
			||||||
         ("C-c ;" . helm-recentf))
 | 
					         ("C-c ;" . helm-recentf))
 | 
				
			||||||
  :diminish helm-mode
 | 
					 | 
				
			||||||
  :config
 | 
					  :config
 | 
				
			||||||
  (progn
 | 
					  (progn
 | 
				
			||||||
    (setq helm-split-window-default-side 'same
 | 
					    (setq helm-split-window-default-side 'same
 | 
				
			||||||
          helm-exit-idle-delay 0)
 | 
					          helm-exit-idle-delay 0)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    (use-package helm-org
 | 
					    (use-package helm-org
 | 
				
			||||||
      :straight nil
 | 
					      :straight nil
 | 
				
			||||||
      :defer 10
 | 
					      :defer 10
 | 
				
			||||||
@@ -4295,6 +4295,7 @@ I had to disable this mode because something that it does messes with coding set
 | 
				
			|||||||
** dtrt-indent
 | 
					** dtrt-indent
 | 
				
			||||||
#+BEGIN_SRC emacs-lisp
 | 
					#+BEGIN_SRC emacs-lisp
 | 
				
			||||||
(use-package dtrt-indent
 | 
					(use-package dtrt-indent
 | 
				
			||||||
 | 
					  :diminish 'dtrt-indent-mode
 | 
				
			||||||
  :commands 'dtrt-indent-mode
 | 
					  :commands 'dtrt-indent-mode
 | 
				
			||||||
  :init (add-hook 'prog-mode-hook 'dtrt-indent-mode)
 | 
					  :init (add-hook 'prog-mode-hook 'dtrt-indent-mode)
 | 
				
			||||||
  :config
 | 
					  :config
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user