equal
deleted
inserted
replaced
112 ;; syntax highlighting |
112 ;; syntax highlighting |
113 (setq font-lock-maximum-decoration t) |
113 (setq font-lock-maximum-decoration t) |
114 (global-font-lock-mode 1 t) |
114 (global-font-lock-mode 1 t) |
115 |
115 |
116 ;; ---------------------------------------------------------------------- |
116 ;; ---------------------------------------------------------------------- |
117 ;; selecting |
117 ;; highlight selected text |
118 |
118 |
119 (transient-mark-mode 1) ; 1/-1, when the mark is active, the region is highlighted. |
119 (transient-mark-mode 1) ; 1/-1, when the mark is active, the region is highlighted. |
120 (delete-selection-mode 1) ; 1/-1 |
120 (delete-selection-mode 1) ; 1/-1 |
121 |
|
122 ;; Order of next item is important. |
121 ;; Order of next item is important. |
123 (setq pc-select-selection-keys-only t) ; To avoid some key bindings as F6, etc. |
122 (setq pc-select-selection-keys-only t) ; To avoid some key bindings as F6, etc. |
124 (pc-selection-mode) |
123 (pc-selection-mode) |
125 |
124 |
126 ;; ---------------------------------------------------------------------- |
125 ;; ---------------------------------------------------------------------- |
197 (global-set-key (kbd "\e\eg") 'goto-line) |
196 (global-set-key (kbd "\e\eg") 'goto-line) |
198 (global-set-key (kbd "\e\er") 'query-replace-regexp) |
197 (global-set-key (kbd "\e\er") 'query-replace-regexp) |
199 |
198 |
200 ;; (global-set-key [language-change] 'ignore) |
199 ;; (global-set-key [language-change] 'ignore) |
201 |
200 |
202 (global-set-key (kbd "C-x C-d") 'dired) |
|
203 |
|
204 ;; ====================================================================== |
201 ;; ====================================================================== |
205 ;; Coding system, charset, locale, lang. |
202 ;; Coding system, charset, locale, lang. |
206 |
|
207 ; Подготовка к использованию соответствующих кодовых страниц. |
203 ; Подготовка к использованию соответствующих кодовых страниц. |
208 (codepage-setup 866) |
204 (codepage-setup 866) |
209 (codepage-setup 1251) |
205 (codepage-setup 1251) |
210 |
206 |
211 ;; Comment because prefer-coding-system will be ignored. |
207 ;; Comment because prefer-coding-system will be ignored. |