Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mohcine Chraibi
san_emacs
Commits
a223c6d0
Commit
a223c6d0
authored
May 01, 2020
by
santu pham
Browse files
fixed bug emacs26
parent
2ea7eb50
Pipeline
#35800
failed with stage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
init.el
View file @
a223c6d0
...
...
@@ -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
))
...
...
init.sh
100644 → 100755
View file @
a223c6d0
...
...
@@ -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 emacs2
5
if
!
[
-x
"
$(
command
-v
emacs2
5
)
"
]
;
then
echo
"install emacs2
5
"
# install emacs2
6
if
!
[
-x
"
$(
command
-v
emacs2
6
)
"
]
;
then
echo
"install emacs2
6
"
sudo
add-apt-repository
-y
ppa:kelleyk/emacs
sudo
apt-get update
sudo
apt-get
install
-y
emacs2
5
sudo
apt-get
install
-y
emacs2
6
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=
\"
emacs2
5
\"
"
>>
~/.bashrc
echo
"alias emacs=
\"
emacs2
5
\"
"
>>
~/.bashrc
echo
"alias em=
\"
emacs2
6
\"
"
>>
~/.bashrc
echo
"alias emacs=
\"
emacs2
6
\"
"
>>
~/.bashrc
.
~/.bashrc
fi
# .. and for zsh
if
[
-f
~/.zshrc
]
;
then
echo
"make zsh alias em"
echo
"alias em=
\"
emacs2
5
\"
"
>>
~/.zshrc
echo
"alias emacs=
\"
emacs2
5
\"
"
>>
~/.zshrc
echo
"alias em=
\"
emacs2
6
\"
"
>>
~/.zshrc
echo
"alias emacs=
\"
emacs2
6
\"
"
>>
~/.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 ..."
emacs2
5
-nw
emacs2
6
-nw
readme.md
View file @
a223c6d0
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment