@@ -67,6 +67,7 @@ let g:spacevim#plug#leaderGuide#lmap['j'] = {
6767let g: spacevim #plug #leaderGuide#lmap ['p'] = {
6868 \ 'name' : '+projects',
6969 \ 'h' : ['ProjectMru --tiebreak=end', 'helm-projectile'],
70+ \ 's' : ['call spacevim#plug#fzf#Project()', 'search-under-project'],
7071 \ }
7172let g: spacevim #plug #leaderGuide#lmap ['q'] = [ 'q', 'quit' ]
7273let g: spacevim #plug #leaderGuide#lmap ['Q'] = [ 'qa!', 'quit-without-saving' ]
@@ -81,10 +82,45 @@ let g:spacevim#plug#leaderGuide#lmap['t'] = {
8182 \ 'p' : ['setlocal paste!', 'paste-mode'],
8283 \ 's' : ['SyntasticToggleMode', 'syntastic'],
8384 \ 't' : ['TagbarToggle', 'tagbar'],
85+ \ 'c' : ['call spacevim#util#ToggleCursorColumn()', 'cursor-column'],
86+ \ 'C' : ['call spacevim#util#ToggleColorColumn()', 'color-column'],
8487 \ }
8588let g: spacevim #plug #leaderGuide#lmap ['u'] = [ 'call feedkeys("\<C-u> ")', 'scroll-up' ]
89+
90+ nnoremap <Plug> (window_w) <C-W> w
91+ nnoremap <Plug> (window_r) <C-W> r
92+ nnoremap <Plug> (window_d) <C-W> c
93+ nnoremap <Plug> (window_q) <C-W> q
94+ nnoremap <Plug> (window_j) <C-W> j
95+ nnoremap <Plug> (window_k) <C-W> k
96+ nnoremap <Plug> (window_h) <C-W> h
97+ nnoremap <Plug> (window_l) <C-W> l
98+ nnoremap <Plug> (window_H) <C-W> 5<
99+ nnoremap <Plug> (window_L) <C-W> 5>
100+ nnoremap <Plug> (window_J) :resize +5<CR>
101+ nnoremap <Plug> (window_K) :resize -5<CR>
102+ nnoremap <Plug> (window_b) <C-W> =
103+ nnoremap <Plug> (window_s1) <C-W> s
104+ nnoremap <Plug> (window_s2) <C-W> s
105+ nnoremap <Plug> (window_v1) <C-W> v
106+ nnoremap <Plug> (window_v2) <C-W> v
107+ nnoremap <Plug> (window_2) <C-W> v
108+
86109let g: spacevim #plug #leaderGuide#lmap ['w'] = {
87110 \ 'name' : '+windows',
111+ \ 'w' : ['call feedkeys("\<Plug> (window_w)")', 'other-window'],
112+ \ 'd' : ['call feedkeys("\<Plug> (window_d)")', 'delete-window'],
113+ \ '-' : ['call feedkeys("\<Plug> (window_s1)")', 'split-window-below'],
114+ \ '|' : ['call feedkeys("\<Plug> (window_v1)")', 'split-window-right'],
115+ \ '2' : ['call feedkeys("\<Plug> (window_v1)")', 'layout-double-columns'],
116+ \ 'h' : ['call feedkeys("\<Plug> (window_h)")', 'window-left'],
117+ \ 'j' : ['call feedkeys("\<Plug> (window_j)")', 'window-below'],
118+ \ 'l' : ['call feedkeys("\<Plug> (window_l)")', 'window-right'],
119+ \ 'k' : ['call feedkeys("\<Plug> (window_k)")', 'window-up'],
120+ \ '=' : ['call feedkeys("\<Plug> (window_b)")', 'balance-window'],
121+ \ 's' : ['call feedkeys("\<Plug> (window_s1)")', 'split-window-below'],
122+ \ 'v' : ['call feedkeys("\<Plug> (window_v1)")', 'split-window-below'],
123+ \ '?' : ['Windows', 'fzf-window'],
88124 \ }
89125let g: spacevim #plug #leaderGuide#lmap ['x'] = {
90126 \ 'name' : '+text',
0 commit comments