added fzf support
This commit is contained in:
		
							parent
							
								
									20a42679a8
								
							
						
					
					
						commit
						d2a011e151
					
				
					 2 changed files with 10 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -63,9 +63,6 @@ set noswapfile "disables creation of swap files
 | 
			
		|||
	"adds a ruler to the side of the screen
 | 
			
		||||
	set number
 | 
			
		||||
 | 
			
		||||
	"makes the ruler show how many lines away a given line is from your cursor
 | 
			
		||||
	set relativenumber
 | 
			
		||||
 | 
			
		||||
	"displays the coordinates of your cursour in the statusbar
 | 
			
		||||
	set ruler
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										10
									
								
								zsh/.zshrc
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								zsh/.zshrc
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -190,3 +190,13 @@ PROMPT='%F{cyan}[%n@%m]%f%F{red}├────┤%f${vcs_info_msg_0_}
 | 
			
		|||
 | 
			
		||||
	# export grep settings
 | 
			
		||||
	alias grep="grep $GREP_OPTIONS"
 | 
			
		||||
 | 
			
		||||
#fzf stuff
 | 
			
		||||
#zsh key bindings (different distros put these in different places.)
 | 
			
		||||
	source $(find /usr/share -path '*fzf/*key-bindings.zsh')
 | 
			
		||||
	#zsh completions, if it exists.
 | 
			
		||||
	testPath = $(find /usr/share -path '*fzf/*completion.zsh')
 | 
			
		||||
	if test $(echo $testPath | wc -c) -ne 0
 | 
			
		||||
	then
 | 
			
		||||
		source $testPath
 | 
			
		||||
	fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue