emacs update
This commit is contained in:
parent
33fef4e19c
commit
c7cd38e1fe
|
@ -24,6 +24,7 @@ exec xhost +si:localuser:"$USER" &
|
|||
exec unclutter --timeouts 2 --start-hidden &
|
||||
exec xsetroot -xcf /usr/share/icons/WhiteSur-cursors/cursors/left_ptr 24 &
|
||||
#exec xsnow &
|
||||
exec emacs --daemon &
|
||||
# relaunch DWM if the binary changes, otherwise bail
|
||||
csum=""
|
||||
new_csum=$(sha1sum $(which dwm))
|
||||
|
|
|
@ -256,7 +256,46 @@
|
|||
(org-babel-load-file (expand-file-name "~/.config/emacs/config.org")))
|
||||
(global-set-key (kbd "C-c r") 'config-reload)
|
||||
#+END_SRC
|
||||
|
||||
Fix tiling window managers
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq frame-resize-pixelwise t)
|
||||
#+END_SRC
|
||||
|
||||
Text line stuff
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq-default truncate-lines t)
|
||||
(setq-default tab-width 4)
|
||||
(setq-default fill-column 80)
|
||||
(setq sentence-end-double-space nil)
|
||||
#+END_SRC
|
||||
|
||||
Scroll
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq scroll-conservatively 101)
|
||||
#+END_SRC
|
||||
|
||||
Bells
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq visible-bell t)
|
||||
(setq line-move-visual t)
|
||||
#+END_SRC
|
||||
|
||||
Encoding
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(when (fboundp 'set-charset-priority)
|
||||
(set-charset-priority 'unicode)) ; pretty
|
||||
(prefer-coding-system 'utf-8) ; pretty
|
||||
(setq locale-coding-system 'utf-8) ; please
|
||||
#+END_SRC
|
||||
|
||||
* Packages Configuration
|
||||
** =uniquify=
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package uniquify :ensure t)
|
||||
(setq uniquify-buffer-name-style 'forward)
|
||||
#+END_SRC
|
||||
|
||||
** =hungry-delete=
|
||||
Enable =hungry-delete=.
|
||||
|
||||
|
@ -538,6 +577,11 @@
|
|||
:config
|
||||
(org-roam-setup))
|
||||
#+END_SRC
|
||||
** =simple-httpd=
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package simple-httpd
|
||||
:ensure t)
|
||||
#+END_SRC
|
||||
** Environment Specific Packages.
|
||||
*** =Lisp= Environment
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(package-selected-packages
|
||||
'(auctex dap-mode lsp-mode focus avy elfeed monokai-theme use-package magit)))
|
||||
'(simple-httpd auctex dap-mode lsp-mode focus avy elfeed monokai-theme use-package magit)))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
|
|
Loading…
Reference in New Issue