|
@@ -29,14 +29,18 @@ nnoremap <silent> <leader>in :call OpenConfigFile('~/.config/nvim/init.vim')<cr>
|
|
|
nnoremap <silent> <leader>bashrc :call OpenConfigFile('~/.bashrc')<cr>
|
|
|
nnoremap <silent> <leader>code :call OpenConfigFile('~/Library/Application Support/Code/User/settings.json')<cr>
|
|
|
|
|
|
-let g:which_key_map['/'] = [ '<Plug>NERDCommenterToggle','commenter' ]
|
|
|
+let g:which_key_map['/'] = [ '<Plug>NERDCommenterToggle', 'commenter' ]
|
|
|
let g:which_key_map['e'] = [ 'NERDTreeToggle', 'file-explorer' ]
|
|
|
-let g:which_key_map['p'] = [ 'pclose','close-preview' ]
|
|
|
-let g:which_key_map['q'] = [ 'q','quit' ]
|
|
|
-let g:which_key_map['d'] = [ 'bd','delete-buffer' ]
|
|
|
-let g:which_key_map['s'] = [ 'w','save' ]
|
|
|
-let g:which_key_map['r'] = [ 'Ranger','ranger' ]
|
|
|
-let g:which_key_map['f'] = [ 'FZF','fzf' ]
|
|
|
+let g:which_key_map['p'] = [ 'pclose' , 'close-preview' ]
|
|
|
+let g:which_key_map['q'] = [ 'q' , 'quit' ]
|
|
|
+let g:which_key_map['d'] = [ 'bd' , 'delete-buffer' ]
|
|
|
+let g:which_key_map['s'] = [ 'w' , 'save' ]
|
|
|
+let g:which_key_map['r'] = [ 'Ranger' , 'ranger' ]
|
|
|
+let g:which_key_map['f'] = [ 'FZF' , 'fzf' ]
|
|
|
+let g:which_key_map['z'] = [ 'Goyo' , 'zen-mode' ]
|
|
|
+let g:which_key_map['v'] = ['<C-W>v' , 'split-window-right']
|
|
|
+let g:which_key_map['h'] = ['<C-W>s' , 'split-window-below']
|
|
|
+let g:which_key_map['o'] = ['only' , 'close-all-other-windows']
|
|
|
|
|
|
let g:which_key_map.t = {
|
|
|
\ 'name' : '+toggle' ,
|
|
@@ -79,17 +83,17 @@ let g:which_key_map.l = {
|
|
|
\ },
|
|
|
\ }
|
|
|
|
|
|
-let g:which_key_map.w = {
|
|
|
- \ 'name' : '+windows' ,
|
|
|
- \ 'v' : ['<C-W>v' , 'split-window-right'] ,
|
|
|
- \ 'h' : ['<C-W>s' , 'split-window-below'] ,
|
|
|
- \ 'w' : ['<C-W>w' , 'other-window'] ,
|
|
|
- \ 'o' : ['only' , 'close-all-other-windows'] ,
|
|
|
- \ 'd' : ['<C-W>c' , 'delete-window'] ,
|
|
|
- \ '2' : ['<C-W>v' , 'layout-double-columns'] ,
|
|
|
- \ '=' : ['<C-W>=' , 'balance-window'] ,
|
|
|
- \ '?' : ['Windows' , 'fzf-window'] ,
|
|
|
- \ }
|
|
|
+"let g:which_key_map.w = {
|
|
|
+ "\ 'name' : '+windows' ,
|
|
|
+ "\ 'v' : ['<C-W>v' , 'split-window-right'] ,
|
|
|
+ "\ 'h' : ['<C-W>s' , 'split-window-below'] ,
|
|
|
+ "\ 'w' : ['<C-W>w' , 'other-window'] ,
|
|
|
+ "\ 'o' : ['only' , 'close-all-other-windows'] ,
|
|
|
+ "\ 'd' : ['<C-W>c' , 'delete-window'] ,
|
|
|
+ "\ '2' : ['<C-W>v' , 'layout-double-columns'] ,
|
|
|
+ "\ '=' : ['<C-W>=' , 'balance-window'] ,
|
|
|
+ "\ '?' : ['Windows' , 'fzf-window'] ,
|
|
|
+ "\ }
|
|
|
|
|
|
let g:which_key_map.b = {
|
|
|
\ 'name' : '+buffer' ,
|