summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2023-02-02 08:01:08 -0500
committermattkae <mattkae@protonmail.com>2023-02-02 08:01:08 -0500
commitf01a974c0dc0cb90fd385b0859fc7e6a9d4391d2 (patch)
treebbc7e9ec8686a1129d976d35e3f845989fe6148e
parent8b5874e9acb48f7b3b414b4556762c1835ee4c5d (diff)
Uesing helm posframe
-rw-r--r--init.el2
-rw-r--r--lisp/general.el12
2 files changed, 10 insertions, 4 deletions
diff --git a/init.el b/init.el
index 82d72a5..2210bcd 100644
--- a/init.el
+++ b/init.el
@@ -69,7 +69,7 @@
'(org-agenda-files (list org-directory))
'(org-directory "~/Documents/org")
'(package-selected-packages
- '(treemacs-projectile treemacs highlight-indent-guides helm js-doc eslint-fix eslintd-fix go-mode css-eldoc dashboard highlight-thing tree-sitter-langs tree-sitter eldoc-box company-quickhelp hl-todo python-mode drag-stuff org-bullets git-gutter-fringe git-gutter vterm-toggle vterm minimap good-scroll counsel ## smartparens xref-js2 eglot json-mode markdown-mode emojify tern rtags cmake-ide cmake-mode tide auctex evil js2-highlight-vars ac-js2 js2-refactor js2-mode flycheck-irony company-irony all-the-icons req-package projectile irony org)))
+ '(helm-posframe treemacs-projectile treemacs highlight-indent-guides helm js-doc eslint-fix eslintd-fix go-mode css-eldoc dashboard highlight-thing tree-sitter-langs tree-sitter eldoc-box company-quickhelp hl-todo python-mode drag-stuff org-bullets git-gutter-fringe git-gutter vterm-toggle vterm minimap good-scroll counsel ## smartparens xref-js2 eglot json-mode markdown-mode emojify tern rtags cmake-ide cmake-mode tide auctex evil js2-highlight-vars ac-js2 js2-refactor js2-mode flycheck-irony company-irony all-the-icons req-package projectile irony org)))
;;; init.el ends here
(custom-set-faces
diff --git a/lisp/general.el b/lisp/general.el
index 3fdf129..c8f4ca0 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -80,9 +80,15 @@
(delete-selection-mode 1)
;; I am using the helm package, of course
-(use-package helm)
+(use-package helm
+ :ensure t)
(helm-mode 1)
+(use-package helm-posframe
+ :ensure t
+ :config
+ (helm-posframe-enable))
+
;; Projectile for project navigation
(use-package projectile)
(require 'projectile)
@@ -160,7 +166,7 @@
;; Global key binds
(require 'eglot)
(bind-key* (kbd "<f2>") #'eglot-rename)
-(bind-key* (kbd "C-x C-f") 'helm-find-files)
+;(bind-key* (kbd "C-x C-f") 'helm-find-files)
;(bind-key* (kbd "C-s") 'helm-do-grep-ag)
(bind-key* (kbd "M-x") 'helm-M-x)
(bind-key* (kbd "M-.") 'xref-find-definitions)
@@ -221,7 +227,7 @@
:defer t
:init (add-hook 'after-init-hook 'global-company-mode)
:config
- (setq company-idle-delay 0.3
+ (setq company-idle-delay 0.1
company-minimum-prefix-length 2
company-tooltip-limit 20
company-backends '((company-capf company-gtags company-elisp company-css company-dabbrev))