Autocmd fix for :Py
This commit is contained in:
		
							parent
							
								
									efd628cde1
								
							
						
					
					
						commit
						ae98c4e34d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -4,7 +4,7 @@
 | 
			
		|||
 | 
			
		||||
-- These should be self-explanatory
 | 
			
		||||
vim.api.nvim_create_user_command('Cd', 'cd %:h', { desc = 'Change directory to the current file' })
 | 
			
		||||
vim.api.nvim_create_user_command('Py', 'python %', { desc = 'Execute python file' })
 | 
			
		||||
vim.api.nvim_create_user_command('Py', '!python %', { desc = 'Execute python file' })
 | 
			
		||||
 | 
			
		||||
-- Instantly move help window to the right
 | 
			
		||||
-- This is almost certainly a hacky way to do this)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue