Update indentation settings
* .dir-locals.el: Set `indent-tabs-mode' automatically.
This commit is contained in:
parent
58d75804ff
commit
916d4a7034
2 changed files with 60 additions and 53 deletions
5
.dir-locals.el
Normal file
5
.dir-locals.el
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
;;; Directory Local Variables
|
||||
;;; For more information see (info "(emacs) Directory Variables")
|
||||
|
||||
((emacs-lisp-mode
|
||||
(indent-tabs-mode . nil)))
|
||||
|
|
@ -39,12 +39,13 @@
|
|||
(require 'counsel)
|
||||
(require 'projectile)
|
||||
|
||||
|
||||
;;; counsel-projectile-find-file
|
||||
|
||||
;;;###autoload
|
||||
(defun counsel-projectile-find-file (&optional arg)
|
||||
"Replacement for `projectile-find-file'. Jump to a project's file using completion.
|
||||
"Jump to a project's file using completion.
|
||||
|
||||
Replacement for `projectile-find-file'.
|
||||
With a prefix ARG invalidates the cache first."
|
||||
(interactive "P")
|
||||
(projectile-maybe-invalidate-cache arg)
|
||||
|
|
@ -62,7 +63,8 @@ With a prefix ARG invalidates the cache first."
|
|||
'counsel-projectile-find-file
|
||||
'(("w" (lambda (x)
|
||||
(with-ivy-window
|
||||
(find-file-other-window (expand-file-name x (projectile-project-root)))))
|
||||
(find-file-other-window
|
||||
(expand-file-name x (projectile-project-root)))))
|
||||
"other window")))
|
||||
|
||||
;;; counsel-projectile-find-dir
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue