mirror of
				https://tildegit.org/ben/dotfiles.git
				synced 2025-08-10 05:02:03 +00:00 
			
		
		
		
	add vim -> nvim wrapper function
This commit is contained in:
		
							parent
							
								
									e1c64477bd
								
							
						
					
					
						commit
						cc9935fcac
					
				
							
								
								
									
										7
									
								
								fish/.config/fish/functions/vim.fish
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								fish/.config/fish/functions/vim.fish
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
function vim
 | 
			
		||||
	if test -x (which nvim)
 | 
			
		||||
nvim $argv
 | 
			
		||||
else
 | 
			
		||||
vim $argv
 | 
			
		||||
end
 | 
			
		||||
end
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user