equal
deleted
inserted
replaced
1073 |
1073 |
1074 ;; buffer-menu better then buffer-list, but ibuffer much better. |
1074 ;; buffer-menu better then buffer-list, but ibuffer much better. |
1075 (global-set-key "\C-x\C-b" 'ibuffer) |
1075 (global-set-key "\C-x\C-b" 'ibuffer) |
1076 (global-set-key [s-insert] 'ibuffer) |
1076 (global-set-key [s-insert] 'ibuffer) |
1077 |
1077 |
1078 (require 'icomplete) |
1078 ;; `smex' is alternative for `icomplete'. |
1079 |
1079 ;; https://github.com/nonsequitur/smex/ |
1080 (icomplete-mode 1) |
1080 ;; It is based on `ido'. |
|
1081 (ignore-errors |
|
1082 (require 'smex) |
|
1083 (smex-initialize) |
|
1084 (global-set-key (kbd "M-X") 'smex)) |
|
1085 |
|
1086 (unless (featurep 'icomplete) |
|
1087 (require 'icomplete) |
|
1088 (icomplete-mode 1)) |
1081 (setq icomplete-with-completion-tables t) |
1089 (setq icomplete-with-completion-tables t) |
1082 |
|
1083 ;; Another alternative to `icomplete' is `smex' https://github.com/nonsequitur/smex/ |
|
1084 ;; which is based on `ido'. |
|
1085 |
1090 |
1086 (defun my--large-file-p () |
1091 (defun my--large-file-p () |
1087 "If buffer too large and my cause performance issue." |
1092 "If buffer too large and my cause performance issue." |
1088 (< large-file-warning-threshold (buffer-size))) |
1093 (< large-file-warning-threshold (buffer-size))) |
1089 |
1094 |