Wrap the ctrlf mode in a when-not-wm

This commit is contained in:
Sameer Rahmani 2021-01-04 20:52:11 +00:00
parent 0081f81c78
commit f8ae98f1bf
2 changed files with 6 additions and 4 deletions

View File

@ -304,12 +304,13 @@
"Selectrum is a better replacement for IDO and Ivy"
(require 'selectrum)
(require 'selectrum-prescient)
(require 'ctrlf)
(selectrum-mode +1)
(selectrum-prescient-mode +1)
(prescient-persist-mode +1)
(ctrlf-mode +1)
(when-not-wm
(require 'ctrlf)
(ctrlf-mode +1))
(setq prescient-filter-method '(literal fuzzy regexp initialism)))
(ability ivy ()

View File

@ -41,12 +41,13 @@
:group 'simple-serene-mode)
(defvar serene-simple-mode-special-forms
'("do" "let" "def" "fn" "quote" "cond" "if"))
'("do" "let" "def" "fn" "quote" "cond" "if"
"defn" "defmacro" "list" "ns"))
(defconst serene-simple-mode-builtin-fns
'("=" ">" "<" ">=" "<=" "and" "or" "not" "first" "rest" "println"
"quit" "+" "*" "/" "-" "conj" "mod" "new"))
"quit" "+" "*" "/" "-" "conj" "mod" "new" "pr" "prn" "print"))
(defconst serene-simple-mode-builtin-types