diff --git a/init.el b/init.el index 38758f9a8d9b54d9690d711971c37631bf39fc63..ed8b3a7da41e6147f1d6ac1113a1e9ac1e1abbab 100644 --- a/init.el +++ b/init.el @@ -63,6 +63,7 @@ (add-to-list 'package-archives '("ELPA" . "http://tromey.com/elpa/")) (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")) (add-to-list 'package-archives '("MELPA" . "http://melpa.milkbox.net/packages/")) + (add-to-list 'package-archives '("melpa-stable" . "http://melpa.org/packages/") t) (package-initialize) ) @@ -227,7 +228,7 @@ '(org-time-stamp-custom-formats (quote ("<%d/%m/%Y %a>" . "<%d/%m/%Y %a [%H:%M]>"))) '(package-selected-packages (quote - (multi-term nterm powerline zenburn-theme use-package undo-tree solarized-theme sml-modeline org-journal multiple-cursors magit latex-preview-pane ido-vertical-mode hlinum highlight-indentation guide-key golden-ratio flycheck exec-path-from-shell dired-details diminish counsel color-theme browse-kill-ring autopair auto-complete auctex-latexmk))) + (multi-term nterm powerline zenburn-theme use-package undo-tree solarized-theme sml-modeline org-journal multiple-cursors magit latex-preview-pane ido-vertical-mode hlinum highlight-indentation guide-key golden-ratio flycheck exec-path-from-shell dired-details diminish counsel color-theme browse-kill-ring autopair auto-complete auctex-latexmk))) '(python-indent-guess-indent-offset nil) '(sml/battery-format " [ %p ] ") '(sml/show-client t)) diff --git a/init.sh b/init.sh old mode 100644 new mode 100755 index cdcbfc6e2470bc96520de4a780bcbb569ce786f4..c1f29d20d688b9b074ab40f37dc3677219af5abc --- a/init.sh +++ b/init.sh @@ -4,12 +4,12 @@ function version { echo "$@" | awk -F. '{ printf("%03d%03d%03d\n", $1,$2,$3); }' # apt-get install -y software-properties-common -# install emacs25 -if ! [ -x "$(command -v emacs25)" ]; then - echo "install emacs25" +# install emacs26 +if ! [ -x "$(command -v emacs26)" ]; then + echo "install emacs26" sudo add-apt-repository -y ppa:kelleyk/emacs sudo apt-get update - sudo apt-get install -y emacs25 + sudo apt-get install -y emacs26 fi # install git if ! [ -x "$(command -v git)" ]; then @@ -56,15 +56,15 @@ fi # .. for bash if [ -f ~/.bashrc ]; then echo "make bash alias em" - echo "alias em=\"emacs25\"" >> ~/.bashrc - echo "alias emacs=\"emacs25\"" >> ~/.bashrc + echo "alias em=\"emacs26\"" >> ~/.bashrc + echo "alias emacs=\"emacs26\"" >> ~/.bashrc . ~/.bashrc fi # .. and for zsh if [ -f ~/.zshrc ]; then echo "make zsh alias em" - echo "alias em=\"emacs25\"" >> ~/.zshrc - echo "alias emacs=\"emacs25\"" >> ~/.zshrc + echo "alias em=\"emacs26\"" >> ~/.zshrc + echo "alias emacs=\"emacs26\"" >> ~/.zshrc . ~/.zshrc fi @@ -77,4 +77,4 @@ fi echo "Clone emacs config.." git clone https://gitlab.version.fz-juelich.de/chraibi1/san_emacs.git $HOME/.emacs.d echo "start emacs ..." -emacs25 -nw +emacs26 -nw diff --git a/readme.md b/readme.md index 856693b36b573b0a8df0ab931ec0fd46fc52a0f7..10151408c3341bf16e5c034782c8d1631db117d9 100644 --- a/readme.md +++ b/readme.md @@ -65,6 +65,7 @@ Always use `C-g` when you mess up - `C-c n` search for pattern in a project (directory) - `C-xb` open list of buffers, then `x` to kill - 'C-x b' swith buffers +- 'M-x' load-theme # Spelling