Emacs: Harpoon package
This commit is contained in:
		
							parent
							
								
									0adcb44a85
								
							
						
					
					
						commit
						391e037d83
					
				| @ -214,6 +214,7 @@ Finish up | ||||
|    which-key | ||||
|    mono-complete | ||||
|    beframe | ||||
|    harpoon | ||||
|    ;; company | ||||
|    ;; lsp-mode | ||||
|    ;; lsp-ui | ||||
| @ -967,6 +968,34 @@ The theme of `C-x 4` bindings is that they operate on other windows, so this fun | ||||
| (global-set-key (kbd "C-x C-0") 'kill-buffer-and-window) | ||||
| 
 | ||||
| #+end_src | ||||
| 
 | ||||
| Harpoon lets you quickly switch between bookmarked buffers | ||||
| 
 | ||||
| #+begin_src emacs-lisp | ||||
| (global-set-key (kbd "C-c h <return>") 'harpoon-add-file) | ||||
| 
 | ||||
| ;; And the vanilla commands | ||||
| (global-set-key (kbd "C-c h f") 'harpoon-toggle-file) | ||||
| (global-set-key (kbd "C-c h h") 'harpoon-toggle-quick-menu) | ||||
| (global-set-key (kbd "C-c h c") 'harpoon-clear) | ||||
| 
 | ||||
| (global-set-key (kbd "M-1") 'harpoon-go-to-1) | ||||
| (global-set-key (kbd "M-2") 'harpoon-go-to-2) | ||||
| (global-set-key (kbd "M-3") 'harpoon-go-to-3) | ||||
| (global-set-key (kbd "M-4") 'harpoon-go-to-4) | ||||
| (global-set-key (kbd "M-5") 'harpoon-go-to-5) | ||||
| 
 | ||||
| (global-set-key (kbd "C-c h 1") 'harpoon-go-to-1) | ||||
| (global-set-key (kbd "C-c h 2") 'harpoon-go-to-2) | ||||
| (global-set-key (kbd "C-c h 3") 'harpoon-go-to-3) | ||||
| (global-set-key (kbd "C-c h 4") 'harpoon-go-to-4) | ||||
| (global-set-key (kbd "C-c h 5") 'harpoon-go-to-5) | ||||
| (global-set-key (kbd "C-c h 6") 'harpoon-go-to-6) | ||||
| (global-set-key (kbd "C-c h 7") 'harpoon-go-to-7) | ||||
| (global-set-key (kbd "C-c h 8") 'harpoon-go-to-8) | ||||
| (global-set-key (kbd "C-c h 9") 'harpoon-go-to-9) | ||||
| #+end_src | ||||
| 
 | ||||
| ** Windows | ||||
| *** Window Management | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user