summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2016-03-30 10:46:08 +0200
committerAhmed Abdelhalim <[email protected]>2016-03-30 10:46:08 +0200
commitde2dd6c07633b8073fe8d8b587bb3effc1c716d7 (patch)
treeecfa37d02c7ad92215693a1e843103e0e59e2603 /.vimrc
parent69d6ec83dc85a9e4b56d50f011072e6b91622be5 (diff)
FIX: use command instead of cmap
FEAT: add Limelight and Goyo configurations
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc16
1 files changed, 14 insertions, 2 deletions
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 <leader>w :w<cr>
nmap <leader>q :q<cr>
-cmap :Wq :wq
-cmap :WQ :wq
+:command WQ wq
+:command Wq wq
+:command W w
+:command Q q
+
" Use <C-L> to clear the highlighting of :set hlsearch.
nnoremap <silent> <C-L> :nohlsearch<CR><C-L>
@@ -235,6 +239,14 @@ let g:mta_filetypes = { 'html' : 1 }
let g:vimrubocop_keymap = 0
nmap <Leader>r :RuboCop<CR>
+"Limelight"
+"=========
+nmap <leader>f :Limelight!!<cr>
+
+"Goyo"
+"=========
+nmap <leader>g :Goyo<cr>
+
"Tagbar
"=======
" nmap <leader>t :TagbarToggle<CR>