diff --git a/core/core-project.el b/core/core-project.el index 5ed7fe352..37c3fb934 100644 --- a/core/core-project.el +++ b/core/core-project.el @@ -53,9 +53,6 @@ ido-cr+-max-items 10000 ido-save-directory-list-file (concat narf-temp-dir "ido.last")) :config - (add-to-list 'ido-ignore-files "\\`.DS_Store$") - (add-to-list 'ido-ignore-files "Icon\\?$") - (add-hook! ido-setup (require 'ido-vertical-mode) (ido-vertical-mode 1) @@ -69,6 +66,9 @@ "C-w" 'ido-delete-backward-word-updir "C-u" 'ido-up-directory)) + (add-to-list 'ido-ignore-files "\\`.DS_Store$") + (add-to-list 'ido-ignore-files "Icon\\?$") + (advice-add 'ido-sort-mtime :override 'narf*ido-sort-mtime) (add-hook! (ido-make-file-list ido-make-dir-list) 'narf*ido-sort-mtime) (add-hook! ido-setup 'narf|ido-setup-home-keybind)) diff --git a/core/defuns/defuns-ui.el b/core/defuns/defuns-ui.el index c03ef30cb..ff9ae78c1 100644 --- a/core/defuns/defuns-ui.el +++ b/core/defuns/defuns-ui.el @@ -26,7 +26,7 @@ ;;;###autoload (defun narf/load-font (font) (interactive) - (set-frame-font font) + (set-frame-font font t) (setq narf-current-font font)) ;;;###autoload diff --git a/modules/module-write.el b/modules/module-write.el index 6a60ade28..5173e560c 100644 --- a/modules/module-write.el +++ b/modules/module-write.el @@ -56,8 +56,8 @@ (when (>= emacs-major-version 25) ;; From - ;; Splitting windows while visual-fill-column makes Emacs go crazy. This prevents - ;; that by simply disabled VFC before splitting. + ;; Splitting windows while visual-fill-column makes Emacs go crazy. This prevents that + ;; by simply disabled VFC before splitting. (after! visual-fill-column (advice-add 'split-window :around #'visual-fill-column--disable-on-split-window)) (defun visual-fill-column--disable-on-split-window (fn window &rest args) diff --git a/private/my-bindings.el b/private/my-bindings.el index 9e26f1761..53f56690c 100644 --- a/private/my-bindings.el +++ b/private/my-bindings.el @@ -44,7 +44,7 @@ "C-j" 'evil-window-down "C-k" 'evil-window-up "C-h" 'evil-window-left - "C-l" 'evil-window-right ; switch to tmux if fails + "C-l" 'evil-window-right "C-" 'evil-emacs-state :e "C-" 'evil-normal-state @@ -278,8 +278,7 @@ :o "s" 'evil-surround-edit :o "S" 'evil-Surround-edit - :n "!" 'rotate-word-at-point - :v "!" 'rotate-region + :n "!" 'rotate-text (:map evil-window-map ; prefix "C-w" "u" 'narf/undo-window-change