added map for inserting date, very useful for paper writing!
This commit is contained in:
		
							parent
							
								
									1ca050d4b2
								
							
						
					
					
						commit
						30bfc5db28
					
				@ -103,6 +103,9 @@ au BufNewFile ~/vimwiki/diary/*.md :silent 0r !~/.config/nvim/generate-vimwiki-d
 | 
			
		||||
 | 
			
		||||
let NERDTreeMapOpenInTab='<ENTER>'
 | 
			
		||||
 | 
			
		||||
" Insert Date
 | 
			
		||||
nnoremap <silent><leader>d :put=system('date +%d/%b/%Y')<CR>
 | 
			
		||||
 | 
			
		||||
" Tex
 | 
			
		||||
let g:vimtex_complete_enabled = 1
 | 
			
		||||
let g:livepreview_previewer = 'zathura'
 | 
			
		||||
@ -139,6 +142,7 @@ autocmd! User GoyoLeave Limelight!
 | 
			
		||||
 | 
			
		||||
" <TAB>: completion.
 | 
			
		||||
inoremap <expr><TAB>  pumvisible() ? "\<C-n>" : "\<TAB>"
 | 
			
		||||
 | 
			
		||||
" Switching windows
 | 
			
		||||
nnoremap <A-h> <C-w>h
 | 
			
		||||
nnoremap <A-j> <C-w>j
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user