36 lines
1017 B
Markdown
36 lines
1017 B
Markdown
# to use this repo
|
|
1. after installing emacs do some useful terminal magic
|
|
```sh
|
|
echo alias emacs=\'emacs -nw\' >> ~/.bashrc
|
|
source ~/.bashrc
|
|
```
|
|
this will help running emacs in terminal without "no gui found" errors
|
|
|
|
2. simply clone
|
|
```sh
|
|
git clone https://git.iovchinnikov.ru/ivan-igorevich/emacs-config.git ~/.emacs-ii
|
|
```
|
|
|
|
3. and tell emacs where to find config file and libraries
|
|
```lisp
|
|
(require 'package)
|
|
(load "~/.emacs-ii/emacs.el")
|
|
(let ((default-directory "~/.emacs-ii/emacs.d"))
|
|
(normal-top-level-add-subdirs-to-load-path))
|
|
```
|
|
|
|
# if spellcheck needed
|
|
download dictionaries and install them
|
|
```sh
|
|
mkdir -p /tmp/nbdict && cd /tmp/nbdict
|
|
wget ftp://ftp.gnu.org/gnu/aspell/dict/ru/aspell6-ru-0.99f7-1.tar.bz2
|
|
tar -jxf aspell6-ru-0.99f7-1.tar.bz2
|
|
cd aspell6-ru-0.99f7-1/
|
|
./configure
|
|
# Здесь мы должны увидеть что-то типа этого:
|
|
# Finding Dictionary file location ... /usr/lib/aspell
|
|
# Finding Data file location ... /usr/lib/aspell
|
|
make
|
|
sudo make install
|
|
```
|