Clean up
This commit is contained in:
parent
5099352078
commit
1b67819fc7
5 changed files with 52 additions and 47 deletions
|
@ -20,7 +20,7 @@
|
|||
fringes-outside-margins t
|
||||
hl-line-sticky-flag nil ; only highlight in one window
|
||||
|
||||
jit-lock-defer-time 0
|
||||
jit-lock-defer-time nil
|
||||
jit-lock-stealth-time 1
|
||||
|
||||
resize-mini-windows t)
|
||||
|
|
|
@ -151,7 +151,9 @@
|
|||
|
||||
(require 'server)
|
||||
(unless (server-running-p)
|
||||
(server-start)))
|
||||
(server-start))
|
||||
|
||||
(add-hook! after-init (setq gc-cons-threshold 800000)))
|
||||
|
||||
(provide 'core)
|
||||
;;; core.el ends here
|
||||
|
|
2
init.el
2
init.el
|
@ -40,6 +40,8 @@
|
|||
;;
|
||||
;;; License: GPLv3
|
||||
|
||||
(setq gc-cons-threshold 169715200)
|
||||
|
||||
(defconst narf-theme 'narf-dark)
|
||||
(defconst narf-default-font (font-spec :family "DejaVu Sans Mono" :size 12))
|
||||
(defconst narf-big-font (font-spec :family "Inconsolata" :size 20))
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
(define-env-command! python-mode "python --version | cut -d' ' -f2")
|
||||
|
||||
;; interferes with smartparens
|
||||
(define-key python-mode-map (kbd "DEL") nil))
|
||||
(define-key python-mode-map (kbd "DEL") nil)
|
||||
|
||||
(use-package nose
|
||||
:commands nose-mode
|
||||
|
@ -44,8 +44,9 @@
|
|||
|
||||
(advice-add 'anaconda-mode-doc-buffer :after 'narf*anaconda-mode-doc-buffer)
|
||||
|
||||
(after! company
|
||||
(require 'company-anaconda)
|
||||
(define-company-backend! python-mode (anaconda))
|
||||
(define-company-backend! python-mode (anaconda)))
|
||||
(after! emr
|
||||
(mapc (lambda (x)
|
||||
(let ((command-name (car x))
|
||||
|
@ -61,7 +62,7 @@
|
|||
(find-assignments "find assignments" t)
|
||||
(find-definitions "find definitions" t)
|
||||
(find-file "find assignments" t)
|
||||
(find-references "show usages" nil)))))
|
||||
(find-references "show usages" nil))))))
|
||||
|
||||
(provide 'module-python)
|
||||
;;; module-python.el ends here
|
||||
|
|
|
@ -171,7 +171,7 @@
|
|||
:n "w" 'narf:helm-wg
|
||||
:n "W" 'narf:workgroup-display)
|
||||
|
||||
:n "K" 'smart-up
|
||||
:nv "K" 'smart-up
|
||||
|
||||
;; Don't move cursor on indent
|
||||
:n "=" (λ (save-excursion (call-interactively 'evil-indent)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue