Fix some windows settings
This commit is contained in:
parent
4975325497
commit
55c0f1af40
1 changed files with 8 additions and 1 deletions
|
@ -32,7 +32,10 @@
|
||||||
(require 'ivy)
|
(require 'ivy)
|
||||||
(require 'grep)
|
(require 'grep)
|
||||||
(require 'magit)
|
(require 'magit)
|
||||||
(require 'alert))
|
(require 'alert)
|
||||||
|
(require 'fill-column-indicator)
|
||||||
|
(require 'projectile)
|
||||||
|
(require 'sort))
|
||||||
|
|
||||||
(defun oni-windows-nt--disable-ivy (orig-fun &rest args)
|
(defun oni-windows-nt--disable-ivy (orig-fun &rest args)
|
||||||
"Disable ivy while running ORIG-FUN with ARGS."
|
"Disable ivy while running ORIG-FUN with ARGS."
|
||||||
|
@ -58,6 +61,7 @@
|
||||||
(setq projectile-generic-command "\"C:\\Program Files\\Git\\usr\\bin\\find.exe\" . -type d \"(\" -path \"*/node_modules\" -o -path \"*/upload-test\" -o -path \"*/dlls\" -o -path \"*/apps/*/img\" -o -path \"*/apps/*/video\" -o -path \"*/apps/*/font\" -o -path \"*/apps/*/content\" -o -path \"*/apps/*/favicons\" -o -path \"*/apps/*/pages.*\" -o -path \"*/.intl\" \")\" -prune -o -type f -print0")
|
(setq projectile-generic-command "\"C:\\Program Files\\Git\\usr\\bin\\find.exe\" . -type d \"(\" -path \"*/node_modules\" -o -path \"*/upload-test\" -o -path \"*/dlls\" -o -path \"*/apps/*/img\" -o -path \"*/apps/*/video\" -o -path \"*/apps/*/font\" -o -path \"*/apps/*/content\" -o -path \"*/apps/*/favicons\" -o -path \"*/apps/*/pages.*\" -o -path \"*/.intl\" \")\" -prune -o -type f -print0")
|
||||||
(setq projectile-git-command "\"C:/Program Files/Git/bin/git.exe\" ls-files -zco --exclude-standard")
|
(setq projectile-git-command "\"C:/Program Files/Git/bin/git.exe\" ls-files -zco --exclude-standard")
|
||||||
(setq projectile-indexing-method 'alien)
|
(setq projectile-indexing-method 'alien)
|
||||||
|
(setq sort-fold-case t)
|
||||||
|
|
||||||
(setq-default buffer-file-coding-system 'utf-8-unix)
|
(setq-default buffer-file-coding-system 'utf-8-unix)
|
||||||
|
|
||||||
|
@ -80,6 +84,9 @@
|
||||||
(with-eval-after-load 'vc
|
(with-eval-after-load 'vc
|
||||||
(require 'vc-p4))
|
(require 'vc-p4))
|
||||||
|
|
||||||
|
(with-eval-after-load 'fill-column-indicator
|
||||||
|
(setq fci-always-use-textual-rule t))
|
||||||
|
|
||||||
(server-mode)
|
(server-mode)
|
||||||
|
|
||||||
(provide 'oni-windows-nt)
|
(provide 'oni-windows-nt)
|
||||||
|
|
Loading…
Reference in a new issue