Options à régler
;;; ******************** ;;; Load the custom.el (custom-set-variables '(pending-delete-mode t nil (pending-del)) '(line-number-mode t) '(font-lock-mode t nil (font-lock))) (custom-set-faces) (global-set-key [(meta q)] 'kill-this-buffer) (global-set-key [(control z)] 'undo) (global-set-key [(control c)] 'copy-primary-selection) (global-set-key [(control v)] 'yank-clipboard-selection) (global-set-key [(control x)] 'kill-primary-selection) (global-set-key [(control a)] 'mark-whole-buffer)
Autosave files
;;; ******************** ;;; Load the auto-save.el package, which lets you put all of your autosave ;;; files in one place, instead of scattering them around the file system. ;;; (setq auto-save-directory (expand-file-name "~/autosave/") auto-save-directory-fallback auto-save-directory auto-save-hash-p nil efs-auto-save t efs-auto-save-remotely nil ;; now that we have auto-save-timeout, let's crank this up ;; for better interactive response. auto-save-interval 2000 ) ;; We load this afterwards because it checks to make sure the ;; auto-save-directory exists (creating it if not) when it's loaded. (require 'auto-save)
Delete forward dans les fichiers XSL
(defun pb-xsl-mode-hook () (define-key xsl-mode-map "\177" 'delete-char)) (add-hook 'xsl-mode-hook 'pb-xsl-mode-hook)
Disable tab grouping
(custom-set-variables '(buffers-tab-filter-functions nil))