mirror of
				https://github.com/mitchell/dotfiles.git
				synced 2025-11-03 21:25:26 +00:00 
			
		
		
		
	Add wiki ft autocmd group; Thicken kitty term's font on macos
This commit is contained in:
		
							parent
							
								
									502675d0a4
								
							
						
					
					
						commit
						003cfdd0bd
					
				| 
						 | 
				
			
			@ -678,7 +678,7 @@ macos_quit_when_last_window_closed yes
 | 
			
		|||
#: Disable this if you want kitty top-level (OS) windows to not be
 | 
			
		||||
#: resizable on macOS.
 | 
			
		||||
 | 
			
		||||
# macos_thicken_font 0
 | 
			
		||||
macos_thicken_font 0.5
 | 
			
		||||
 | 
			
		||||
#: Draw an extra border around the font with the given width, to
 | 
			
		||||
#: increase legibility at small font sizes. For example, a value of
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										11
									
								
								.vimrc
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								.vimrc
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -123,8 +123,15 @@ let g:vimwiki_list = [{'path': '/keybase/private/mjfs/wiki'}]
 | 
			
		|||
 | 
			
		||||
augroup js_ft
 | 
			
		||||
  au!
 | 
			
		||||
  autocmd BufNewFile,BufRead *.jsx    set ft=javascript
 | 
			
		||||
  autocmd BufNewFile,BufRead *.tsx    set ft=typescript
 | 
			
		||||
  autocmd BufNewFile,BufRead *.jsx	set ft=javascript
 | 
			
		||||
  autocmd BufNewFile,BufRead *.tsx	set ft=typescript
 | 
			
		||||
augroup END
 | 
			
		||||
 | 
			
		||||
augroup wiki_ft
 | 
			
		||||
  au!
 | 
			
		||||
  autocmd BufNewFile,BufRead *.wiki	set tabstop=20 shiftwidth=20 textwidth=80 expandtab
 | 
			
		||||
  autocmd BufNewFile,BufRead *.wiki	Goyo 80
 | 
			
		||||
  autocmd BufNewFile,BufRead *.wiki	HardPencil
 | 
			
		||||
augroup END
 | 
			
		||||
 | 
			
		||||
if exists('$TMUX')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue