From de2dd6c07633b8073fe8d8b587bb3effc1c716d7 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Wed, 30 Mar 2016 10:46:08 +0200 Subject: FIX: use command instead of cmap FEAT: add Limelight and Goyo configurations --- .vimrc | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index b416265..84a0ca5 100644 --- a/.vimrc +++ b/.vimrc @@ -34,6 +34,7 @@ Plugin 'honza/vim-snippets' " Plugin 'vim-ruby/vim-ruby' " Plugin 'nvie/vim-flake8' Plugin 'junegunn/limelight.vim' +Plugin 'junegunn/goyo.vim' Plugin 'mustache/vim-mustache-handlebars' call vundle#end() @@ -105,8 +106,11 @@ endif "Fast saving and quiting nmap w :w nmap q :q -cmap :Wq :wq -cmap :WQ :wq +:command WQ wq +:command Wq wq +:command W w +:command Q q + " Use to clear the highlighting of :set hlsearch. nnoremap :nohlsearch @@ -235,6 +239,14 @@ let g:mta_filetypes = { 'html' : 1 } let g:vimrubocop_keymap = 0 nmap r :RuboCop +"Limelight" +"========= +nmap f :Limelight!! + +"Goyo" +"========= +nmap g :Goyo + "Tagbar "======= " nmap t :TagbarToggle -- cgit v1.2.3