General cleanup
This commit is contained in:
parent
a2190b1553
commit
af0a776fa5
10 changed files with 24 additions and 30 deletions
2
Cask
2
Cask
|
@ -61,8 +61,8 @@
|
||||||
(depends-on "evil-visualstar")
|
(depends-on "evil-visualstar")
|
||||||
|
|
||||||
;; Editor --- core/core-editor.el
|
;; Editor --- core/core-editor.el
|
||||||
(depends-on "ace-window")
|
|
||||||
(depends-on "ace-link")
|
(depends-on "ace-link")
|
||||||
|
(depends-on "ace-window")
|
||||||
(depends-on "avy")
|
(depends-on "avy")
|
||||||
(depends-on "dumb-jump")
|
(depends-on "dumb-jump")
|
||||||
(depends-on "editorconfig")
|
(depends-on "editorconfig")
|
||||||
|
|
|
@ -32,8 +32,6 @@ make snippets # install hlissner/emacs-snippets into private/snippets
|
||||||
For a more comprehensive byte compile, run `:bc!` (`:bc` will compile the
|
For a more comprehensive byte compile, run `:bc!` (`:bc` will compile the
|
||||||
current *.el file).
|
current *.el file).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
To get a picture of what's in here, check out:
|
To get a picture of what's in here, check out:
|
||||||
|
@ -87,4 +85,3 @@ To get a picture of what's in here, check out:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,6 @@
|
||||||
flycheck-disabled-checkers '(emacs-lisp emacs-lisp-checkdoc make))
|
flycheck-disabled-checkers '(emacs-lisp emacs-lisp-checkdoc make))
|
||||||
|
|
||||||
:config
|
:config
|
||||||
;; Display warning symbol unicode better
|
|
||||||
(doom-fix-unicode "DejaVu Sans Mono" '(?⚠) 18)
|
|
||||||
(def-popup! " ?\\*Flycheck.+\\*" :align below :size 14 :noselect t :regexp t)
|
(def-popup! " ?\\*Flycheck.+\\*" :align below :size 14 :noselect t :regexp t)
|
||||||
|
|
||||||
(unless (> emacs-major-version 24)
|
(unless (> emacs-major-version 24)
|
||||||
|
|
|
@ -85,7 +85,9 @@
|
||||||
("melpa" . "http://melpa.org/packages/")
|
("melpa" . "http://melpa.org/packages/")
|
||||||
("org" . "http://orgmode.org/elpa/"))
|
("org" . "http://orgmode.org/elpa/"))
|
||||||
|
|
||||||
|
byte-compile-warnings nil
|
||||||
ad-redefinition-action 'accept ; silence the advised function warnings
|
ad-redefinition-action 'accept ; silence the advised function warnings
|
||||||
|
apropos-do-all t
|
||||||
compilation-always-kill t ; kill compl. process before spawning another
|
compilation-always-kill t ; kill compl. process before spawning another
|
||||||
compilation-ask-about-save nil ; save all buffers before compiling
|
compilation-ask-about-save nil ; save all buffers before compiling
|
||||||
compilation-scroll-output t ; scroll with output while compiling
|
compilation-scroll-output t ; scroll with output while compiling
|
||||||
|
|
|
@ -18,7 +18,7 @@ buffers."
|
||||||
(interactive)
|
(interactive)
|
||||||
(ivy-read "Kill ring:" (--filter (not (or (< (length it) 3)
|
(ivy-read "Kill ring:" (--filter (not (or (< (length it) 3)
|
||||||
(string-match-p "\\`[\n[:blank:]]+\\'" it)))
|
(string-match-p "\\`[\n[:blank:]]+\\'" it)))
|
||||||
(remove-duplicates kill-ring :test' equal))))
|
(remove-duplicates kill-ring :test 'equal))))
|
||||||
|
|
||||||
;;;###autoload (autoload 'doom:ivy-recentf "defuns-ivy" nil t)
|
;;;###autoload (autoload 'doom:ivy-recentf "defuns-ivy" nil t)
|
||||||
(evil-define-command doom:ivy-recentf (&optional bang)
|
(evil-define-command doom:ivy-recentf (&optional bang)
|
||||||
|
|
|
@ -6,19 +6,19 @@ LLVM="clang+llvm-$(LLVMV)-x86_64-apple-darwin"
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
||||||
all: rust csharp
|
all: rust csharp js sh cc
|
||||||
|
|
||||||
rust:
|
rust:
|
||||||
@echo "Installing Rust dependencies"
|
@echo "Installing Rust dependencies"
|
||||||
git clone --depth 1 --recursive https://github.com/rust-lang/rust.git rust
|
git clone --depth 1 --recursive "https://github.com/rust-lang/rust.git" rust
|
||||||
git clone --depth 1 --recursive https://github.com/phildawes/racer.git racer-src
|
git clone --depth 1 --recursive "https://github.com/phildawes/racer.git" racer-src
|
||||||
cd racer-src && cargo build --release
|
cd racer-src && cargo build --release
|
||||||
mv racer-src/target/release/racer ./racer
|
mv racer-src/target/release/racer ./racer
|
||||||
rm -rf racer-src
|
rm -rf racer-src
|
||||||
|
|
||||||
csharp:
|
csharp:
|
||||||
@echo "Installing C# dependencies"
|
@echo "Installing C# dependencies"
|
||||||
git clone --depth 1 --recursive https://github.com/OmniSharp/omnisharp-server omnisharp
|
git clone --depth 1 --recursive "https://github.com/OmniSharp/omnisharp-server" omnisharp
|
||||||
cd omnisharp && xbuild
|
cd omnisharp && xbuild
|
||||||
mv omnisharp/bin/Debug/OmniSharp.exe ./OmniSharp.exe
|
mv omnisharp/bin/Debug/OmniSharp.exe ./OmniSharp.exe
|
||||||
rm -rf omnisharp
|
rm -rf omnisharp
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
;; + TODO peer programming collab
|
;; + TODO peer programming collab
|
||||||
|
|
||||||
;; Big-mode settings
|
;; Big-mode settings
|
||||||
(defconst big-mode-font (font-spec :family "Inconsolata" :size 18))
|
(defconst big-mode-font (font-spec :family "Inconsolata" :size 16))
|
||||||
(defconst big-mode-line-spacing 1)
|
(defconst big-mode-line-spacing 0)
|
||||||
(defconst big-mode-modeline-height 35)
|
(defconst big-mode-modeline-height 35)
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -15,18 +15,19 @@
|
||||||
(defconst write-mode--last-theme doom-current-theme)
|
(defconst write-mode--last-theme doom-current-theme)
|
||||||
(defconst write-mode--last-line-spacing line-spacing)
|
(defconst write-mode--last-line-spacing line-spacing)
|
||||||
|
|
||||||
(spaceline-compile
|
(after! spaceline
|
||||||
'write
|
(spaceline-compile
|
||||||
'(((*macro-recording *anzu *iedit *evil-substitute *flycheck)
|
'write
|
||||||
:skip-alternate t
|
'(((*macro-recording *anzu *iedit *evil-substitute *flycheck)
|
||||||
:tight t)
|
:skip-alternate t
|
||||||
*buffer-path
|
:tight t)
|
||||||
*buffer-modified)
|
*buffer-path
|
||||||
'((*selection-info :when active)
|
*buffer-modified)
|
||||||
*buffer-encoding-abbrev
|
'((*selection-info :when active)
|
||||||
(global :when active)
|
*buffer-encoding-abbrev
|
||||||
*buffer-position
|
(global :when active)
|
||||||
*pad))
|
*buffer-position
|
||||||
|
*pad)))
|
||||||
|
|
||||||
;;
|
;;
|
||||||
(defun write-mode|org-hook ()
|
(defun write-mode|org-hook ()
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
(use-package web-mode
|
(use-package web-mode
|
||||||
:mode ("\\.p?html?$"
|
:mode ("\\.p?html?$"
|
||||||
"\\.\\(tpl\\|blade\\)\\(\\.php\\)?$"
|
"\\.\\(tpl\\|blade\\)\\(\\.php\\)?$"
|
||||||
"\\.tsx$"
|
|
||||||
"\\.erb$"
|
"\\.erb$"
|
||||||
"\\.jsp$"
|
"\\.jsp$"
|
||||||
"\\.as[cp]x$"
|
"\\.as[cp]x$"
|
||||||
|
|
|
@ -211,9 +211,6 @@
|
||||||
"C-k" 'evil-window-up
|
"C-k" 'evil-window-up
|
||||||
"C-l" 'evil-window-right
|
"C-l" 'evil-window-right
|
||||||
"C-w" 'ace-window
|
"C-w" 'ace-window
|
||||||
;; Jump to new splits
|
|
||||||
"s" 'doom/evil-window-split
|
|
||||||
"v" 'doom/evil-window-vsplit
|
|
||||||
;; Swapping windows
|
;; Swapping windows
|
||||||
"H" 'doom/evil-window-move-l
|
"H" 'doom/evil-window-move-l
|
||||||
"J" 'doom/evil-window-move-d
|
"J" 'doom/evil-window-move-d
|
||||||
|
@ -303,7 +300,7 @@
|
||||||
;; help-mode
|
;; help-mode
|
||||||
(:after help-mode
|
(:after help-mode
|
||||||
(:map help-map
|
(:map help-map
|
||||||
"e" 'view-echo-area-messages)
|
"e" 'doom/popup-messages)
|
||||||
(:map help-mode-map
|
(:map help-mode-map
|
||||||
:n "]]" 'help-go-forward
|
:n "]]" 'help-go-forward
|
||||||
:n "[[" 'help-go-back
|
:n "[[" 'help-go-back
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue