diff --git a/conf.org b/conf.org index 9dd9db4..0c15d07 100644 --- a/conf.org +++ b/conf.org @@ -51,21 +51,6 @@ There are two things you can do about this warning: ;;(cask-initialize) #+END_SRC ** Plugin-ok betöltése -*** Neotree - #+BEGIN_SRC emacs-lisp -;;(add-to-list 'load-path "/some/path/neotree") -(require 'neotree) -(global-set-key [f8] 'neotree-toggle) - #+END_SRC -*** Nyan-mode - #+BEGIN_SRC emacs-lisp -(nyan-mode) - #+END_SRC -*** ORG-bullets - #+BEGIN_SRC emacs-lisp -(require 'org-bullets) -(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))) - #+END_SRC *** RTags #+BEGIN_SRC emacs-lisp (require 'rtags) @@ -122,8 +107,8 @@ There are two things you can do about this warning: #+END_SRC *** Flycheck-clang-tidy #+BEGIN_SRC emacs-lisp -;(eval-after-load 'flycheck -; '(add-hook 'flycheck-mode-hook #'flycheck-clang-tidy-setup)) +(eval-after-load 'flycheck + '(add-hook 'flycheck-mode-hook #'flycheck-clang-tidy-setup)) #+END_SRC *** Cmake-ide #+BEGIN_SRC emacs-lisp @@ -159,6 +144,36 @@ There are two things you can do about this warning: (smex-initialize) ; Can be omitted. This might cause a (minimal) delay ; when Smex is auto-initialized on its first run. #+END_SRC +*** Yasnippet +#+BEGIN_SRC emacs-lisp +(add-to-list 'load-path + "~/.emacs.d/plugins/yasnippet") +(require 'yasnippet) +(yas-global-mode 1) + +(add-hook 'c-mode-hook #'yas-minor-mode) +(add-hook 'c++-mode-hook #'yas-minor-mode) + +#+END_SRC +*** Drag-stuff +#+BEGIN_SRC emacs-lisp +(drag-stuff-mode t) +#+END_SRC +*** ORG-bullets + #+BEGIN_SRC emacs-lisp +(require 'org-bullets) +(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))) + #+END_SRC +*** Nyan-mode + #+BEGIN_SRC emacs-lisp + (nyan-mode) + #+END_SRC +*** Neotree + #+BEGIN_SRC emacs-lisp + ;;(add-to-list 'load-path "/some/path/neotree") + (require 'neotree) + (global-set-key [f8] 'neotree-toggle) + #+END_SRC * Makró beállítások ** Rtags #+BEGIN_SRC emacs-lisp @@ -267,6 +282,15 @@ There are two things you can do about this warning: #+BEGIN_SRC emacs-lisp (setq doc-view-continuous t) #+END_SRC +** Hunspell +#+BEGIN_SRC emacs-lisp +(setq ispell-program-name "hunspell" + ispell-local-dictionary "hu_HU" + ispell-skip-html t + ispell-local-dictionary-alist + '(("hu_HU" "\[\[:alpha:\]\]" "[^[:alpha:]]" "[']" nil ("-d" "hu_HU") nil utf-8))) +(setq ispell-dictionary "hu_HU") +#+END_SRC ** Teszt #+BEGIN_SRC emacs-lisp ;; Source: http://www.emacswiki.org/emacs-en/download/misc-cmds.el diff --git a/init.el b/init.el index c2c52e7..10de06a 100644 --- a/init.el +++ b/init.el @@ -10,7 +10,7 @@ ("2679db166117d5b26b22a8f12a940f5ac415d76b004de03fcd34483505705f62" "0fffa9669425ff140ff2ae8568c7719705ef33b7a927a0ba7c5e2ffcfac09b75" "2809bcb77ad21312897b541134981282dc455ccd7c14d74cc333b6e549b824f3" "8ca8fbaeaeff06ac803d7c42de1430b9765d22a439efc45b5ac572c2d9d09b16" "229c5cf9c9bd4012be621d271320036c69a14758f70e60385e87880b46d60780" default))) '(package-selected-packages (quote - (smex ox-epub quelpa emacsshot org-drill auctex highlight-doxygen format-all srefactor preproc-font-lock solarized-theme humanoid-themes nyan-mode neotree flycheck)))) + (drag-stuff smex ox-epub quelpa emacsshot org-drill auctex highlight-doxygen format-all srefactor preproc-font-lock solarized-theme humanoid-themes nyan-mode neotree flycheck)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.