From 8501487efcec84606abfbcf3b3b1ea1e9e492095 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Fri, 10 Sep 2021 10:25:45 -0300 Subject: [PATCH] Projectile --- .gitmodules | 3 +++ emacs.d/init.el | 25 ++++++++++++++++++++++--- fish/conf.d/aliases.fish | 2 -- nvim/pack/colors/start/onedark.vim | 1 + 4 files changed, 26 insertions(+), 5 deletions(-) create mode 160000 nvim/pack/colors/start/onedark.vim diff --git a/.gitmodules b/.gitmodules index 544ab05..956b7c3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -22,3 +22,6 @@ [submodule "nvim/pack/project/start/LanguageClient-neovim"] path = nvim/pack/project/start/LanguageClient-neovim url = https://github.com/autozimu/LanguageClient-neovim.git +[submodule "nvim/pack/colors/start/onedark.vim"] + path = nvim/pack/colors/start/onedark.vim + url = https://github.com/joshdick/onedark.vim.git diff --git a/emacs.d/init.el b/emacs.d/init.el index 5b388e5..18fe448 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -92,7 +92,7 @@ :ensure t :config (setq doom-themes-enable-bold t doom-themes-enable-italic t) - (load-theme 'doom-Iosvkem t)) + (load-theme 'doom-monokai-spectrum t)) ;; highlights the current line (use-package hlinum @@ -136,8 +136,25 @@ (use-package helm :ensure t :config + (setq helm-M-x-fuzzy-match t) + (setq helm-buffers-fuzzy-matching t + helm-recent-fuzzy-match t) (global-set-key (kbd "M-x") 'helm-M-x) - (global-set-key (kbd "C-x C-f") 'helm-find-files)) + (global-set-key (kbd "C-x C-f") 'helm-find-files) + ) + +;; Project management +(use-package projectile + :ensure t + :init + (projectile-mode +1) + :bind (:map projectile-mode-map + ("s-p" . projectile-command-map) + ("C-c p" . projectile-command-map)) + ) + +(use-package helm-projectile + :ensure t) ;; auto-pairs (electric-pair-mode 1) @@ -177,8 +194,10 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. + '(custom-safe-themes + '("835868dcd17131ba8b9619d14c67c127aa18b90a82438c8613586331129dda63" default)) '(package-selected-packages - '(editorconfig diff-hl hlinum use-package rust-mode doom-themes auto-package-update))) + '(helm-projectile projectile editorconfig diff-hl hlinum use-package rust-mode doom-themes auto-package-update))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/fish/conf.d/aliases.fish b/fish/conf.d/aliases.fish index bdeb5e5..0e41a54 100644 --- a/fish/conf.d/aliases.fish +++ b/fish/conf.d/aliases.fish @@ -1,7 +1,5 @@ -alias vim nvim alias open xdg-open alias cat 'bat --paging=never' alias less 'bat --paging=always' alias ls exa alias rcp 'rsync -rclh --progress --' - diff --git a/nvim/pack/colors/start/onedark.vim b/nvim/pack/colors/start/onedark.vim new file mode 160000 index 0000000..ee4b22c --- /dev/null +++ b/nvim/pack/colors/start/onedark.vim @@ -0,0 +1 @@ +Subproject commit ee4b22cbae8a3a434fad832bd89a6981c7c061af