Skip to content

Commit

Permalink
add sideways plug and conf
Browse files Browse the repository at this point in the history
  • Loading branch information
scrooloose committed Feb 24, 2017
1 parent e13ff88 commit 7937dfb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions vimrc
Expand Up @@ -45,6 +45,7 @@ Plugin 'mattn/webapi-vim'
Plugin 'mattn/gist-vim'
Plugin 'mzlogin/vim-markdown-toc'
Plugin 'aklt/plantuml-syntax'
Plugin 'AndrewRadev/sideways.vim'
Plugin 'flazz/vim-colorschemes'
call vundle#end()

Expand Down Expand Up @@ -297,6 +298,15 @@ function! s:Median(nums)
endif
endfunction

"sideways conf - for swapping arguments around
nnoremap <leader>sh :SidewaysLeft<cr>
nnoremap <leader>sl :SidewaysRight<cr>
"text objects for function args
omap aa <Plug>SidewaysArgumentTextobjA
xmap aa <Plug>SidewaysArgumentTextobjA
omap ia <Plug>SidewaysArgumentTextobjI
xmap ia <Plug>SidewaysArgumentTextobjI
"plantuml conf
let g:plantuml_executable_script = "$HOME/.vim/plantuml/uml.sh"
Expand Down

0 comments on commit 7937dfb

Please sign in to comment.