Skip to content

Commit 6b518b8

Browse files
committed
correct path
1 parent 9681184 commit 6b518b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/vim_commands_plugin.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function! vim_commands_plugin#openCheatSheet()
77
let l:cheat_sheet = l:user_cheat_sheet
88
else
99
" plugin directory path
10-
let l:cheat_sheet = '$HOME/.vim/plugged/vim-commands/doc/vim-commands.md'
10+
let l:cheat_sheet = expand("<sfile>:h:h") . "/doc/vim-commands.md"
1111
endif
1212

1313
" Open the markdown file in a new buffer

0 commit comments

Comments
 (0)