Skip to content

Commit

Permalink
Add sideways.vim
Browse files Browse the repository at this point in the history
Mappings still not working
  • Loading branch information
dkarter committed Feb 14, 2020
1 parent 3f6c3f4 commit 8e29837
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
15 changes: 8 additions & 7 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -862,9 +862,9 @@ augroup GOYO
autocmd! User GoyoLeave nested call <SID>goyo_leave()
augroup END

" ----------------------------------------------------------------------------
" --------------------------------------------
" vim-legend
" ----------------------------------------------------------------------------
" --------------------------------------------
let g:legend_active_auto = 0
let g:legend_hit_color = 'ctermfg=64 cterm=bold gui=bold guifg=Green'
let g:legend_ignored_sign = ''
Expand All @@ -878,6 +878,12 @@ let g:legend_mapping_toggle_line = '<localleader>cv'
" support ruby on rails omnicompletions
let g:rubycomplete_rails = 1

" --------------------------------------------
" sideways.vim
" --------------------------------------------
nnoremap <M-h> :SidewaysLeft<cr>
nnoremap <M-l> :SidewaysRight<cr>
" ----------------------------------------------------- }}}

" Load all plugins ------------------------------- {{{
Expand Down Expand Up @@ -1291,11 +1297,6 @@ if has('nvim')
tnoremap <silent><C-k> <C-\><C-n><C-w>k
tnoremap <silent><C-l> <C-\><C-n><C-w>l
tnoremap <silent><M-h> <C-\><C-N><C-w>h
tnoremap <silent><M-j> <C-\><C-N><C-w>j
tnoremap <silent><M-k> <C-\><C-N><C-w>k
tnoremap <silent><M-l> <C-\><C-N><C-w>l
" easily escape terminal
tnoremap <leader><esc> <C-\><C-n><esc><cr>
tnoremap <C-o> <C-\><C-n><esc><cr>
Expand Down
3 changes: 3 additions & 0 deletions vimrc.bundles
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ endif
" Align Code: {{{
" same as tabular but by Junegunn and way easier
Plug 'junegunn/vim-easy-align'

" move function arguments
Plug 'AndrewRadev/sideways.vim'
" }}}

" TMUX: {{{
Expand Down

0 comments on commit 8e29837

Please sign in to comment.