removed CheckLineEnding function

This commit is contained in:
ManjaroOne666 2018-06-09 15:54:57 +01:00
parent 8479527bd0
commit a8334b2897
2 changed files with 2 additions and 12 deletions

View File

@ -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><expr> <space>nh (&hls && v:hlsearch ? ':nohls' : ':set hls')."\n"
nnoremap <silent> <space>sw :set invlist<CR> nnoremap <silent> <space>sw :set invlist<CR>
" inoremap jk <esc> " 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; nnoremap <space>co :!clear;
" Focus on current fold, close the rest " Focus on current fold, close the rest
nnoremap <silent> <space>zz zMzvzt nnoremap <silent> <space>zz zMzvzt

View File

@ -104,17 +104,6 @@ function! MyFoldText()
endfunction endfunction
"}}} "}}}
function! CheckLineEnding() abort
"{{{
:normal $
if getline('.')[col('.')-1] == ';' || getline('.')[col('.')-1] == ','
:startinsert
else
:startinsert!
endif
endfunction
"}}}
" get name of syntax item " get name of syntax item
function! SyntaxItem() abort function! SyntaxItem() abort
"{{{ "{{{