|
@@ -19,9 +19,6 @@ Plug 'dense-analysis/ale'
|
|
call plug#end()
|
|
call plug#end()
|
|
" }}}
|
|
" }}}
|
|
|
|
|
|
-" let g:ale_enabled = 0
|
|
|
|
-
|
|
|
|
-
|
|
|
|
" Personal {{{
|
|
" Personal {{{
|
|
|
|
|
|
" Looks {{{
|
|
" Looks {{{
|
|
@@ -81,13 +78,13 @@ nnoremap <Leader>C :call RegisterSwapDefaultWith()<CR>+
|
|
|
|
|
|
" Title Case
|
|
" Title Case
|
|
vnoremap gt :s/\%V\v<(.)(\w*)/\u\1\L\2/g<CR>:noh<CR>
|
|
vnoremap gt :s/\%V\v<(.)(\w*)/\u\1\L\2/g<CR>:noh<CR>
|
|
-nnoremap gT V:s/\v<(.)(\w*)/\u\1\L\2/g<CR>:noh<CR>
|
|
|
|
|
|
+nnoremap gTT V:s/\v<(.)(\w*)/\u\1\L\2/g<CR>:noh<CR>
|
|
|
|
|
|
" Quote {{{
|
|
" Quote {{{
|
|
function! SelectionSurroundWith()
|
|
function! SelectionSurroundWith()
|
|
" Surround selected text with a single char
|
|
" Surround selected text with a single char
|
|
- let l = nr2char(getchar())
|
|
|
|
- execute "normal! c" . l . "\<C-r>\"" . l . "\<Esc>"
|
|
|
|
|
|
+ let l = nr2char(getchar())
|
|
|
|
+ execute "normal! c" . l . "\<C-r>\"" . l . "\<Esc>"
|
|
endfunction
|
|
endfunction
|
|
vnoremap gi :call SelectionSurroundWith()<CR>
|
|
vnoremap gi :call SelectionSurroundWith()<CR>
|
|
" }}}
|
|
" }}}
|