finally, mode-based cursor in vim, not ideal though since it cannot distinguish insert from replace, but still better than nothing
This commit is contained in:
		
							parent
							
								
									b4ae873b80
								
							
						
					
					
						commit
						31d82e3132
					
				
					 2 changed files with 6 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -12,12 +12,12 @@ scrollback_lines = 1000
 | 
			
		|||
search_wrap = true
 | 
			
		||||
icon_name = terminal
 | 
			
		||||
cursor_blink = off
 | 
			
		||||
cursor_shape = block
 | 
			
		||||
cursor_shape = underline
 | 
			
		||||
browser = chromium
 | 
			
		||||
size_hints = false
 | 
			
		||||
 | 
			
		||||
[colors]
 | 
			
		||||
#cursor = #fdf6e3
 | 
			
		||||
cursor = #fdf6e3
 | 
			
		||||
foreground = #839496
 | 
			
		||||
foreground_bold = #fdf6e3
 | 
			
		||||
background = rgba(0, 20, 26, 0.8)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										6
									
								
								vimrc
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								vimrc
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -23,10 +23,12 @@ set sidescroll=1
 | 
			
		|||
set noerrorbells visualbell t_vb=
 | 
			
		||||
 | 
			
		||||
" enforce 256 colours for ssh connections and VTE
 | 
			
		||||
if $TERM == 'xterm' || $TERM == 'screen' || exists("$SSH_CLIENT")
 | 
			
		||||
if $TERM =~ '^xterm.*$' || $TERM =~ '^rxvt-unicode.*$' || $TERM == '^screen.*$'
 | 
			
		||||
	let &t_SI .= "\<Esc>[6 q"
 | 
			
		||||
	let &t_EI .= "\<Esc>[4 q"
 | 
			
		||||
	let &t_Co=256
 | 
			
		||||
endif
 | 
			
		||||
if $LANG =~ '^.*UTF-8$' || $LANG =~ 'utf8$'
 | 
			
		||||
if $LANG =~ 'UTF-8$' || $LANG =~ 'utf8$'
 | 
			
		||||
	set termencoding=utf-8
 | 
			
		||||
	set encoding=utf-8
 | 
			
		||||
endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue