Vim Script Vim

Open-source Vim Script projects categorized as Vim | Edit details

Top 23 Vim Script Vim Projects

  • GitHub repo neovim

    Vim-fork focused on extensibility and usability

    Project mention: Is there a <buffer> option for nvim_set_keymap ? | reddit.com/r/neovim | 2022-01-23

    In nightly you can use nvim_add_user_command (see #16752).

  • GitHub repo vim-plug

    :hibiscus: Minimalist Vim Plugin Manager

    Project mention: Getting ncm2 and ncm-r to work | reddit.com/r/neovim | 2022-01-21

    call plug#begin() " assuming you're using vim-plug: https://github.com/junegunn/vim-plug Plug 'ncm2/ncm2' Plug 'roxma/nvim-yarp' " enable ncm2 for all buffers autocmd BufEnter * call ncm2#enable_for_buffer() " IMPORTANT: :help Ncm2PopupOpen for more information set completeopt=noinsert,menuone,noselect " NOTE: you need to install completion sources to get completions. Check " our wiki page for a list of sources: https://github.com/ncm2/ncm2/wiki Plug 'ncm2/ncm2-bufword' Plug 'ncm2/ncm2-path' " R plugin " Plug 'jalvesaq/Nvim-R' " Plug 'ncm2/ncm2' " Plug 'roxma/nvim-yarp' Plug 'gaalcaras/ncm-R' if !has('nvim') Plug 'roxma/vim-hug-neovim-rpc' endif Plug 'ncm2/ncm2-bufword' Plug 'ncm2/ncm2-path' call plug#end()

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • GitHub repo Vim

    The official Vim repository

    Project mention: Help me understand this startup error | reddit.com/r/neovim | 2022-01-23

    local nvim_lsp = require('lspconfig') -- lsp setup -- Set Default Prefix. -- Note: You can set a prefix per lsp server in the lv-globals.lua file vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with( vim.lsp.diagnostic.on_publish_diagnostics, { virtual_text = false, -- { -- prefix = "", -- spacing = 0, -- }, signs = true, underline = true } ) -- symbols for autocomplete vim.lsp.protocol.CompletionItemKind = { "  (Text) ", "  (Method)", "  (Function)", "  (Constructor)", " ﴲ (Field)", "[] (Variable)", "  (Class)", " ﰮ (Interface)", "  (Module)", " 襁 (Property)", "  (Unit)", "  (Value)", " 練 (Enum)", "  (Keyword)", "  (Snippet)", "  (Color)", "  (File)", "  (Reference)", "  (Folder)", "  (EnumMember)", " ﲀ (Constant)", " ﳤ (Struct)", "  (Event)", "  (Operator)", "  (TypeParameter)" } local function documentHighlight(client, bufnr) -- Set autocommands conditional on server_capabilities if client.resolved_capabilities.document_highlight then vim.api.nvim_exec( [[ hi LspReferenceRead cterm=bold ctermbg=red guibg=#464646 hi LspReferenceText cterm=bold ctermbg=red guibg=#464646 hi LspReferenceWrite cterm=bold ctermbg=red guibg=#464646 augroup lsp_document_highlight autocmd! * autocmd CursorHold lua vim.lsp.buf.document_highlight() autocmd CursorMoved lua vim.lsp.buf.clear_references() augroup END ]], false ) end end local lsp_config = {} function lsp_config.common_on_attach(client, bufnr) documentHighlight(client, bufnr) end function lsp_config.tsserver_on_attach(client, bufnr) lsp_config.common_on_attach(client, bufnr) client.resolved_capabilities.document_formatting = false end local function make_config() return { -- map buffer local keybindings when the language server attaches on_attach = on_attach, } end local function setup_servers() require'lspinstall'.setup() local servers = require'lspinstall'.installed_servers() table.insert(servers, "r_language_server") for _, server in pairs(servers) do local config = make_config() -- language specific config if server == "html" then config.filetypes = {"html", "blade"}; end if server == "php" then config.init_options = { licenceKey = "/Users/fabianmundt/iCloud/Documents/Sicherheitscodes/intelephense.txt"; }; end if server == "lua" then config.settings = { Lua = { diagnostics = { -- Get the language server to recognize the `vim` global globals = {'vim'}, } } } end nvim_lsp[server].setup(config) end end setup_servers() -- Automatically reload after `:LspInstall ` so we don't have to restart neovim require'lspinstall'.post_install_hook = function () setup_servers() -- reload installed servers vim.cmd("bufdo e") -- this triggers the FileType autocmd that starts the server end -- Automatically reload after `:LspInstall ` so we don't have to restart neovim require'lspinstall'.post_install_hook = function () setup_servers() -- reload installed servers vim.cmd("bufdo e") -- this triggers the FileType autocmd that starts the server end -- LSP omnifunc sync version for MUComplete chains local omnifunc_cache function _G.omnifunc_sync(findstart, base) local pos = vim.api.nvim_win_get_cursor(0) local line = vim.api.nvim_get_current_line() if findstart == 1 then -- Cache state of cursor line and position due to the fact that it will -- change at the second call to this function (with `findstart = 0`). See: -- https://github.com/vim/vim/issues/8510. -- This is needed because request to LSP server is made on second call. -- If not done, server's completion mechanics will operate on different -- document and position. omnifunc_cache = {pos = pos, line = line} -- On first call return column of completion start local line_to_cursor = line:sub(1, pos[2]) return vim.fn.match(line_to_cursor, '\\k*$') end -- Restore cursor line and position to the state of first call vim.api.nvim_set_current_line(omnifunc_cache.line) vim.api.nvim_win_set_cursor(0, omnifunc_cache.pos) -- Make request local bufnr = vim.api.nvim_get_current_buf() local params = vim.lsp.util.make_position_params() local result = vim.lsp.buf_request_sync(bufnr, 'textDocument/completion', params, 2000) if not result then return {} end -- Transform request answer to list of completion matches local items = {} for _, item in pairs(result) do if not item.err then local matches = vim.lsp.util.text_document_completion_list_to_complete_items(item.result, base) vim.list_extend(items, matches) end end -- Restore back cursor line and position to the state of this call's start -- (avoids outcomes of Vim's internal line postprocessing) vim.api.nvim_set_current_line(line) vim.api.nvim_win_set_cursor(0, pos) return items end

  • GitHub repo SpaceVim

    A community-driven modular vim/neovim distribution - The ultimate vimrc

    Project mention: SpaceVim autoformat | reddit.com/r/rust | 2022-01-23
  • GitHub repo nerdtree

    A tree explorer plugin for vim.

    Project mention: How to Configure Vim as Your Main Python IDE | dev.to | 2022-01-16

    NERDTree is on the lookout for a new maintainer. See issue #1280 to submit your name for consideration.

  • GitHub repo vim-airline

    lean & mean status/tabline for vim that's light as air

    Project mention: How to Configure Vim as Your Main Python IDE | dev.to | 2022-01-16

    the cool yellow line in the bottom of my Vim at the screenshot above is called statusbar. there are some plugins that you can use to make your statusbar looks better. for example, vim airline and vim lightline. I myself use vim airline for my statusbar. to install this plugin, you can use some plugin-manager that you prefer, like vundle or vim-plug. but, if you use Vim 8, you can use vim native package manager. to install vim airline using vim native package manager, do this step :

  • GitHub repo vim-go

    Go development plugin for Vim

    Project mention: Anyone write Go full time using vim? | reddit.com/r/golang | 2022-01-05

    At first Ihad struggled with some common "IDE" tasks. But then I discovered vim-go and realized that it could do pretty much everything that I need and even more.

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo vim-galore

    :mortar_board: All things Vim!

    Project mention: How do I get into the vim world. | reddit.com/r/vim | 2021-12-20

    I'd also recommend this vim-galore, which I came upon only yesterday! It's a fairly comprehensive get-started resource on all the basic vim things you need to know to start taking advantage of it.

  • GitHub repo ale

    Check syntax in Vim asynchronously and fix files, with Language Server Protocol (LSP) support

    Project mention: vim.fn.setqflist items disappearing | reddit.com/r/neovim | 2021-11-24

    Answering my own question, it turns out that such misbehaviour was caused by ale with the option

  • GitHub repo fzf.vim

    fzf :heart: vim

    Project mention: What are the most essential keyboard shortcuts to remember? | reddit.com/r/vim | 2022-01-18
  • GitHub repo vim-gitgutter

    A Vim plugin which shows git diff markers in the sign column and stages/previews/undoes hunks and partial hunks.

    Project mention: 10 Vim plugins I can’t live without (and how to install them?) | dev.to | 2022-01-04

    Vim-Gitgutter

  • GitHub repo vimwiki

    Personal Wiki for Vim

    Project mention: GitHub link | reddit.com/r/vimwiki | 2022-01-19
  • GitHub repo macvim

    Vim - the text editor - for macOS

    Project mention: What are your favourite mac apps ? | reddit.com/r/macapps | 2021-10-13

    Mac Vim - editing text / code

  • GitHub repo vim-easymotion

    Vim motions on speed!

    Project mention: Optimizing fF and tT | reddit.com/r/vim | 2021-12-27

    I use Easymotion and have the following in my .vimrc

  • GitHub repo lightline.vim

    A light and configurable statusline/tabline plugin for Vim

    Project mention: How to Configure Vim as Your Main Python IDE | dev.to | 2022-01-16

    the cool yellow line in the bottom of my Vim at the screenshot above is called statusbar. there are some plugins that you can use to make your statusbar looks better. for example, vim airline and vim lightline. I myself use vim airline for my statusbar. to install this plugin, you can use some plugin-manager that you prefer, like vundle or vim-plug. but, if you use Vim 8, you can use vim native package manager. to install vim airline using vim native package manager, do this step :

  • GitHub repo emmet-vim

    emmet for vim: http://emmet.io/

    Project mention: anyway to make tags autoclose i.e in jsx or html files | reddit.com/r/neovim | 2022-01-19

    And I often use emmet (https://github.com/mattn/emmet-vim) or snippets (https://github.com/rafamadriz/friendly-snippets) for creating tags, and vim-surround (https://github.com/tpope/vim-surround) for adding/deleting surrounding tags.

  • GitHub repo tagbar

    Vim plugin that displays tags in a window, ordered by scope

    Project mention: pretty-fold.nvim - plugin to easily create fancy foldtext and preview folded region in floating window | reddit.com/r/neovim | 2022-01-06

    An alternative is something like https://github.com/preservim/tagbar

  • GitHub repo Python-mode

    Vim python-mode. PyLint, Rope, Pydoc, breakpoints from box.

    Project mention: Moved from IDE to Terminal + VIM. Need tips for managing it correctly. | reddit.com/r/vim | 2021-12-09

    If you're happy with a plugin, pymode (https://github.com/python-mode/python-mode) is worth a look. Map running to r (or whatever works for you) makes running easy. End result is IDE-like.

  • GitHub repo vim.wasm

    Vim editor ported to WebAssembly

    Project mention: Why do most self-taught programmers end up doing front-end web devleopment? | reddit.com/r/cscareerquestions | 2021-10-31

    If you want a C back end, give https://github.com/rhysd/vim.wasm a look.

  • GitHub repo vim-polyglot

    A solid language pack for Vim.

    Project mention: 10 Vim plugins I can’t live without (and how to install them?) | dev.to | 2022-01-04

    Vim-Polyglot

  • GitHub repo vim-devicons

    Adds file type icons to Vim plugins such as: NERDTree, vim-airline, CtrlP, unite, Denite, lightline, vim-startify and many more

    Project mention: vim-devicons won't display on Windows Terminal with WSL2. | reddit.com/r/neovim | 2022-01-04

    :set number :set relativenumber :set autoindent :set tabstop=2 :set shiftwidth=2 :set smarttab :set softtabstop=2 :set mouse=a :set guifont=Fira\ Code\ 11 call plug#begin() Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw) Plug 'https://github.com/preservim/nerdtree' " NerdTree Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc Plug 'https://github.com/vim-airline/vim-airline' " Status bar Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme Plug 'https://github.com/neoclide/coc.nvim' " Auto Completion Plug 'https://github.com/ryanoasis/vim-devicons' " Developer Icons Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation Plug 'https://github.com/terryma/vim-multiple-cursors' " CTRL + N for multiple cursors Plug 'https://github.com/rstacruz/vim-closer' " Auto braces & bracket closing set encoding=UTF-8 call plug#end() nnoremap :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nmap :TagbarToggle :set completeopt-=preview " For No Previews set termguicolors :colorscheme onehalfdark " Setting Neovim color theme let g:NERDTreeDirArrowExpandable="+" let g:NERDTreeDirArrowCollapsible="~" " air-line let g:airline_powerline_fonts = 1 let g:airline_theme='onehalfdark'

  • GitHub repo vim-startify

    :link: The fancy start screen for Vim.

    Project mention: Favourite files plugin | reddit.com/r/neovim | 2022-01-22

    I use Startify, which does a good job with sessions and gives you the ability to create bookmarks and display them on the start screen. My mappings to create a new window or tab always end with invoking Startify, so it is like the new tab screen that web browsers have, showing bookmarks and recent files.

  • GitHub repo nerdcommenter

    Vim plugin for intensely nerdy commenting powers

    Project mention: Vim: Delightful settings and plugins | dev.to | 2021-12-15

    NERDCommenter

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-01-23.

Vim Script Vim related posts

Index

What are some of the best open-source Vim projects in Vim Script? This list will help you:

Project Stars
1 neovim 50,168
2 vim-plug 26,099
3 Vim 25,953
4 SpaceVim 17,675
5 nerdtree 16,542
6 vim-airline 16,009
7 vim-go 14,189
8 vim-galore 12,721
9 ale 11,447
10 fzf.vim 7,541
11 vim-gitgutter 7,425
12 vimwiki 7,030
13 macvim 6,737
14 vim-easymotion 6,285
15 lightline.vim 5,943
16 emmet-vim 5,820
17 tagbar 5,360
18 Python-mode 5,298
19 vim.wasm 4,937
20 vim-polyglot 4,742
21 vim-devicons 4,537
22 vim-startify 4,534
23 nerdcommenter 4,483
Find remote jobs at our new job board 99remotejobs.com. There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
scoutapm.com