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>
 | 
			
		||||
		<family>monospace</family>
 | 
			
		||||
		<prefer>
 | 
			
		||||
            <family>JetBrainsMono Nerd Font Mono</family>
 | 
			
		||||
			<family>BlexMono Nerd Font Mono</family>
 | 
			
		||||
			<family>Joy Pixels</family>
 | 
			
		||||
			<family>Noto Color Emoji</family>
 | 
			
		||||
 
 | 
			
		||||
@@ -54,20 +54,18 @@ endsnippet
 | 
			
		||||
snippet ,ol "Enumeration" A
 | 
			
		||||
\begin{enumerate}
 | 
			
		||||
	\item $1
 | 
			
		||||
	$2
 | 
			
		||||
\end{enumerate}
 | 
			
		||||
endsnippet
 | 
			
		||||
 | 
			
		||||
snippet ,ul "Itemization" A
 | 
			
		||||
\begin{itemize}
 | 
			
		||||
	\item $1
 | 
			
		||||
	$2
 | 
			
		||||
\end{itemize}
 | 
			
		||||
endsnippet
 | 
			
		||||
 | 
			
		||||
snippet ,li "List element" A
 | 
			
		||||
 | 
			
		||||
\item $1
 | 
			
		||||
$2
 | 
			
		||||
endsnippet
 | 
			
		||||
 | 
			
		||||
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 'ryanoasis/vim-devicons' " Enable Icons for vim
 | 
			
		||||
Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' } " Color Preview
 | 
			
		||||
Plug 'tomasiser/vim-code-dark'
 | 
			
		||||
Plug 'tomasiser/vim-code-dark' " adding colorscheme
 | 
			
		||||
call plug#end()
 | 
			
		||||
 | 
			
		||||
" Rainbow
 | 
			
		||||
au FileType java,c,cpp,py call rainbow#load()
 | 
			
		||||
au FileType java,c,cpp,py,h call rainbow#load()
 | 
			
		||||
 | 
			
		||||
" You complete me
 | 
			
		||||
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"
 | 
			
		||||
 | 
			
		||||
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