Some changes for emacs-git on arch
This commit is contained in:
		
							parent
							
								
									a45cd4b976
								
							
						
					
					
						commit
						10248773d7
					
				
					 2 changed files with 14 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -75,6 +75,8 @@ Let's start by making some basic ui changes like turning off the scrollbar, tool
 | 
			
		|||
(blink-cursor-mode -1)
 | 
			
		||||
(column-number-mode +1)
 | 
			
		||||
(setq-default indent-tabs-mode nil)
 | 
			
		||||
 | 
			
		||||
(setq comp-deferred-compilation-deny-list nil)
 | 
			
		||||
#+end_src
 | 
			
		||||
 | 
			
		||||
In order to have this config work on both my desktop with regular joe-schmoe monitors and my laptop with new-hotness HiDPI monitor, I will set the font size if my system is the laptop to much higher.
 | 
			
		||||
| 
						 | 
				
			
			@ -669,7 +671,9 @@ Ace link provides an avy like search for links. Upon using the keybindings prese
 | 
			
		|||
        ("*elfeed-entry*"
 | 
			
		||||
         (display-buffer-pop-up-frame))
 | 
			
		||||
        ("*Bongo-Elfeed Queue*"
 | 
			
		||||
         (display-buffer-pop-up-frame))))
 | 
			
		||||
         (display-buffer-in-side-window)
 | 
			
		||||
         (side . bottom)
 | 
			
		||||
         (window-height . 0.25))))
 | 
			
		||||
#+end_src
 | 
			
		||||
 | 
			
		||||
Since I like to make my window manager handle a lot of the window management, I will create a helper function for closing windows.
 | 
			
		||||
| 
						 | 
				
			
			@ -1814,7 +1818,7 @@ interfere with the default `bongo-playlist-buffer'."
 | 
			
		|||
    :keymaps 'override
 | 
			
		||||
    "ob" 'bongo)
 | 
			
		||||
  (general-def 'normal bongo-playlist-mode-map
 | 
			
		||||
    "RET" 'bongo-play
 | 
			
		||||
    "RET" 'bongo-dwim
 | 
			
		||||
    "d" 'bongo-kill-line
 | 
			
		||||
    "u" 'bongo-unmark-region
 | 
			
		||||
    "p" 'bongo-pause/resume
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										12
									
								
								init.el
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								init.el
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -19,6 +19,8 @@
 | 
			
		|||
(column-number-mode +1)
 | 
			
		||||
(setq-default indent-tabs-mode nil)
 | 
			
		||||
 | 
			
		||||
(setq comp-deferred-compilation-deny-list nil)
 | 
			
		||||
 | 
			
		||||
(if (string-equal (system-name) "syl")
 | 
			
		||||
    (defvar chris/default-font-size 240)
 | 
			
		||||
  (defvar chris/default-font-size 120))
 | 
			
		||||
| 
						 | 
				
			
			@ -384,7 +386,9 @@ vertically."
 | 
			
		|||
        ("*elfeed-entry*"
 | 
			
		||||
         (display-buffer-pop-up-frame))
 | 
			
		||||
        ("*Bongo-Elfeed Queue*"
 | 
			
		||||
         (display-buffer-pop-up-frame))))
 | 
			
		||||
         (display-buffer-in-side-window)
 | 
			
		||||
         (side . bottom)
 | 
			
		||||
         (window-height . 0.25))))
 | 
			
		||||
 | 
			
		||||
(defun chris/kill-buffer-frame ()
 | 
			
		||||
  "Kills the active buffer and frame"
 | 
			
		||||
| 
						 | 
				
			
			@ -737,8 +741,8 @@ vertically."
 | 
			
		|||
  (setq org-roam-directory "~/org"
 | 
			
		||||
        org-roam-buffer-width 0.25
 | 
			
		||||
        org-roam-file-exclude-regexp ".stversion.*\|.stfolder.*\|.*~.*\|.*sync.*"
 | 
			
		||||
        org-roam-db-location "~/.dotemacs/org-roam.db"
 | 
			
		||||
        org-roam-completion-everywhere t
 | 
			
		||||
           org-roam-db-location "~/.dotemacs/org-roam.db"
 | 
			
		||||
           org-roam-completion-everywhere t
 | 
			
		||||
        org-roam-capture-templates
 | 
			
		||||
        '(("d" "default" plain (function org-roam--capture-get-point)
 | 
			
		||||
           "%?"
 | 
			
		||||
| 
						 | 
				
			
			@ -1362,7 +1366,7 @@ interfere with the default `bongo-playlist-buffer'."
 | 
			
		|||
    :keymaps 'override
 | 
			
		||||
    "ob" 'bongo)
 | 
			
		||||
  (general-def 'normal bongo-playlist-mode-map
 | 
			
		||||
    "RET" 'bongo-play
 | 
			
		||||
    "RET" 'bongo-dwim
 | 
			
		||||
    "d" 'bongo-kill-line
 | 
			
		||||
    "u" 'bongo-unmark-region
 | 
			
		||||
    "p" 'bongo-pause/resume
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue