diff options
| author | Ahmed Abdelhalim <[email protected]> | 2016-03-30 10:46:08 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2016-03-30 10:46:08 +0200 |
| commit | de2dd6c07633b8073fe8d8b587bb3effc1c716d7 (patch) | |
| tree | ecfa37d02c7ad92215693a1e843103e0e59e2603 | |
| parent | 69d6ec83dc85a9e4b56d50f011072e6b91622be5 (diff) | |
FIX: use command instead of cmap
FEAT: add Limelight and Goyo configurations
| -rw-r--r-- | .vimrc | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -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> |
