Permalink
Browse files

add easy-align plugins for vim

  • Loading branch information...
1 parent c31dee6 commit a6459644a279d6677a932059b30dd7b45be4bea7 @nouh committed Sep 4, 2013
Showing with 9 additions and 22 deletions.
  1. +8 −22 vimrc
  2. +1 −0 zshrc
View
30 vimrc
@@ -32,7 +32,7 @@ Bundle 'kien/ctrlp.vim'
"Bundle 'jiangmiao/auto-pairs'
Bundle 'Raimondi/delimitMate'
"Bundle 'epeli/slimux'
-Bundle 'godlygeek/tabular'
+"Bundle 'godlygeek/tabular'
Bundle 'majutsushi/tagbar'
"Bundle 'nathanaelkane/vim-indent-guides'
Bundle 'pangloss/vim-javascript'
@@ -45,10 +45,12 @@ Bundle 'altercation/vim-colors-solarized'
Bundle 'chriskempson/base16-vim'
" from scrooloose
-Bundle 'scrooloose/nerdcommenter'
+"Bundle 'scrooloose/nerdcommenter'
Bundle 'scrooloose/nerdtree'
Bundle 'scrooloose/syntastic'
+Bundle 'junegunn/vim-easy-align'
+Bundle 'tomtom/tcomment_vim'
" from tpope
" Bundle 'tpope/vim-rbenv'
Bundle 'tpope/vim-tbone'
@@ -582,12 +584,6 @@ nnoremap <silent> <leader>gl :Glog<CR>
nnoremap <silent> <leader>gp :Git push<CR>
autocmd QuickFixCmdPost *grep* cwindow
-"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-" => Bufexplorer
-"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-"let g:bufExplorerSplitRight=1 " Split right.
-"nnoremap <leader>bv :BufExplorerVerticalSplit
-
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Ragtag
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@@ -616,11 +612,6 @@ let g:UltiSnipsListSnippets="<c-l>"
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
let g:user_emmet_expandabbr_key = '<c-e>'
-"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-" => dbext
-"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-"Postgresql
-
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => vim-session
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@@ -631,16 +622,11 @@ let g:user_emmet_expandabbr_key = '<c-e>'
"nnoremap <leader>ss :SessionSave<cr>
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-" => vim-multiple-cursors
+" => vim-easymotion
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-"let g:multi_cursor_use_default_mapping=0
-"let g:multi_cursor_next_key='<C-j>'
-"let g:multi_cursor_prev_key='<C-k>'
-"let g:multi_cursor_skip_key='<C-x>'
-"let g:multi_cursor_quit_key='<C-[>'
+" let g:EasyMotion_mapping_w = '<C-;>'
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-" => vim-session
+" => vim-easy-align
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-let g:miniBufExplMapCTabSwitchWindows = 1
-"let g:miniBufExplMapCTabSwitchBufs = 1
+vnoremap <silent> <Enter> :EasyAlign<cr>
View
1 zshrc
@@ -60,6 +60,7 @@ if [ $PLATFORM = "Linux" ]; then
alias ep2conf="sudo vim /etc/apache2/sites-enabled/eportal.com"
else
export EDITOR="mvim -v"
+ export JAVA_HOME=$(/usr/libexec/java_home)
alias emacs="/usr/local/Cellar/emacs/24.3/Emacs.app/Contents/MacOS/Emacs -nw"
alias emacsclient="/usr/local/Cellar/emacs/24.3/bin/emacsclient"
alias e="emacsclient -t"

0 comments on commit a645964

Please sign in to comment.