Clean up
This commit is contained in:
parent
4190b16b71
commit
affcb53d04
4 changed files with 8 additions and 9 deletions
|
@ -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))
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -56,8 +56,8 @@
|
|||
|
||||
(when (>= emacs-major-version 25)
|
||||
;; From <https://github.com/joostkremers/visual-fill-column/pull/6>
|
||||
;; 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)
|
||||
|
|
|
@ -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-<escape>" 'evil-emacs-state
|
||||
:e "C-<escape>" '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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue