X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/8de18e145a7a0a64b3b86f9ae60e1bb798530f71..22a362a0e4ef1f84641e3cae2c0933b75729def9:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index f177116..f9f891c 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -21,7 +21,8 @@ Plugin 'elzr/vim-json' Plugin 'firef0x/pkgbuild.vim' Plugin 'junegunn/vim-easy-align' Plugin 'kien/ctrlp.vim' -Plugin 'klen/python-mode' +" Plugin 'klen/python-mode' +Plugin 'wilywampa/python-mode' Plugin 'kshenoy/vim-signature' Plugin 'majutsushi/tagbar' Plugin 'raimondi/delimitmate' @@ -268,9 +269,6 @@ nnoremap / :silent nohl nnoremap [ :tabprev nnoremap ] :tabnext -" Wrap -nnoremap W :set wrap! - " paste from selection nnoremap p* :silent! set paste"*p:set nopaste " paste from clipboard @@ -289,9 +287,6 @@ noremap ' ` " Select (charwise) the contents of the current line, excluding indentation. nnoremap vv ^vg_ -" Toggle [i]nvisible characters -nnoremap i :set list! - " Unfuck my screen nnoremap U :syntax sync fromstart:AirlineRefresh:redraw! @@ -378,8 +373,7 @@ noremap O :set pastem`O``:set nopaste " Don't use Ex mode, use Q for formatting map Q gq -" allow undoing in insert-mode -inoremap u +" break undo sequence before removing word inoremap u nmap b :set expandtab tabstop=4 shiftwidth=4 softtabstop=4 @@ -398,6 +392,9 @@ autocmd BufWinEnter *.* silent loadview " save with sudo cnoremap w!! w !sudo tee % > /dev/null +" uppercase previous word +inoremap gUiwgi + " plugins options {{{1 " ag {{{2 let g:AgSmartCase = 1 @@ -411,6 +408,7 @@ let g:airline_powerline_fonts = 1 " checkattach {{{2 let g:checkattach_filebrowser = 'ranger' +let g:checkattach_once = 'y' " delimitmate {{{2 let delimitMate_expand_cr = 2