Mercurial > dotfiles.old
changeset 200:a91590ba2b32
Replace tcomment with commentary
author | zegervdv <zegervdv@me.com> |
---|---|
date | Wed, 19 Nov 2014 08:29:00 +0100 |
parents | b4999d36b3d2 |
children | 6de3103d47f4 |
files | vimrc |
diffstat | 1 files changed, 3 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/vimrc Wed Nov 19 08:22:09 2014 +0100 +++ b/vimrc Wed Nov 19 08:29:00 2014 +0100 @@ -5,7 +5,6 @@ " General Plugins Plug 'tpope/vim-sensible' Plug 'tpope/vim-abolish' -Plug 'tomtom/tcomment_vim' Plug 'tpope/vim-fugitive' Plug 'godlygeek/tabular' Plug 'tpope/vim-endwise' @@ -17,6 +16,7 @@ Plug 'xolox/vim-session' Plug 'tpope/vim-eunuch' Plug 'scrooloose/syntastic' +Plug 'tpope/vim-commentary' " Undo Plug 'sjl/gundo.vim', { 'on': 'GundoToggle' } @@ -65,7 +65,6 @@ " }}} " General Settings {{{ set nocompatible -set laststatus=2 set backspace=2 set autowrite @@ -167,7 +166,7 @@ " Status line {{{ function! Status() let statusline = '' - let statusline .= "ยป\ " + let statusline .= "%n\ " let statusline .= "%f" let statusline .= "%1*%m%0*" let statusline .= "\ [%{strlen(&ft)?&ft:'unknown'}]" @@ -175,7 +174,7 @@ let statusline .= "%P\ " return statusline endfunction - +set laststatus=2 set statusline=%!Status() " }}} " Custom remaps and tricks {{{ @@ -422,9 +421,6 @@ " Markdown {{{ let g:vim_markdown_folding_disabled=1 " }}} -" tComment {{{ -nmap <leader>c <C-_><C-_> -" }}} " Neo Complete {{{ let g:neocomplete#enable_at_startup = 1 let g:neocomplet#enable_smart_case = 1