summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>