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 5ba907d commit 51ce5f7Copy full SHA for 51ce5f7
autoload/vim_commands_plugin.vim
@@ -7,12 +7,12 @@ function! vim_commands_plugin#openCheatSheet()
7
let l:cheat_sheet = l:user_cheat_sheet
8
else
9
" plugin directory path
10
- let l:file_path = "$HOME/.vim/plugged/vim-commands/doc/vim-commands.md"
+ let l:file_path = expand('$HOME/.vim/plugged/vim-commands/doc/vim-commands.md')
11
12
if filereadable(l:file_path)
13
let l:cheat_sheet = l:file_path
14
15
- let l:cheat_sheet = "$HOME/.vim/bundle/vim-commands/doc/vim-commands.md"
+ let l:cheat_sheet = expand('$HOME/.vim/bundle/vim-commands/doc/vim-commands.md')
16
17
endif
18
0 commit comments