2015-03-08 17:11:47 +01:00
|
|
|
*heavim* A really heavy Vim configuration
|
2015-03-02 17:58:40 +01:00
|
|
|
|
|
|
|
1. Keyboard shortcuts |heavim-shortcuts|
|
|
|
|
|
|
|
|
=============================================================================
|
|
|
|
1. KEYBOARD SHORTCUTS ~ *heavim-shortcuts*
|
|
|
|
|
|
|
|
Note: Heavim defines Space as the global leader key, and comma (',') as the
|
|
|
|
local leader key.
|
|
|
|
|
|
|
|
+ Toggle folds
|
|
|
|
|
|
|
|
<Leader>M Toggle mouse
|
2015-03-07 17:45:02 +01:00
|
|
|
<Leader>P Toggle paste mode
|
2015-03-02 18:20:55 +01:00
|
|
|
<C-c> (Visual mode) Copy selected text to X clipboard
|
|
|
|
|
|
|
|
<Leader><Space> Clear highlighted search
|
|
|
|
|
|
|
|
<Leader>n Toggle line numbers
|
|
|
|
<Leader>c Invert cursor line/column
|
|
|
|
<Leader>C Toggle cursor line/column modes
|
|
|
|
|
2015-03-02 17:58:40 +01:00
|
|
|
<Leader>T Toggle visible tabs
|
2015-03-02 18:20:55 +01:00
|
|
|
|
2015-03-08 08:58:22 +01:00
|
|
|
<S-Left> Previous buffer
|
|
|
|
<S-Right> Next buffer
|
|
|
|
<C-S-Down> Close current buffer
|
|
|
|
|
2015-03-02 18:20:55 +01:00
|
|
|
<A-Insert> Open new tab
|
|
|
|
<C-A-Insert> Close current tab
|
|
|
|
<A-Left> Select previous tab
|
|
|
|
<A-Right> Select next tab
|
|
|
|
<A-Up> Move current tab left
|
|
|
|
<A-Down> Move current tab right
|
2015-03-08 17:11:47 +01:00
|
|
|
|
|
|
|
<Leader>Bu NeoBundle: check for updates
|
|
|
|
<Leader>Bi NeoBundle: install new bundles
|
|
|
|
|
2015-03-13 11:05:31 +01:00
|
|
|
<Leader>hm Help: man page for current word
|
2015-03-13 11:06:05 +01:00
|
|
|
<Leader>hv Help: vim help for current word (only in .vim
|
|
|
|
files)
|
2015-03-13 11:05:31 +01:00
|
|
|
|
2015-03-08 17:11:47 +01:00
|
|
|
<Leader>pp CtrlP: buffer list
|
|
|
|
<Leader>po CtrlP: recently used files
|
|
|
|
<Leader>pi CtrlP: directory
|
2015-03-09 08:56:09 +01:00
|
|
|
|
|
|
|
<Leader>t Toggle tagbar
|
2015-03-09 09:25:21 +01:00
|
|
|
<Leader>e Toggle NERDtree explorer
|
2015-03-09 11:52:35 +01:00
|
|
|
|
|
|
|
<Leader>gd Git: view diff for current buffer
|
|
|
|
<Leader>gl Git: show log
|
|
|
|
<Leader>gs Git: show status
|
|
|
|
<Leader>g< Git: previous modified chunk
|
|
|
|
<Leader>g> Git: next modified chunk
|
|
|
|
|
|
|
|
<Leader>g+ Git: add modified chunk
|
|
|
|
<Leader>g- Git: revert modified chunk
|
|
|
|
<Leader>ga Git: add whole buffer
|
|
|
|
<Leader>gb Git: create branch
|
|
|
|
<Leader>gc Git: commit staged changes
|
|
|
|
|
|
|
|
<Leader>gB Git: create and checkout branch
|
|
|
|
<Leader>gC Git: checkout
|
|
|
|
<Leader>gM Git: rename current buffer
|
|
|
|
<Leader>gP Git: push
|
|
|
|
<Leader>gR Git: remove current buffer
|
2015-03-09 12:30:48 +01:00
|
|
|
|
2015-03-09 17:38:51 +01:00
|
|
|
<Leader>ss Toggle syntax checking
|
|
|
|
<Leader>sc Check syntax now
|