Compare commits
	
		
			No commits in common. "abbcd76178d83bb2fec612c1e90475c019c81ceb" and "851dc77481d9ae84df15e54742344a6e2ee4ba2b" have entirely different histories.
		
	
	
		
			abbcd76178
			...
			851dc77481
		
	
		
							
								
								
									
										16
									
								
								.vimrc
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								.vimrc
									
									
									
									
									
								
							| 
						 | 
					@ -378,9 +378,6 @@ set wildmenu
 | 
				
			||||||
set wildmode=longest,list,full
 | 
					set wildmode=longest,list,full
 | 
				
			||||||
set wildignore+=*/log/*,*.so,*.swp,*.zip,*/rdoc/*
 | 
					set wildignore+=*/log/*,*.so,*.swp,*.zip,*/rdoc/*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" Allow <tab> inserts in the command bar to autocomplete, e.g. see <leader>e
 | 
					 | 
				
			||||||
set wildcharm=<tab>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
if executable('rg')
 | 
					if executable('rg')
 | 
				
			||||||
    set grepprg=rg\ --vimgrep\ --hidden " Requires ripgrep to be installed.
 | 
					    set grepprg=rg\ --vimgrep\ --hidden " Requires ripgrep to be installed.
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
| 
						 | 
					@ -574,6 +571,9 @@ augroup END
 | 
				
			||||||
" Suspend vim process and return to the shell. Can return to vim with `fg`.
 | 
					" Suspend vim process and return to the shell. Can return to vim with `fg`.
 | 
				
			||||||
nnoremap <leader>z <c-z>
 | 
					nnoremap <leader>z <c-z>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					" Edit a file
 | 
				
			||||||
 | 
					nnoremap <leader>e :e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" Open the vimrc file for editing / reload vimrc file.
 | 
					" Open the vimrc file for editing / reload vimrc file.
 | 
				
			||||||
nnoremap <silent> <leader>ev :vsp $MYVIMRC<cr>
 | 
					nnoremap <silent> <leader>ev :vsp $MYVIMRC<cr>
 | 
				
			||||||
nnoremap <silent> <leader>pv :vsp ~/.vimrc.private<cr>
 | 
					nnoremap <silent> <leader>pv :vsp ~/.vimrc.private<cr>
 | 
				
			||||||
| 
						 | 
					@ -629,6 +629,8 @@ noremap <leader>aa "A
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" Backward replace word including cursor character.
 | 
					" Backward replace word including cursor character.
 | 
				
			||||||
noremap <leader>d cvb
 | 
					noremap <leader>d cvb
 | 
				
			||||||
 | 
					" Forward replace word.
 | 
				
			||||||
 | 
					noremap <leader>e cw
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" Allow fast pasting by accessing the system clipboard register.
 | 
					" Allow fast pasting by accessing the system clipboard register.
 | 
				
			||||||
noremap <leader>p "+p
 | 
					noremap <leader>p "+p
 | 
				
			||||||
| 
						 | 
					@ -760,10 +762,6 @@ call Cabbrev('wq', 'call WriteCurrentFileAndCreateCtagsThenQuit()')
 | 
				
			||||||
call Cabbrev('Wq', 'call WriteCurrentFileAndCreateCtagsThenQuit()')
 | 
					call Cabbrev('Wq', 'call WriteCurrentFileAndCreateCtagsThenQuit()')
 | 
				
			||||||
call Cabbrev('WQ', 'call WriteCurrentFileAndCreateCtagsThenQuit()')
 | 
					call Cabbrev('WQ', 'call WriteCurrentFileAndCreateCtagsThenQuit()')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
" Faster way to open a file in the same directory.
 | 
					 | 
				
			||||||
" <tab> will autocomplete the expansion here because we set wildcharm to <tab>.
 | 
					 | 
				
			||||||
nnoremap <leader>e :e %:p:h/<tab>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
nnoremap <leader>w :call WriteCurrentFileAndCreateCtags()<cr>
 | 
					nnoremap <leader>w :call WriteCurrentFileAndCreateCtags()<cr>
 | 
				
			||||||
nnoremap <leader>x :call WriteCurrentFileAndCreateCtagsThenQuit()<cr>
 | 
					nnoremap <leader>x :call WriteCurrentFileAndCreateCtagsThenQuit()<cr>
 | 
				
			||||||
nnoremap <leader>q :q<cr>
 | 
					nnoremap <leader>q :q<cr>
 | 
				
			||||||
| 
						 | 
					@ -1226,9 +1224,9 @@ fu! Build(optimized=0, silent=0)
 | 
				
			||||||
    if l:ext == "jai"
 | 
					    if l:ext == "jai"
 | 
				
			||||||
        let l:is_jai = 1
 | 
					        let l:is_jai = 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        " Check for a build file in the current directory or one directory back when one directory back isn't the root of a drive.
 | 
					        " Check for a build file in the current directory or one directory back
 | 
				
			||||||
        " (e.g. we're in modules/ or src/, code/, etc)
 | 
					        " (e.g. we're in modules/ or src/, code/, etc)
 | 
				
			||||||
        if filereadable(l:current_dir . "/build.jai") || filereadable(l:current_dir . "/first.jai") || ((l:one_dir_back != "/") && (filereadable(l:one_dir_back . "/build.jai") || filereadable(l:one_dir_back . "/first.jai")))
 | 
					        if filereadable(l:current_dir . "/build.jai") || filereadable(l:one_dir_back . "/build.jai") || filereadable(l:current_dir . "/first.jai") || filereadable(l:one_dir_back . "/first.jai")
 | 
				
			||||||
            let l:has_jai_build_file = 1
 | 
					            let l:has_jai_build_file = 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if filereadable(l:current_dir . "/build.jai") == 1
 | 
					            if filereadable(l:current_dir . "/build.jai") == 1
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
#!/usr/bin/env bash
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Restores all files/folders inside a particular bucket path for the next 7 days. This uses the bulk retrieval tier:
 | 
					# Restores all files/folders inside a particular bucket path for the next 7 days. This uses the bulk retreival tier:
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Bulk retrievals are the lowest-cost retrieval option when restoring objects
 | 
					# Bulk retrievals are the lowest-cost retrieval option when restoring objects
 | 
				
			||||||
# from S3 Glacier Deep Archive. They typically finish within 48 hours for
 | 
					# from S3 Glacier Deep Archive. They typically finish within 48 hours for
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -57,7 +57,7 @@ fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cmd=""
 | 
					cmd=""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [[ $extension == "mkv" || $extension == "mpg" || $extension == "mov" ]]; then
 | 
					if [[ $extension == "mkv" || $extension == "mpg" ]]; then
 | 
				
			||||||
    if [[ $bitrate != "" ]]; then
 | 
					    if [[ $bitrate != "" ]]; then
 | 
				
			||||||
        bitrate_args="-b:v $bitrate"
 | 
					        bitrate_args="-b:v $bitrate"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user