Ver Fonte

tidy up

Daniel Sheffield há 2 semanas atrás
pai
commit
a86f8d01b1
1 ficheiros alterados com 3 adições e 6 exclusões
  1. 3 6
      vim/vimfiles/vimrc

+ 3 - 6
vim/vimfiles/vimrc

@@ -19,9 +19,6 @@ Plug 'dense-analysis/ale'
 call plug#end()
 " }}}
 
-" let g:ale_enabled = 0
-
-
 " Personal {{{
 
 " Looks {{{
@@ -81,13 +78,13 @@ nnoremap <Leader>C :call RegisterSwapDefaultWith()<CR>+
 
 " Title Case
 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 {{{
 function! SelectionSurroundWith()
     " 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
 vnoremap gi :call SelectionSurroundWith()<CR>
 " }}}