add nvim surround
This commit is contained in:
		
							
								
								
									
										14
									
								
								nvim/lua/plugins/surround.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								nvim/lua/plugins/surround.lua
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
return {
 | 
			
		||||
  "echasnovski/mini.surround",
 | 
			
		||||
  opts = {
 | 
			
		||||
    mappings = {
 | 
			
		||||
      add = "gsa", -- Add surrounding in Normal and Visual modes
 | 
			
		||||
      delete = "gsd", -- Delete surrounding
 | 
			
		||||
      find = "gsf", -- Find surrounding (to the right)
 | 
			
		||||
      find_left = "gsF", -- Find surrounding (to the left)
 | 
			
		||||
      highlight = "gsh", -- Highlight surrounding
 | 
			
		||||
      replace = "gsr", -- Replace surrounding
 | 
			
		||||
      update_n_lines = "gsn", -- Update `n_lines`
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user