mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Enable company mode and remove periods.
This commit is contained in:
parent
d3e428d599
commit
9c49f6a9cd
17
init.org
17
init.org
@ -352,19 +352,20 @@
|
|||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(dolist (mode
|
(dolist (mode
|
||||||
'(abbrev-mode ; E.g. sopl -> System.out.println.
|
'(abbrev-mode ; E.g. sopl -> System.out.println
|
||||||
column-number-mode ; Show column number in mode line.
|
column-number-mode ; Show column number in mode line
|
||||||
delete-selection-mode ; Replace selected text.
|
global-company-mode ; Auto-completion everywhere
|
||||||
|
delete-selection-mode ; Replace selected text
|
||||||
dirtrack-mode ; directory tracking in *shell*
|
dirtrack-mode ; directory tracking in *shell*
|
||||||
recentf-mode ; Recently opened files.
|
recentf-mode ; Recently opened files
|
||||||
show-paren-mode ; Highlight matching parentheses.
|
show-paren-mode ; Highlight matching parentheses
|
||||||
projectile-global-mode ; Manage and navigate projects.
|
projectile-global-mode ; Manage and navigate projects
|
||||||
global-undo-tree-mode)) ; Undo as a tree.
|
global-undo-tree-mode)) ; Undo as a tree
|
||||||
(funcall mode 1))
|
(funcall mode 1))
|
||||||
|
|
||||||
(when (version< emacs-version "24.4")
|
(when (version< emacs-version "24.4")
|
||||||
(eval-after-load 'auto-compile
|
(eval-after-load 'auto-compile
|
||||||
'((auto-compile-on-save-mode 1)))) ; compile .el files on save.
|
'((auto-compile-on-save-mode 1)))) ; compile .el files on save
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user