removed CheckLineEnding function
This commit is contained in:
		
							parent
							
								
									8479527bd0
								
							
						
					
					
						commit
						a8334b2897
					
				|  | @ -9,7 +9,8 @@ nnoremap <silent>         <space>nn :set invrelativenumber<CR> | |||
| nnoremap <silent><expr>   <space>nh (&hls && v:hlsearch ? ':nohls' : ':set hls')."\n" | ||||
| nnoremap <silent> <space>sw :set invlist<CR> | ||||
| " inoremap jk <esc> | ||||
| nnoremap <silent> A :call CheckLineEnding()<CR> | ||||
| " nnoremap <silent> <space>aa :call CheckLineEnding()<CR> | ||||
| nnoremap <space>aa A<left> | ||||
| nnoremap <space>co :!clear; | ||||
| " Focus on current fold, close the rest | ||||
| nnoremap <silent> <space>zz zMzvzt | ||||
|  |  | |||
|  | @ -104,17 +104,6 @@ function! MyFoldText() | |||
| endfunction | ||||
| "}}} | ||||
| 
 | ||||
| function! CheckLineEnding() abort  | ||||
| "{{{ | ||||
|   :normal $ | ||||
|   if getline('.')[col('.')-1] == ';' || getline('.')[col('.')-1] == ',' | ||||
|     :startinsert | ||||
|   else | ||||
|     :startinsert! | ||||
|   endif | ||||
| endfunction | ||||
| "}}} | ||||
| 
 | ||||
| " get name of syntax item | ||||
| function! SyntaxItem() abort  | ||||
| "{{{ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue