Created
May 16, 2016 18:43
-
-
Save lverweijen/2870addcc3af2dc8b0d2ccd427a027de to your computer and use it in GitHub Desktop.
Debugging vim-leader-guide
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun! SetupVAM() | |
let c = get(g:, 'vim_addon_manager', {}) | |
let g:vim_addon_manager = c | |
" let c.plugin_root_dir = split(&rtp, ',', 0)[0] . '/vim-addons' | |
let c.plugin_root_dir = '/tmp' | |
let c.log_to_buf = 1 | |
let c.auto_install = 0 | |
let &rtp.=(empty(&rtp)?'':',').c.plugin_root_dir.'/vim-addon-manager' | |
if !isdirectory(c.plugin_root_dir.'/vim-addon-manager/autoload') | |
execute '!git clone --depth=1 git://github.com/MarcWeber/vim-addon-manager ' | |
\ shellescape(c.plugin_root_dir.'/vim-addon-manager', 1) | |
endif | |
exec 'set runtimepath +=' . c.plugin_root_dir | |
runtime autoload/vam.vim | |
VAMActivate github:hecal3/vim-leader-guide | |
VAMActivate github:vim-scripts/Align | |
endfun | |
if isdirectory(split(&rtp, ',', 0)[0] . '/vim-addons/vim-addon-manager') | |
call SetupVAM() | |
endif | |
let mapleader=" " | |
let g:llmap = {} | |
call leaderGuide#register_prefix_descriptions("<Space>", "g:llmap") | |
nnoremap <silent> <leader> :<c-u>LeaderGuide '<Space>'<CR> | |
vnoremap <silent> <leader> :<c-u>LeaderGuideVisual '<Space>'<CR> | |
nnoremap <Leader>au :dosomething<CR> | |
" vim:fdm=marker:tw=80: ts=2: sw=2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Messages maintainer: Bram Moolenaar Bram@vim.org
Error detected while processing function leaderGuide#start_by_prefix[9]..3_start_parser[23]
..3_add_map_to_dict[23]..3_add_map_to_dict[32]..3_flattenmap[9]..3_flattenmap:
line 2:
E715: Dictionary required
E714: List required
Error detected while processing function leaderGuide#start_by_prefix[9]..3_start_parser[23]
..3_add_map_to_dict[23]..3_add_map_to_dict[32]..3_flattenmap[9]..3_flattenmap[9]..3_flattenmap:
line 2:
E715: Dictionary required
E714: List required
Error detected while processing function leaderGuide#start_by_prefix[9]..3_start_parser[23]
..3_add_map_to_dict[23]..3_add_map_to_dict[32]..3_flattenmap[9]..3_flattenmap[9]..3_flattenmap[9]..3_flattenmap:
line 2:
E715: Dictionary required
E714: List required
Press ENTER or type command to continue