These instructions will get you a copy of the project up and running on your local machine. More help about the plugin itself can be found here.
- Neovim: Requires Neovim 0.7+ with Lua support
{
'codebam/vimsence.nvim',
config = function()
require('vimsence').setup()
end
}
use {
'codebam/vimsence.nvim',
config = function()
require('vimsence').setup()
end
}
Add to your init.lua
or init.vim
:
Plug 'codebam/vimsence.nvim'
Use the same plugin specification: 'codebam/vimsence.nvim'
Configure vimsence.nvim using the setup()
function:
require('vimsense').setup({
client_id = '439476230543245312',
small_text = 'Neovim',
small_image = 'neovim',
editing_details = 'Editing: {}',
editing_state = 'Working on: {}',
editing_large_text = 'Editing a {} file',
file_explorer_text = 'In the file explorer',
file_explorer_details = 'Looking for files',
ignored_file_types = {'help', 'nerdtree'},
ignored_directories = {'.git', 'node_modules'},
custom_icons = {python = 'py', javascript = 'js'},
discord_flatpak = false -- Enable for Flatpak Discord on Linux
})
:DiscordUpdatePresence
- Manually update Discord presence:DiscordReconnect
- Reconnect to Discord:DiscordDisconnect
- Disconnect from Discord
This plugin is written in Lua for Neovim. To develop:
- Fork and clone the repository
- Make changes to the Lua files in
lua/vimsence/
- Test with your Neovim configuration
- Submit a pull request
Contributor | What has been done |
---|---|
Original work | |
Maintaining this fork |
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details