mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-18 05:34:52 +10:00
Creating custom start file for Doom.
This commit is contained in:
@@ -768,14 +768,14 @@ Neotree is a file tree viewer. When you open neotree, it jumps to the current f
|
||||
* OPEN SPECIFIC FILES
|
||||
Keybindings to open files that I work with all the time using the find-file command, which is the interactive file search that opens with 'C-x C-f' in GNU Emacs or 'SPC f f' in Doom Emacs. These keybindings use find-file non-interactively since we specify exactly what file to open. The format I use for these bindings is 'SPC =' plus 'key' since Doom Emacs does not use 'SPC ='.
|
||||
|
||||
| PATH TO FILE | DESCRIPTION | KEYBINDING |
|
||||
|--------------------------------+-----------------------+------------|
|
||||
| ~/Org/agenda.org | /Edit agenda file/ | SPC = a |
|
||||
| ~/.config/doom/config.org | /Edit doom config.org/ | SPC = c |
|
||||
| ~/.config/doom/init.el | /Edit doom init.el/ | SPC = i |
|
||||
| ~/.config/doom/packages.el | /Edit doom packages.el/ | SPC = p |
|
||||
| ~/.config/doom/eshell/aliases | /Edit eshell aliases/ | SPC = e a |
|
||||
| ~/.config/doom/eshell/profile | /Edit eshell profile/ | SPC = e p |
|
||||
| PATH TO FILE | DESCRIPTION | KEYBINDING |
|
||||
|-------------------------------+-----------------------+------------|
|
||||
| ~/nc/Org/agenda.org | /Edit agenda file/ | SPC = a |
|
||||
| ~/.config/doom/config.org | /Edit doom config.org/ | SPC = c |
|
||||
| ~/.config/doom/init.el | /Edit doom init.el/ | SPC = i |
|
||||
| ~/.config/doom/packages.el | /Edit doom packages.el/ | SPC = p |
|
||||
| ~/.config/doom/eshell/aliases | /Edit eshell aliases/ | SPC = e a |
|
||||
| ~/.config/doom/eshell/profile | /Edit eshell profile/ | SPC = e p |
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(map! :leader
|
||||
|
||||
@@ -1,24 +1,37 @@
|
||||
#+title: Start
|
||||
#+TITLE: DT'S Emacs Start Page
|
||||
#+STARTUP: inlineimages
|
||||
|
||||
[[file:./doom-emacs-dash.png][Doom Emacs]]
|
||||
[[file:./doom-emacs-dash.png]]
|
||||
|
||||
* IMPORTANT KEYBINDINGS
|
||||
|
||||
| KEYBINDING | FUNCTION | DESCRIPTION |
|
||||
|------------+-----------------+--------------------|
|
||||
| SPC . | [[elisp:(ido-find-file)][find-file]] | Find a file |
|
||||
| SPC f r | [[elisp:(counsel-recentf)][counsel-recentf]] | Find a recent file |
|
||||
| SPC d d | [[elisp:(dired (getenv "HOME"))][dired]] | Dired file manager |
|
||||
| SPC b i | [[elisp:(ibuffer)][ibuffer]] | List all buffers |
|
||||
| SPC e s | [[elisp:(eshell)][eshell]] | Launch the eshell |
|
||||
| SPC h r r | [[elisp:(doom/reload)][doom/reload]] | Reload Doom Emacs |
|
||||
| | | |
|
||||
| KEYBINDING | FUNCTION | DESCRIPTION |
|
||||
|------------+-------------------+------------------------|
|
||||
| SPC . | [[elisp:(ido-find-file)][find-file]] | Find a file |
|
||||
| SPC f r | [[elisp:(counsel-recentf)][counsel-recentf]] | Find a recent file |
|
||||
| SPC d d | [[elisp:(dired (getenv "HOME"))][dired]] | Dired file manager |
|
||||
| SPC e s | [[elisp:(eshell)][eshell]] | Launch the eshell |
|
||||
| SPC h r r | [[elisp:(doom/reload)][doom/reload]] | Reload Doom Emacs |
|
||||
| SPC h d h | [[elisp:(doom/help)][doom/help]] | Doom Emacs user manual |
|
||||
| SPC h b b | [[elisp:(counsel-descbinds)][counsel-descbinds]] | Describe keybindings |
|
||||
|
||||
* BUFFERS & SPLITS
|
||||
|------------------------------+------------------------------+-----------------------------|
|
||||
| (SPC b i) [[elisp:(ibuffer)][ibuffer]] | (SPC b p) [[elisp:(previous-buffer)][previous-buffer]] | (SPC b n) [[elisp:(next-buffer)][next-buffer]] |
|
||||
| (SPC b k) [[elisp:(kill-buffer)][kill-buffer]] | (SPC b s) [[elisp:(save-buffer)][save-buffer]] | (SPC b u) /sudo-save-buffer/ |
|
||||
| (SPC w s) [[elisp:(evil-window-split)][evil-window-split]] | (SPC w v) [[elisp:(evil-window-vsplit)][evil-window-vsplit]] | (SPC w w) [[elisp:(evil-window-next)][evil-window-next]] |
|
||||
| (SPC w c) [[elisp:(evil-window-delete)][evil-window-delete]] | (SPC w l) [[elisp:(evil-window-left 1)][evil-window-left]] | (SPC w h) [[elisp:(evil-window-right 1)][evil-window-right]] |
|
||||
|------------------------------+------------------------------+-----------------------------|
|
||||
|
||||
* DOOM EMACS CONFIG FILES
|
||||
|
||||
| NAME OF FILE | DESCRIPTION |
|
||||
+--------------+-------------|
|
||||
| [[elisp:(ido-find-file)][find-file]] | Find a file |
|
||||
| NAME OF FILE | DESCRIPTION |
|
||||
|----------------+------------------------------------------------------------|
|
||||
| [[elisp:(find-file (concat (getenv "HOME") "/.config/doom/config.org"))][config.org]] | This is the main user configuration file for Doom Emacs. |
|
||||
| [[elisp:(find-file (concat (getenv "HOME") "/.config/doom/init.el"))][init.el]] | Allows you to turn on/off the standard Doom modules. |
|
||||
| [[elisp:(find-file (concat (getenv "HOME") "/.config/doom/packages.el"))][packages.el]] | Easily install extra packages by adding them to this file. |
|
||||
| [[elisp:(find-file (concat (getenv "HOME") "/.config/doom/start.org"))][start.org]] | View/edit your custom start page. |
|
||||
| [[elisp:(find-file (concat (getenv "HOME") "/.config/doom/eshell/aliases"))][eshell/aliases]] | Aliases file for the eshell. |
|
||||
| [[elisp:(find-file (concat (getenv "HOME") "/.config/doom/eshell/profile"))][eshell/profile]] | Profile for the eshell. |
|
||||
|
||||
|
||||
[[elisp:(find-function 'describe-function)]]
|
||||
=NOTE=: You can run [[elisp:(doom/find-file-in-private-config)][doom/find-file-in-private-config]] (SPC f p) to search for files located in HOME/.config/doom/.
|
||||
|
||||
Reference in New Issue
Block a user