mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 19:12:38 +00:00 
			
		
		
		
	treewide: begin restructuring the module tree
This commit is contained in:
		
					parent
					
						
							
								e1835f6c46
							
						
					
				
			
			
				commit
				
					
						7c730a78e5
					
				
			
		
					 254 changed files with 749 additions and 664 deletions
				
			
		
							
								
								
									
										20
									
								
								modules/plugins/tabline/nvim-bufferline/nvim-bufferline.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								modules/plugins/tabline/nvim-bufferline/nvim-bufferline.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,20 @@ | |||
| {lib, ...}: let | ||||
|   inherit (lib.options) mkEnableOption; | ||||
|   inherit (lib.nvim.binds) mkMappingOption; | ||||
| in { | ||||
|   options.vim.tabline.nvimBufferline = { | ||||
|     enable = mkEnableOption "neovim bufferline"; | ||||
| 
 | ||||
|     mappings = { | ||||
|       closeCurrent = mkMappingOption "Close buffer" null; | ||||
|       cycleNext = mkMappingOption "Next buffer" "<leader>bn"; | ||||
|       cyclePrevious = mkMappingOption "Previous buffer" "<leader>bp"; | ||||
|       pick = mkMappingOption "Pick buffer" "<leader>bc"; | ||||
|       sortByExtension = mkMappingOption "Sort buffers by extension" "<leader>bse"; | ||||
|       sortByDirectory = mkMappingOption "Sort buffers by directory" "<leader>bsd"; | ||||
|       sortById = mkMappingOption "Sort buffers by ID" "<leader>bsi"; | ||||
|       moveNext = mkMappingOption "Move next buffer" "<leader>bmn"; | ||||
|       movePrevious = mkMappingOption "Move previous buffer" "<leader>bmp"; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue