
Research
Security News
Malicious npm Packages Use Telegram to Exfiltrate BullX Credentials
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
A manager for the under-utilized `mksession` command in vim
If you use vim or neovim on a daily basis and work in large codebases, it is probably not uncommon for you to have 10+ tabs open at a time, with various splits. Once you close this vim session the layout is lost to the ethers. the
mksession
command in vim(neovim) can save you, thus saving the session to a directory, promising to return you to your work exactly how you left it. However, the problem is most of us accrue many of these session files scattered about, personally I have 28 vim session files, easily loading them, rememembering the context of each one, and removing stale sessions becomes a hassle. entervsm
(Vim Session Manager), it allows you to list, open, and remove sessions files, either interactively or by name.
pip install vim-session-manager
# Copy and run this command
pip install git+https://github.com/mattcoding4days/vsm.git#egg=vim_session_manager --user
NOTE that an environement variable
VIM_SESSIONS
is expected on the system, if it is not definedvsm
will default to~/.config/vim_sessions
when it looks for your session files.
bash/zsh export VIM_SESSIONS="path/to/where/you/want/to/store/your/sessions"
fish set -Ux VIM_SESSIONS "path/to/where/you/want/to/store/your/sessions"
Add the below snippet to your
.vimrc
orinit.vim
to make creating new session files much easier.
if isdirectory(expand($VIM_SESSIONS))
nnoremap mk :mksession $VIM_SESSIONS/
nnoremap mo :mksession! $VIM_SESSIONS/
else
nnoremap mk :echo "VIM_SESSIONS directory does not exist, get vim session manager at https://github.com/mattcoding4days/vsm"<CR>
nnoremap mo :echo "VIM_SESSIONS directory does not exist, get vim session manager at https://github.com/mattcoding4days/vsm"<CR>
endif
Note that only the arrow keys are supported for movement, and the space bar is used to select/unselect
The project is managed by Python Poetry and uses python >= 3.10.1. Note: mypy static analyzing currently will not work as it does not yet support the match statement
NOTE: if you are installing poetry, DO NOT install it with pip
curl -sSL https://install.python-poetry.org | python3 -
poetry install
pytest
poetry shell
vsm --help
Vim Session Manager uses the following Python libraries
To be completed
FAQs
A small python program for managing vim sessions
We found that vim-session-manager demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.
Security News
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.