.emacs-my
changeset 1653 c9e9a3912a95
parent 1652 e72b61b36451
child 1654 984c15b493ab
equal deleted inserted replaced
1652:e72b61b36451 1653:c9e9a3912a95
  1116   nil
  1116   nil
  1117   )
  1117   )
  1118  )
  1118  )
  1119 
  1119 
  1120 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1120 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
       
  1121 (message "ibuffer")
       
  1122 
       
  1123 ;; buffer-menu better then buffer-list, but ibuffer much better.
       
  1124 (global-set-key "\C-x\C-b" 'ibuffer)
       
  1125 (global-set-key [s-insert] 'ibuffer)
       
  1126 
       
  1127 (setq ibuffer-expert t)
       
  1128 (setq ibuffer-use-other-window nil)
       
  1129 (setq ibuffer-default-shrink-to-minimum-size nil)
       
  1130 (setq ibuffer-truncate-lines t)
       
  1131 (setq ibuffer-default-sorting-mode 'recency)
       
  1132 
       
  1133 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1121 (message "selecting/switching, creating/killing buffers, open file")
  1134 (message "selecting/switching, creating/killing buffers, open file")
  1122 (message "ivy, ido, ffap")
  1135 (message "ivy, ido, ffap")
  1123 
  1136 
  1124 ;; (add-hook 'find-file-hook #'make-frame-visible)
  1137 ;; (add-hook 'find-file-hook #'make-frame-visible)
  1125 
  1138 
  1209 (setq uniquify-after-kill-buffer-p t)
  1222 (setq uniquify-after-kill-buffer-p t)
  1210 (setq uniquify-strip-common-suffix t)
  1223 (setq uniquify-strip-common-suffix t)
  1211 
  1224 
  1212 (setq read-buffer-completion-ignore-case t)
  1225 (setq read-buffer-completion-ignore-case t)
  1213 (setq read-file-name-completion-ignore-case t)
  1226 (setq read-file-name-completion-ignore-case t)
  1214 
       
  1215 ;; buffer-menu better then buffer-list, but ibuffer much better.
       
  1216 (global-set-key "\C-x\C-b" 'ibuffer)
       
  1217 (global-set-key [s-insert] 'ibuffer)
       
  1218 
  1227 
  1219 (unless (featurep 'smex)
  1228 (unless (featurep 'smex)
  1220   (require 'icomplete)
  1229   (require 'icomplete)
  1221   (icomplete-mode 1))
  1230   (icomplete-mode 1))
  1222 (setq icomplete-with-completion-tables t)
  1231 (setq icomplete-with-completion-tables t)