mirror of
				https://github.com/WarrenHood/dotfiles.git
				synced 2025-11-04 07:58:41 +00:00 
			
		
		
		
	Add fullscreen keybind to Neovide
This commit is contained in:
		
							parent
							
								
									8a1b5276a6
								
							
						
					
					
						commit
						4edbe3c7ee
					
				| 
						 | 
				
			
			@ -91,3 +91,11 @@ smap <silent><expr> <C-k> luasnip#jumpable(1) ? '<Plug>luasnip-jump-next' : '<Ta
 | 
			
		|||
imap <silent><expr> <C-j> luasnip#jumpable(-1) ? '<Plug>luasnip-jump-prev' : '<S-Tab>'
 | 
			
		||||
smap <silent><expr> <C-j> luasnip#jumpable(-1) ? '<Plug>luasnip-jump-prev' : '<S-Tab>'
 | 
			
		||||
]]
 | 
			
		||||
 | 
			
		||||
-- GUI (Neovide
 | 
			
		||||
-- Toggle fullscreen in Neovide with Alt + Enter)
 | 
			
		||||
if vim.g.neovide then
 | 
			
		||||
    map({"n", "i", "t"}, "<A-CR>", function ()
 | 
			
		||||
        vim.g.neovide_fullscreen = not vim.g.neovide_fullscreen
 | 
			
		||||
    end)
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue