vim-readonly
:eyes: Automatically set readonly option on specific files (by Xvezda)
neovim
:star2: Cool & Modularized vim configurations to work like an IDE (by kyoz)
vim-readonly | neovim | |
---|---|---|
2 | 1 | |
4 | 27 | |
- | - | |
0.0 | 0.0 | |
over 3 years ago | about 2 years ago | |
Vim Script | Vim Script | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vim-readonly
Posts with mentions or reviews of vim-readonly.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-22.
-
Protect rust source files under ~/.rustup/toolchains/ with NeoVim
_G.protect_rust_files = function() -- protect rust source files under ~/.rustup/toolchains/ -- idea from https://github.com/Xvezda/vim-readonly/blob/master/plugin/readonly.vim -- and https://github.com/rust-lang/rustup/issues/2550 local protect_dirs = { "" .. vim.fn.expand "~" .. "/.rustup/toolchains/", "" .. vim.fn.expand "~" .. "/.cargo/git/", } for _, prefix in ipairs(protect_dirs) do if string.match(vim.fn.expand "%:p", prefix) ~= nil then vim.bo.readonly = true vim.bo.modifiable = false end end end
_G.protect_rust_toolchain = function() -- protect rust source files under ~/.rustup/toolchains/ -- idea from https://github.com/Xvezda/vim-readonly/blob/master/plugin/readonly.vim -- and https://github.com/rust-lang/rustup/issues/2550 local rustup_toolchain_root = "" .. vim.fn.expand "~" .. "/.rustup/toolchains/" if string.match(vim.fn.expand "%:p", rustup_toolchain_root) ~= nil then vim.bo.readonly = true vim.bo.modifiable = false end end vim.api.nvim_command("autocmd BufReadPost *.rs lua protect_rust_toolchain()")
neovim
Posts with mentions or reviews of neovim.
We have used some of these posts to build our list of alternatives
and similar projects.
What are some alternatives?
When comparing vim-readonly and neovim you can also consider the following projects:
Rustup - The Rust toolchain installer
vim-for-devops - An awesome lightweight Vim for DevOps engineers.
nvim-config - following HEAD (nightly build) neovim lua config, for Linux only, clone it to `~/.config/nvim`
vim-resize-mode - A Vim mode for easier window resizing
vim-startify - :link: The fancy start screen for Vim.
SpaceVim - A community-driven modular vim/neovim distribution - The ultimate vimrc