(Emacs/config)~move some stuff around, small tweaks
This commit is contained in:
@@ -283,15 +283,6 @@ hanging, which hl-line just can't do.
|
|||||||
:config
|
:config
|
||||||
(blink-cursor-mode))
|
(blink-cursor-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
** Fringes
|
|
||||||
Turning off borders in my window manager was a good idea, so turn off
|
|
||||||
the borders for Emacs.
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(use-package fringe
|
|
||||||
:defer t
|
|
||||||
:config
|
|
||||||
(fringe-mode 0))
|
|
||||||
#+end_src
|
|
||||||
** Mode line
|
** Mode line
|
||||||
The mode line is the little bar at the bottom of the buffer, just
|
The mode line is the little bar at the bottom of the buffer, just
|
||||||
above the minibuffer (where you do completions). It can store quite
|
above the minibuffer (where you do completions). It can store quite
|
||||||
@@ -346,6 +337,16 @@ the mode line to achieve this.
|
|||||||
:config
|
:config
|
||||||
(+better-mode-line/setup-mode-line))
|
(+better-mode-line/setup-mode-line))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
** Fringes
|
||||||
|
Turning off borders in my window manager was a good idea, so turn off
|
||||||
|
the borders for Emacs, so called fringes.
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package fringe
|
||||||
|
:load-path "elisp/"
|
||||||
|
:defer t
|
||||||
|
:config
|
||||||
|
(fringe-mode 0))
|
||||||
|
#+end_src
|
||||||
** Mouse
|
** Mouse
|
||||||
Who uses a mouse? 🤮
|
Who uses a mouse? 🤮
|
||||||
|
|
||||||
@@ -822,6 +823,7 @@ just setup some evil binds for company.
|
|||||||
:general
|
:general
|
||||||
(imap
|
(imap
|
||||||
"C-SPC" #'company-complete
|
"C-SPC" #'company-complete
|
||||||
|
"C-@" #'company-complete
|
||||||
"M-j" #'company-select-next
|
"M-j" #'company-select-next
|
||||||
"M-k" #'company-select-previous))
|
"M-k" #'company-select-previous))
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -1101,7 +1103,7 @@ info pages so I'd like nice navigation options.
|
|||||||
#+end_src
|
#+end_src
|
||||||
** Display line numbers
|
** Display line numbers
|
||||||
I don't really like line numbers, I find them similar to
|
I don't really like line numbers, I find them similar to
|
||||||
[[*Fringes][fringes]] as useless space, but at least it provides some
|
[[*Fringes][fringes]] (useless space), but at least it provides some
|
||||||
information. Sometimes it can help with doing repeated commands so a
|
information. Sometimes it can help with doing repeated commands so a
|
||||||
toggle option is necessary.
|
toggle option is necessary.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
@@ -2023,8 +2025,6 @@ back in, I can just do it within Emacs. Pretty nifty, right?
|
|||||||
:general
|
:general
|
||||||
(app-leader
|
(app-leader
|
||||||
"c" #'calc-dispatch)
|
"c" #'calc-dispatch)
|
||||||
(mode-leader
|
|
||||||
"c" #'calc-embedded)
|
|
||||||
:init
|
:init
|
||||||
(setq calc-algebraic-mode t)
|
(setq calc-algebraic-mode t)
|
||||||
:config
|
:config
|
||||||
@@ -2182,8 +2182,11 @@ limit), so set it for specific modes need the help.
|
|||||||
tab-mark)))
|
tab-mark)))
|
||||||
#+end_src
|
#+end_src
|
||||||
** Filling and displaying fills
|
** Filling and displaying fills
|
||||||
I like different fill-columns for different modes: text modes should
|
The fill-column is the number of characters that should be in a single
|
||||||
really use 70 fill columns while code should stick to 80.
|
line of text before doing a hard wrap. The default case is 80
|
||||||
|
characters for that l33t Unix hard terminal character limit. I like
|
||||||
|
different fill-columns for different modes: text modes should really
|
||||||
|
use 70 fill columns while code should stick to 80.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package emacs
|
(use-package emacs
|
||||||
:init
|
:init
|
||||||
|
|||||||
Reference in New Issue
Block a user