/ barebones.el
barebones.el
 1  ;; Start the server at launch to support opening files
 2  (server-start)
 3  
 4  ;; Set default font
 5  (set-frame-font "JetBrains Mono")
 6  
 7  ;; Prepend font for your language in default fontset for Emacs to automatically choose it for that text
 8  ;; (set-fontset-font "fontset-default" nil "Noto Sans Bengali" nil 'prepend)
 9  
10  ;; Use text mode by default for undefined file modes instead of fundamental mode
11  (setq-default major-mode 'text-mode);; We need the following for keybinding-dependent packages e.g. EViL
12  (setq overriding-text-conversion-style nil)
13  
14  ;; A few customizable user options are initialized in complex ways, and these have to be set either via the customize interface or by using ‘customize-set-variable’/‘setopt’
15  (setopt tool-bar-position 'bottom)
16  
17  ;; Enable modifier bar for using modifier keys without keyboard
18  (modifier-bar-mode 1)
19  
20  ;; Enable visual-line-mode globally
21  (global-visual-line-mode t)
22  ;; Enable visual-wrap-prefix-mode globally to indent wrapped lines
23  (global-visual-wrap-prefix-mode t)
24  
25  
26  ;; Keep recent files list
27  (recentf-mode t)
28  
29  ;; To always display on-screen keyboard
30  (setq touch-screen-display-keyboard t)