Use single quotes
This commit is contained in:
		
							parent
							
								
									08d59860f5
								
							
						
					
					
						commit
						523dd1ad3a
					
				
							
								
								
									
										36
									
								
								vimrc
									
									
									
									
									
								
							
							
						
						
									
										36
									
								
								vimrc
									
									
									
									
									
								
							| @ -147,7 +147,7 @@ Plug 'Quramy/tsuquyomi', { 'for': 'typescript' } | |||||||
| Plug 'altercation/vim-colors-solarized' | Plug 'altercation/vim-colors-solarized' | ||||||
| " Plug 'reedes/vim-colors-pencil' | " Plug 'reedes/vim-colors-pencil' | ||||||
| " Plug 'whatyouhide/vim-gotham' | " Plug 'whatyouhide/vim-gotham' | ||||||
| if has("nvim") | if has('nvim') | ||||||
| 	Plug 'iCyMind/NeoSolarized' | 	Plug 'iCyMind/NeoSolarized' | ||||||
| endif | endif | ||||||
| " Plug 'noahfrederick/vim-hemisu' | " Plug 'noahfrederick/vim-hemisu' | ||||||
| @ -161,7 +161,7 @@ Plug '~/.vim/unmanaged-vim-plug/L9' | |||||||
| Plug '~/.vim/unmanaged-vim-plug/log' | Plug '~/.vim/unmanaged-vim-plug/log' | ||||||
| Plug '~/.vim/unmanaged-vim-plug/ScrollColor' | Plug '~/.vim/unmanaged-vim-plug/ScrollColor' | ||||||
| Plug '~/.vim/unmanaged-vim-plug/txtfmt' | Plug '~/.vim/unmanaged-vim-plug/txtfmt' | ||||||
| if !has("nvim") | if !has('nvim') | ||||||
| 	Plug '~/.vim/unmanaged-vim-plug/fontzoom' | 	Plug '~/.vim/unmanaged-vim-plug/fontzoom' | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| @ -213,7 +213,7 @@ set directory=~/.vimtmp | |||||||
| set modeline | set modeline | ||||||
| set modelines=1 | set modelines=1 | ||||||
| 
 | 
 | ||||||
| let g:nickID = "hasufell" | let g:nickID = 'hasufell' | ||||||
| 
 | 
 | ||||||
| " don't yank to buffer on deletion | " don't yank to buffer on deletion | ||||||
| " vnoremap d "_d | " vnoremap d "_d | ||||||
| @ -246,10 +246,10 @@ else | |||||||
| 	colorscheme solarized | 	colorscheme solarized | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| if has("nvim") | if has('nvim') | ||||||
| 	if exists('g:GtkGuiLoaded') | 	if exists('g:GtkGuiLoaded') | ||||||
| 		let g:neosolarized_contrast = "normal" | 		let g:neosolarized_contrast = 'normal' | ||||||
| 		let g:neosolarized_visibility = "normal" | 		let g:neosolarized_visibility = 'normal' | ||||||
| 		let g:neosolarized_vertSplitBgTrans = 0 | 		let g:neosolarized_vertSplitBgTrans = 0 | ||||||
| 		let g:neosolarized_bold = 1 | 		let g:neosolarized_bold = 1 | ||||||
| 		let g:neosolarized_underline = 1 | 		let g:neosolarized_underline = 1 | ||||||
| @ -257,8 +257,8 @@ if has("nvim") | |||||||
| 		set background=dark | 		set background=dark | ||||||
| 		colorscheme NeoSolarized | 		colorscheme NeoSolarized | ||||||
| 	else | 	else | ||||||
| 		let g:neosolarized_contrast = "normal" | 		let g:neosolarized_contrast = 'normal' | ||||||
| 		let g:neosolarized_visibility = "normal" | 		let g:neosolarized_visibility = 'normal' | ||||||
| 		let g:neosolarized_vertSplitBgTrans = 0 | 		let g:neosolarized_vertSplitBgTrans = 0 | ||||||
| 		let g:neosolarized_bold = 1 | 		let g:neosolarized_bold = 1 | ||||||
| 		let g:neosolarized_underline = 1 | 		let g:neosolarized_underline = 1 | ||||||
| @ -278,7 +278,7 @@ fu! DisableBr() | |||||||
| 	set nolist  " list disables linebreak | 	set nolist  " list disables linebreak | ||||||
| 	set textwidth=0 | 	set textwidth=0 | ||||||
| 	set wrapmargin=0 | 	set wrapmargin=0 | ||||||
| 	set fo-=t | 	set formatoptions-=t | ||||||
| endfu | endfu | ||||||
| 
 | 
 | ||||||
| " Disable line breaks for all file types | " Disable line breaks for all file types | ||||||
| @ -287,15 +287,15 @@ au BufNewFile,BufRead *.* call DisableBr() | |||||||
| 
 | 
 | ||||||
| " ==========copy/paste=========== | " ==========copy/paste=========== | ||||||
| function! Paste(mode) | function! Paste(mode) | ||||||
| 	if a:mode == "v" | 	if a:mode == 'v' | ||||||
| 		normal gv | 		normal gv | ||||||
| 		normal "_d | 		normal "_d | ||||||
| 		normal "+gP | 		normal "+gP | ||||||
| 		normal l | 		normal l | ||||||
| 	elseif a:mode == "i" | 	elseif a:mode == 'i' | ||||||
| 		set virtualedit=all | 		set virtualedit=all | ||||||
| 		normal `^"+gP | 		normal `^"+gP | ||||||
| 		let &virtualedit = "" | 		let &virtualedit = '' | ||||||
| 	endif | 	endif | ||||||
| endfunction | endfunction | ||||||
| 
 | 
 | ||||||
| @ -304,7 +304,7 @@ endfunction | |||||||
| function! Select() | function! Select() | ||||||
| 	set virtualedit=all | 	set virtualedit=all | ||||||
| 	normal `^ggVG | 	normal `^ggVG | ||||||
| 	let &virtualedit = "" | 	let &virtualedit = '' | ||||||
| endfunction | endfunction | ||||||
| " ======================= | " ======================= | ||||||
| 
 | 
 | ||||||
| @ -353,7 +353,7 @@ endfun | |||||||
| 
 | 
 | ||||||
| " comment hiding | " comment hiding | ||||||
| func! IsComment( lnum ) | func! IsComment( lnum ) | ||||||
| 	return synIDattr(synID(a:lnum, match(getline(a:lnum),'\S')+1, 1),"name") =~? 'comment' | 	return synIDattr(synID(a:lnum, match(getline(a:lnum),'\S')+1, 1),'name') =~? 'comment' | ||||||
| endfun | endfun | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| @ -394,13 +394,13 @@ endfunction | |||||||
| " vim macro to jump to devhelp topics. | " vim macro to jump to devhelp topics. | ||||||
| """""""""""""""""""""""""""""" | """""""""""""""""""""""""""""" | ||||||
| function! DevHelpCurrentWord() | function! DevHelpCurrentWord() | ||||||
|         let word = expand("<cword>") |         let word = expand('<cword>') | ||||||
|         exe "!devhelp -s " . word . " &" |         exe '!devhelp -s ' . word . ' &' | ||||||
| endfunction | endfunction | ||||||
| 
 | 
 | ||||||
| function! ManCurrentWord() | function! ManCurrentWord() | ||||||
|         let word = expand("<cword>") |         let word = expand('<cword>') | ||||||
|         exe "!man 3 " . word |         exe '!man 3 ' . word | ||||||
| endfunction | endfunction | ||||||
| 
 | 
 | ||||||
| " vim:foldmethod=marker:foldlevel=0 | " vim:foldmethod=marker:foldlevel=0 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user