[Emacs] Fix keybinds for which-key
This commit is contained in:
		
							parent
							
								
									6ad3203a8e
								
							
						
					
					
						commit
						4c926eb911
					
				@ -5568,7 +5568,7 @@ configuration, it should be automatically enabled when entering
 | 
				
			|||||||
  (phundrak/major-leader-key
 | 
					  (phundrak/major-leader-key
 | 
				
			||||||
   :keymaps 'stumpwm-mode-map
 | 
					   :keymaps 'stumpwm-mode-map
 | 
				
			||||||
   :packages 'stumpwm-mode
 | 
					   :packages 'stumpwm-mode
 | 
				
			||||||
   "e"  '(:ignore :which-key "eval")
 | 
					   "e"  '(:ignore t :which-key "eval")
 | 
				
			||||||
   "ee" #'stumpwm-eval-last-sexp
 | 
					   "ee" #'stumpwm-eval-last-sexp
 | 
				
			||||||
   "ed" #'stumpwm-eval-defun
 | 
					   "ed" #'stumpwm-eval-defun
 | 
				
			||||||
   "er" #'stumpwm-eval-region))
 | 
					   "er" #'stumpwm-eval-region))
 | 
				
			||||||
@ -5619,10 +5619,10 @@ comma.
 | 
				
			|||||||
 :keymaps 'emacs-lisp-mode-map
 | 
					 :keymaps 'emacs-lisp-mode-map
 | 
				
			||||||
 "'"   #'ielm
 | 
					 "'"   #'ielm
 | 
				
			||||||
 "c"   '(emacs-lisp-byte-compile :which-key "Byte compile")
 | 
					 "c"   '(emacs-lisp-byte-compile :which-key "Byte compile")
 | 
				
			||||||
 "C"   '(:ignore :which-key "checkdoc")
 | 
					 "C"   '(:ignore t :which-key "checkdoc")
 | 
				
			||||||
 "Cc"  #'checkdoc
 | 
					 "Cc"  #'checkdoc
 | 
				
			||||||
 "Cs"  #'checkdoc-start
 | 
					 "Cs"  #'checkdoc-start
 | 
				
			||||||
 "e"   '(:ignore :which-key "eval")
 | 
					 "e"   '(:ignore t :which-key "eval")
 | 
				
			||||||
 "eb"  #'eval-buffer
 | 
					 "eb"  #'eval-buffer
 | 
				
			||||||
 "ed"  #'eval-defun
 | 
					 "ed"  #'eval-defun
 | 
				
			||||||
 "ee"  #'eval-last-sexp
 | 
					 "ee"  #'eval-last-sexp
 | 
				
			||||||
@ -5736,7 +5736,7 @@ comma.
 | 
				
			|||||||
   :keymaps 'python-mode-map
 | 
					   :keymaps 'python-mode-map
 | 
				
			||||||
   :infix "t"
 | 
					   :infix "t"
 | 
				
			||||||
   :packages 'pytest
 | 
					   :packages 'pytest
 | 
				
			||||||
   ""  '(:ignore :which-key "test")
 | 
					   ""  '(:ignore t :which-key "test")
 | 
				
			||||||
   "a" #'python-pytest
 | 
					   "a" #'python-pytest
 | 
				
			||||||
   "f" #'python-pytest-file-dwim
 | 
					   "f" #'python-pytest-file-dwim
 | 
				
			||||||
   "F" #'python-pytest-file
 | 
					   "F" #'python-pytest-file
 | 
				
			||||||
@ -5780,7 +5780,7 @@ comma.
 | 
				
			|||||||
   :keymaps 'python-mode-map
 | 
					   :keymaps 'python-mode-map
 | 
				
			||||||
   :packages 'pipenv
 | 
					   :packages 'pipenv
 | 
				
			||||||
   :infix "e"
 | 
					   :infix "e"
 | 
				
			||||||
   ""  '(:ignore :which-key "pipenv")
 | 
					   ""  '(:ignore t :which-key "pipenv")
 | 
				
			||||||
   "a" #'pipenv-activate
 | 
					   "a" #'pipenv-activate
 | 
				
			||||||
   "d" #'pipenv-deactivate
 | 
					   "d" #'pipenv-deactivate
 | 
				
			||||||
   "i" #'pipenv-install
 | 
					   "i" #'pipenv-install
 | 
				
			||||||
@ -5838,7 +5838,7 @@ comma.
 | 
				
			|||||||
    :packages 'pyimport
 | 
					    :packages 'pyimport
 | 
				
			||||||
    :keymaps 'python-mode-map
 | 
					    :keymaps 'python-mode-map
 | 
				
			||||||
    :infix "i"
 | 
					    :infix "i"
 | 
				
			||||||
    ""  '(:ignore :which-key "imports")
 | 
					    ""  '(:ignore t :which-key "imports")
 | 
				
			||||||
    "i" #'pyimport-insert-missing
 | 
					    "i" #'pyimport-insert-missing
 | 
				
			||||||
    "r" #'pyimport-remove-unused))
 | 
					    "r" #'pyimport-remove-unused))
 | 
				
			||||||
#+end_src
 | 
					#+end_src
 | 
				
			||||||
@ -5852,7 +5852,7 @@ comma.
 | 
				
			|||||||
   :keymaps 'python-mode-map
 | 
					   :keymaps 'python-mode-map
 | 
				
			||||||
   :packages 'py-isort
 | 
					   :packages 'py-isort
 | 
				
			||||||
   :infix "i"
 | 
					   :infix "i"
 | 
				
			||||||
   ""  '(:ignore :which-key "imports")
 | 
					   ""  '(:ignore t :which-key "imports")
 | 
				
			||||||
   "s" #'py-isort-buffer
 | 
					   "s" #'py-isort-buffer
 | 
				
			||||||
   "R" #'py-isort-region))
 | 
					   "R" #'py-isort-region))
 | 
				
			||||||
#+end_src
 | 
					#+end_src
 | 
				
			||||||
@ -5874,7 +5874,7 @@ comma.
 | 
				
			|||||||
   :keymaps 'python-mode-map
 | 
					   :keymaps 'python-mode-map
 | 
				
			||||||
   :packages 'sphinx-doc
 | 
					   :packages 'sphinx-doc
 | 
				
			||||||
   :infix "S"
 | 
					   :infix "S"
 | 
				
			||||||
   ""  '(:ignore :which-key "sphinx-doc")
 | 
					   ""  '(:ignore t :which-key "sphinx-doc")
 | 
				
			||||||
   "e" #'sphinx-doc-mode
 | 
					   "e" #'sphinx-doc-mode
 | 
				
			||||||
   "d" #'sphinx-doc))
 | 
					   "d" #'sphinx-doc))
 | 
				
			||||||
#+end_src
 | 
					#+end_src
 | 
				
			||||||
@ -5891,7 +5891,7 @@ comma.
 | 
				
			|||||||
   :keymaps 'cython-mode-map
 | 
					   :keymaps 'cython-mode-map
 | 
				
			||||||
   :packages 'cython-mode
 | 
					   :packages 'cython-mode
 | 
				
			||||||
   :infix "c"
 | 
					   :infix "c"
 | 
				
			||||||
   ""  '(:ignore :which-key "cython")
 | 
					   ""  '(:ignore t :which-key "cython")
 | 
				
			||||||
   "c" #'cython-compile))
 | 
					   "c" #'cython-compile))
 | 
				
			||||||
#+end_src
 | 
					#+end_src
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -5943,7 +5943,7 @@ development. First, let’s install the most important package,
 | 
				
			|||||||
  (phundrak/major-leader-key
 | 
					  (phundrak/major-leader-key
 | 
				
			||||||
   :keymaps 'rustic-mode-map
 | 
					   :keymaps 'rustic-mode-map
 | 
				
			||||||
   :packages 'rustic
 | 
					   :packages 'rustic
 | 
				
			||||||
   "b"  '(:ignore :which-key "build")
 | 
					   "b"  '(:ignore t :which-key "build")
 | 
				
			||||||
   "bb" #'rustic-cargo-build
 | 
					   "bb" #'rustic-cargo-build
 | 
				
			||||||
   "bB" #'rustic-cargo-bench
 | 
					   "bB" #'rustic-cargo-bench
 | 
				
			||||||
   "bc" #'rustic-cargo-check
 | 
					   "bc" #'rustic-cargo-check
 | 
				
			||||||
@ -5953,13 +5953,13 @@ development. First, let’s install the most important package,
 | 
				
			|||||||
   "bn" #'rustic-cargo-new
 | 
					   "bn" #'rustic-cargo-new
 | 
				
			||||||
   "bo" #'rustic-cargo-outdated
 | 
					   "bo" #'rustic-cargo-outdated
 | 
				
			||||||
   "br" #'rustic-cargo-run
 | 
					   "br" #'rustic-cargo-run
 | 
				
			||||||
   "l"  '(:ignore :which-key "lsp")
 | 
					   "l"  '(:ignore t :which-key "lsp")
 | 
				
			||||||
   "la" #'lsp-execute-code-action
 | 
					   "la" #'lsp-execute-code-action
 | 
				
			||||||
   "lr" #'lsp-rename
 | 
					   "lr" #'lsp-rename
 | 
				
			||||||
   "lq" #'lsp-workspace-restart
 | 
					   "lq" #'lsp-workspace-restart
 | 
				
			||||||
   "lQ" #'lsp-workspace-shutdown
 | 
					   "lQ" #'lsp-workspace-shutdown
 | 
				
			||||||
   "ls" #'lsp-rust-analyzer-status
 | 
					   "ls" #'lsp-rust-analyzer-status
 | 
				
			||||||
   "t"  '(:ignore :which-key "cargo test")
 | 
					   "t"  '(:ignore t :which-key "cargo test")
 | 
				
			||||||
   "ta" #'rustic-cargo-test
 | 
					   "ta" #'rustic-cargo-test
 | 
				
			||||||
   "tt" #'rustic-cargo-current-test)
 | 
					   "tt" #'rustic-cargo-current-test)
 | 
				
			||||||
  :config
 | 
					  :config
 | 
				
			||||||
@ -6130,8 +6130,8 @@ development. First, let’s install the most important package,
 | 
				
			|||||||
    :keymaps 'rjsx-mode-map
 | 
					    :keymaps 'rjsx-mode-map
 | 
				
			||||||
    :infix "a"
 | 
					    :infix "a"
 | 
				
			||||||
    ""  '(:keymap lsp-command-map :which-key "lsp")
 | 
					    ""  '(:keymap lsp-command-map :which-key "lsp")
 | 
				
			||||||
    "=" '(:ignore :wk "format")
 | 
					    "=" '(:ignore t :wk "format")
 | 
				
			||||||
    "a" '(:ignore :which-key "actions"))
 | 
					    "a" '(:ignore t :which-key "actions"))
 | 
				
			||||||
  :config
 | 
					  :config
 | 
				
			||||||
  (setq js-chain-indent                  t
 | 
					  (setq js-chain-indent                  t
 | 
				
			||||||
        js2-basic-offset                 2
 | 
					        js2-basic-offset                 2
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user