mirror of
				https://github.com/tiyn/dotfiles.git
				synced 2025-11-04 06:21:16 +01:00 
			
		
		
		
	several minor quality of life updates
- including better ultisnips for tex - battery icon changed when unknown - changing font to intellij-font
This commit is contained in:
		@@ -28,6 +28,7 @@
 | 
				
			|||||||
	<alias>
 | 
						<alias>
 | 
				
			||||||
		<family>monospace</family>
 | 
							<family>monospace</family>
 | 
				
			||||||
		<prefer>
 | 
							<prefer>
 | 
				
			||||||
 | 
					            <family>JetBrainsMono Nerd Font Mono</family>
 | 
				
			||||||
			<family>BlexMono Nerd Font Mono</family>
 | 
								<family>BlexMono Nerd Font Mono</family>
 | 
				
			||||||
			<family>Joy Pixels</family>
 | 
								<family>Joy Pixels</family>
 | 
				
			||||||
			<family>Noto Color Emoji</family>
 | 
								<family>Noto Color Emoji</family>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -54,20 +54,18 @@ endsnippet
 | 
				
			|||||||
snippet ,ol "Enumeration" A
 | 
					snippet ,ol "Enumeration" A
 | 
				
			||||||
\begin{enumerate}
 | 
					\begin{enumerate}
 | 
				
			||||||
	\item $1
 | 
						\item $1
 | 
				
			||||||
	$2
 | 
					 | 
				
			||||||
\end{enumerate}
 | 
					\end{enumerate}
 | 
				
			||||||
endsnippet
 | 
					endsnippet
 | 
				
			||||||
 | 
					
 | 
				
			||||||
snippet ,ul "Itemization" A
 | 
					snippet ,ul "Itemization" A
 | 
				
			||||||
\begin{itemize}
 | 
					\begin{itemize}
 | 
				
			||||||
	\item $1
 | 
						\item $1
 | 
				
			||||||
	$2
 | 
					 | 
				
			||||||
\end{itemize}
 | 
					\end{itemize}
 | 
				
			||||||
endsnippet
 | 
					endsnippet
 | 
				
			||||||
 | 
					
 | 
				
			||||||
snippet ,li "List element" A
 | 
					snippet ,li "List element" A
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\item $1
 | 
					\item $1
 | 
				
			||||||
$2
 | 
					 | 
				
			||||||
endsnippet
 | 
					endsnippet
 | 
				
			||||||
 | 
					
 | 
				
			||||||
snippet ,ref "Reference" A
 | 
					snippet ,ref "Reference" A
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -20,11 +20,11 @@ Plug 'frazrepo/vim-rainbow' " Colorized matching brackets
 | 
				
			|||||||
Plug 'junegunn/fzf.vim' " Quickly jump files using fzf
 | 
					Plug 'junegunn/fzf.vim' " Quickly jump files using fzf
 | 
				
			||||||
Plug 'ryanoasis/vim-devicons' " Enable Icons for vim
 | 
					Plug 'ryanoasis/vim-devicons' " Enable Icons for vim
 | 
				
			||||||
Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' } " Color Preview
 | 
					Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' } " Color Preview
 | 
				
			||||||
Plug 'tomasiser/vim-code-dark'
 | 
					Plug 'tomasiser/vim-code-dark' " adding colorscheme
 | 
				
			||||||
call plug#end()
 | 
					call plug#end()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" Rainbow
 | 
					" Rainbow
 | 
				
			||||||
au FileType java,c,cpp,py call rainbow#load()
 | 
					au FileType java,c,cpp,py,h call rainbow#load()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" You complete me
 | 
					" You complete me
 | 
				
			||||||
let g:ycm_global_ycm_extra_conf = '/home/tiynger/.config/nvim/ycm_extra_conf.py'
 | 
					let g:ycm_global_ycm_extra_conf = '/home/tiynger/.config/nvim/ycm_extra_conf.py'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -11,4 +11,4 @@ status=$(cat /sys/class/power_supply/"$1"/status)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
[ "$status" = "Charging" ] && color="#ffffff"
 | 
					[ "$status" = "Charging" ] && color="#ffffff"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
printf "%s%s\n" "$(echo "$status" | sed -e "s/,//;s/Discharging/🔋/;s/Not Charging/🛑/;s/Charging/🔌/;s/Unknown/♻️/;s/Full/⚡/;s/ 0*/ /g;s/ :/ /g")" "$warn" "$(echo "$capacity"  | sed -e 's/$/%/' ) "
 | 
					printf "%s%s\n" "$(echo "$status" | sed -e "s/,//;s/Discharging/🔋/;s/Not Charging/🛑/;s/Charging/🔌/;s/Unknown/🛑/;s/Full/⚡/;s/ 0*/ /g;s/ :/ /g")" "$warn" "$(echo "$capacity"  | sed -e 's/$/%/' ) "
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user