We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 846ad57 commit 9681184Copy full SHA for 9681184
autoload/vim_commands_plugin.vim
@@ -6,10 +6,8 @@ function! vim_commands_plugin#openCheatSheet()
6
if filereadable(l:user_cheat_sheet)
7
let l:cheat_sheet = l:user_cheat_sheet
8
else
9
- " get the plugin directory path
10
- let l:plugin_dir = expand('<sfile>:p:h:h')
11
- " Construct the path to the cheat sheet
12
- let l:cheat_sheet = l:plugin_dir . '/doc/vim-commands.md'
+ " plugin directory path
+ let l:cheat_sheet = '$HOME/.vim/plugged/vim-commands/doc/vim-commands.md'
13
endif
14
15
" Open the markdown file in a new buffer
0 commit comments