Timeline for Display file contents in a popup window upon pressing a key?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 16, 2020 at 1:58 | vote | accept | Samselvaprabu | ||
Nov 9, 2020 at 12:29 | comment | added | B Layer |
To use ~ you may have to do readfile(expand('~/filename')) . (Or just use full path like I said.)
|
|
Nov 9, 2020 at 12:14 | comment | added | Samselvaprabu | It still says E484: Can't open file ~/vimcheatsheet . I even did chmod 777 to that file | |
Nov 9, 2020 at 12:01 | comment | added | B Layer | Put popup/mapping commands on a single line. They're only split up above for readabililty. | |
Nov 9, 2020 at 11:57 | comment | added | Samselvaprabu | It displays error as below Error detected while processing /root/.vimrc: line 1: E484: Can't open file ~/vimcheatsheet line 3: E723: Missing end of Dictionary '}': E116: Invalid arguments for function popup_create line 4: E492: Not an editor command: padding: [0,1,0,1], border: [], filter: 'popup_filter_yesno', close: 'click' }) | |
Nov 9, 2020 at 11:04 | history | edited | B Layer | CC BY-SA 4.0 |
show how to read froma file
|
Nov 9, 2020 at 10:58 | comment | added | Samselvaprabu | I am not good at vimscript. Can I show my file contents line by line in popup window? | |
Nov 9, 2020 at 10:51 | history | answered | B Layer | CC BY-SA 4.0 |