Minor usability issues

This commit is contained in:
Wojciech Kozlowski 2019-02-10 11:35:35 +01:00
parent 95a2862c06
commit fc884f7283
3 changed files with 17 additions and 2 deletions

View File

@ -120,6 +120,12 @@
;; Highlight lines that are too long in whitespace mode.
whitespace-line-column fill-column)
;; --------------------------------------------------------------------------
;; Treat CamelCase as separate words.
;; --------------------------------------------------------------------------
(global-subword-mode)
;; --------------------------------------------------------------------------
;; Completion help.
;; --------------------------------------------------------------------------

View File

@ -19,7 +19,8 @@
(defvar emodule/em-modeline-packages
'(doom-modeline)
'(anzu
doom-modeline)
)
@ -37,6 +38,11 @@
:config
(setq-default doom-modeline-height 23)
;; Set anzu-mode
(use-package anzu
:config
(global-anzu-mode 1))
;; Add perspective to modeline
(doom-modeline-def-segment perspective-name
"Perspectives list and selection. Requires `persp-mode' to be enabled."

View File

@ -61,10 +61,13 @@
:hook
(after-init . global-company-mode)
:config
(setq company-idle-delay 0
company-minimum-prefix-length 1)
;; For this to correctly complete headers, need to add all include paths to
;; `company-c-headers-path-system'.
(add-to-list 'company-backends 'company-c-headers)
(setq company-backends (delete 'company-clang company-backends)))
(setq company-backends (delete 'company-clang company-backends))
(setq company-backends (delete 'company-dabbrev company-backends)))
;; Functions args -----------------------------------------------------------