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.
You need to have Vim/NeoVim with Python3 support
- Add
Plug 'sglkc/vimsence'
to your vimrc file. - Reload your vimrc or restart
- Run
:PlugInstall
Vundle or similar
- Add
Plugin 'sglkc/vimsence'
to your vimrc file. - Reload your vimrc or restart
- Run
:BundleInstall
- Add
NeoBundle 'sglkc/vimsence'
to your vimrc file. - Reload your vimrc or restart
- Run
:NeoUpdate
cd ~/.vim/bundle
git clone https://github.com/sglkc/vimsence.git
git submodule add https://github.com/sglkc/vimsence.git vimsence
You can configure the messages of VimSence in your .vimrc
with these options:
let g:vimsence_client_id = '439476230543245312'
let g:vimsence_small_text = 'NeoVim'
let g:vimsence_small_image = 'neovim'
let g:vimsence_editing_text = '{filetype} file'
let g:vimsence_editing_details = 'Editing {filename}'
let g:vimsence_editing_state = 'Working on {directory}'
let g:vimsence_file_explorer_text = 'In NERDTree'
let g:vimsence_file_explorer_details = 'Looking for files'
let g:vimsence_idle_text = 'Idling'
let g:vimsence_terminal_details = 'Bash shell'
let g:vimsence_terminal_state = 'Running {termcmds}'
let g:vimsence_add_timestamp = '600'
let g:vimsence_custom_icons = {'filetype': 'iconname'}
You can put this inside editing_text
, editing_state
and editing_details
{termcmds}
should only put in terminal_state
and terminal_details
{filename}
current file name with extension{filetype}
current file extension{filesize}
current file human-readable size (KB, MB, ..){filesizeb}
current file size in bytes{fileline}
current file lines{filedir}
current file directory{directory}
workspace directory{termcmds}
terminal launch commands
First create a virtual environment. If you don’t already have a preferred way to do this, take some time to look at tools like pew, virtualfish, and virtualenvwrapper.
Install the development dependencies:
pip install -r requirements-dev.txt
To avoid committing code that violates our style guide, we strongly advise you to install pre-commit hooks:
pre-commit install
You can also run them anytime using:
pre-commit run --all-files
Contributor | What has been done |
---|---|
Anne Douwe Bouma | Original work |
Hugo Lageneste | 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