mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-20 10:44:38 +10:00
Adding new layouts to Xmonad.
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
alias ls exa -al --color=always --group-directories-first
|
||||
alias ff find-file $1
|
||||
alias ls exa -al --color=always --group-directories-first # my preferred listing
|
||||
alias la exa -a --color=always --group-directories-first # all files and dirs
|
||||
alias ll exa -l --color=always --group-directories-first # long format
|
||||
alias lt exa -aT --color=always --group-directories-first # tree listing
|
||||
alias l. exa -a | egrep "^\."
|
||||
|
||||
|
||||
|
||||
|
||||
alias doomsync ~/.emacs.d/bin/doom sync
|
||||
alias doomdoctor ~/.emacs.d/bin/doom doctor
|
||||
alias doomupgrade ~/.emacs.d/bin/doom upgrade
|
||||
|
||||
@@ -131,19 +131,6 @@
|
||||
:desc "Eww web browser" "w" #'eww
|
||||
:desc "Eww reload page" "R" #'eww-reload))
|
||||
|
||||
(defun eww-display+ (buf _alist)
|
||||
(let ((w (or (window-in-direction 'right)
|
||||
(window-in-direction 'left)
|
||||
(window-in-direction 'below)
|
||||
(window-in-direction 'above)
|
||||
(split-window-horizontally))))
|
||||
(set-window-buffer w buf)
|
||||
w))
|
||||
|
||||
(push `(,(rx "*eww*")
|
||||
(eww-display+))
|
||||
display-buffer-alist)
|
||||
|
||||
(setq doom-font (font-spec :family "Source Code Pro" :size 15)
|
||||
doom-variable-pitch-font (font-spec :family "Ubuntu" :size 15)
|
||||
doom-big-font (font-spec :family "Source Code Pro" :size 24))
|
||||
@@ -296,6 +283,8 @@
|
||||
:desc "Edit doom init.el" "i" #'(lambda () (interactive) (find-file "~/.doom.d/init.el"))
|
||||
:desc "Edit doom packages.el" "p" #'(lambda () (interactive) (find-file "~/.doom.d/packages.el"))))
|
||||
|
||||
(map! :leader
|
||||
:desc "Org babel tangle" "m B" #'org-babel-tangle)
|
||||
(after! org
|
||||
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
|
||||
(setq org-directory "~/Org/"
|
||||
@@ -346,14 +335,15 @@
|
||||
:desc "Ssh into my nextcloud" "\\ n" #'(lambda () (interactive) (find-file "/scp:derek@distrotube.net"))))
|
||||
|
||||
(setq shell-file-name "/bin/fish"
|
||||
eshell-aliases-file "~/.doom.d/aliases"
|
||||
vterm-max-scrollback 5000)
|
||||
(setq eshell-rc-script "~/.config/doom/eshell/profile"
|
||||
eshell-aliases-file "~/.config/doom/eshell/aliases"
|
||||
eshell-history-size 5000
|
||||
eshell-buffer-maximum-lines 5000
|
||||
eshell-hist-ignoredups t
|
||||
eshell-scroll-to-bottom-on-input t
|
||||
eshell-destroy-buffer-when-process-dies t
|
||||
eshell-visual-commands'("bash" "fish" "htop" "ssh" "top" "zsh")
|
||||
vterm-max-scrollback 5000)
|
||||
eshell-visual-commands'("bash" "fish" "htop" "ssh" "top" "zsh"))
|
||||
(map! :leader
|
||||
:desc "Eshell" "e s" #'eshell
|
||||
:desc "Counsel eshell history" "e h" #'counsel-esh-history)
|
||||
|
||||
@@ -278,6 +278,7 @@ Settings related to fonts within Doom Emacs:
|
||||
+ 'doom-big-font' -- used in doom-big-font-mode; useful for presentations.
|
||||
+ 'font-lock-comment-face' -- for comments.
|
||||
+ 'font-lock-keyword-face' -- for keywords with special significance like 'setq' in elisp.
|
||||
+ 'global-prettify-symbols-mode' -- change certain keywords to symbols, such as lambda!
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq doom-font (font-spec :family "Source Code Pro" :size 15)
|
||||
@@ -526,6 +527,8 @@ Keybindings to open files that I work with all the time using the find-file comm
|
||||
Note that I wrapped most of this in (after! org). Without this, my settings might be evaluated too early, which will result in my settings being overwritten by Doom's defaults. I have also enabled org-journal by adding (+journal) to the org section of my Doom Emacs init.el.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(map! :leader
|
||||
:desc "Org babel tangle" "m B" #'org-babel-tangle)
|
||||
(after! org
|
||||
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
|
||||
(setq org-directory "~/Org/"
|
||||
@@ -613,14 +616,15 @@ Settings for the various shells and terminal emulators within Emacs.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq shell-file-name "/bin/fish"
|
||||
eshell-aliases-file "~/.doom.d/aliases"
|
||||
vterm-max-scrollback 5000)
|
||||
(setq eshell-rc-script "~/.config/doom/eshell/profile"
|
||||
eshell-aliases-file "~/.config/doom/eshell/aliases"
|
||||
eshell-history-size 5000
|
||||
eshell-buffer-maximum-lines 5000
|
||||
eshell-hist-ignoredups t
|
||||
eshell-scroll-to-bottom-on-input t
|
||||
eshell-destroy-buffer-when-process-dies t
|
||||
eshell-visual-commands'("bash" "fish" "htop" "ssh" "top" "zsh")
|
||||
vterm-max-scrollback 5000)
|
||||
eshell-visual-commands'("bash" "fish" "htop" "ssh" "top" "zsh"))
|
||||
(map! :leader
|
||||
:desc "Eshell" "e s" #'eshell
|
||||
:desc "Counsel eshell history" "e h" #'counsel-esh-history)
|
||||
|
||||
Reference in New Issue
Block a user