File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,24 @@ are any problems with the installation or you need to install additional tools.
105105 (<a href =" #readme-top " >Back to top</a >)
106106</div >
107107
108+ ## Usage
109+
110+ To use this plugin, simply call ` :Freeze ` and it will take a screenshot of the
111+ current buffer and save it in the ` dir ` path you have configured.
112+
113+ If you want to take a screenshot of a specific line, you can use the ` :Freeze ` in
114+ visual mode, and it will take a screenshot of the selected lines.
115+
116+ ### Keymaps
117+
118+ ``` lua
119+ vim .keymap .set (" n" , " <leader>fz" , require (" freeze-code" ).freeze )
120+ vim .keymap .set (" v" , " <leader>fz" , function ()
121+ require (" freeze-code" ).freeze (vim .fn .line (" '<" ), vim .fn .line (" '>" ))
122+ end )
123+ -- or using `<cmd>Freeze<cr>`
124+ ```
125+
108126## Contributing
109127
110128Thank you to everyone that is contributing and to those who want to contribute.
You can’t perform that action at this time.
0 commit comments