diff options
author | Case Duckworth | 2021-09-30 23:17:21 -0500 |
---|---|---|
committer | Case Duckworth | 2021-09-30 23:17:21 -0500 |
commit | 8c14455783a84941616001e1b08e12baeb405a12 (patch) | |
tree | 9f2e96208b8fa397139538cc1ee8f5b5746e09ea | |
parent | Add visual-fill-column (diff) | |
download | emacs-8c14455783a84941616001e1b08e12baeb405a12.tar.gz emacs-8c14455783a84941616001e1b08e12baeb405a12.zip |
Remove custom bindings for winum
The defaults are fine
-rw-r--r-- | init.el | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/init.el b/init.el index 5cd1c8d..366f0f1 100644 --- a/init.el +++ b/init.el | |||
@@ -2307,24 +2307,6 @@ If used with a numeric prefix argument N, N backticks will be inserted." | |||
2307 | winum-ignored-buffers '(" *which-key*") | 2307 | winum-ignored-buffers '(" *which-key*") |
2308 | winum-format " %s") | 2308 | winum-format " %s") |
2309 | 2309 | ||
2310 | (when-unfocused winum-map-keys | ||
2311 | (defvar winum--keys-mapped nil | ||
2312 | "Whether `winum' keys have been mapped already.") | ||
2313 | (when (and (not winum--keys-mapped) | ||
2314 | (display-graphic-p)) | ||
2315 | (:with-map winum-keymap | ||
2316 | (:bind "M-0" #'winum-select-window-0-or-10 | ||
2317 | "M-1" #'winum-select-window-1 | ||
2318 | "M-2" #'winum-select-window-2 | ||
2319 | "M-3" #'winum-select-window-3 | ||
2320 | "M-4" #'winum-select-window-4 | ||
2321 | "M-5" #'winum-select-window-5 | ||
2322 | "M-6" #'winum-select-window-6 | ||
2323 | "M-7" #'winum-select-window-7 | ||
2324 | "M-8" #'winum-select-window-8 | ||
2325 | "M-9" #'winum-select-window-9)) | ||
2326 | (setq winum--keys-mapped t))) | ||
2327 | |||
2328 | (winum-mode +1)) | 2310 | (winum-mode +1)) |
2329 | 2311 | ||
2330 | (setup (:straight xr)) | 2312 | (setup (:straight xr)) |