supertab
vim-lsp
supertab | vim-lsp | |
---|---|---|
6 | 81 | |
3,160 | 3,017 | |
- | - | |
0.0 | 6.4 | |
almost 3 years ago | 6 days ago | |
Vim Script | Vim Script | |
- | MIT License |
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.
supertab
-
Favorite vimrc configs for coding?
vim-lsp and ccls, supertab for auto-completion
-
Which vim plugins do not have a lua equivalent yet?
supertab? (one of the "install and forget" plugins I'm using for years)
-
Is it unorthodox to write java purely in Vim/CLI and not use an IDE?
Extra: for extra intellisense, you can use https://github.com/dense-analysis/ale (I don't - I like to stick to vanilla Vim as much as possible), https://github.com/ervandew/supertab (for completions using TAB instead of Ctrl-P), and https://github.com/jiangmiao/auto-pairs (automatic bracket insertion).
-
Just discovered emacs as a long term vim user and it's incredible
"basic visual settings set number set linebreak "text type settings set encoding=utf-8 "Remapping keys inoremap jk nnoremap j gj nnoremap k gk "to quickly open NERDTree filebrowser. nnoremap :NERDTree "to open files with external programs from paths written in vim. nnoremap gF :!xdg-open "to make Y behave similar to D and C nnoremap Y y$ "to make a new line after the word without entering insert mode nnoremap e a "insert a new line without entering insert mode nnoremap o ok nnoremap O Oj "search settings set hlsearch set incsearch "clipboard settings set clipboard=unnamedplus "for use of Vim plug plugin manager. call plug#begin() " To change the surroundings a text. Plug 'https://github.com/tpope/vim-surround' " A Vim Plugin for Lively Previewing LaTeX PDF Output " Use this command to start the previewer :LLPStartPreview Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' } Plug 'https://github.com/vimwiki/vimwiki' "It is a file browser and does basic file ops. Plug 'preservim/nerdtree' "It highlights most movement commands like w,j,f,t,/ etc.Triggered by "leader twice plus the movement key. Plug 'https://github.com/easymotion/vim-easymotion.git' "enables completion with tab instead of control p. Plug 'https://github.com/ervandew/supertab' "To edit csv files in vim and display them nicely. Plug 'chrisbra/csv.vim' call plug#end() "settings required by plugins. "to use markdown in vimwiki instead of learning vimwiki syntax let g:vimwiki_list = [{'path': '~/vimwiki/', \ 'syntax': 'markdown', 'ext': '.md'}] "Self defined commands which can be executed on vim command line.(must start "with caps) "This is shortcut for quickly sourcing vimrc. command Src source ~/.vimrc "shortcut to delete entire file. command Dal norm ggdG "shortcut to copy entire file. command Yal norm ggyG command Erc vsplit ~/.vimrc "to make presentations with pandoc using source markdown and then opening the pdf through external viewer. command Mkppt :!pandoc % -t beamer -o output.pdf ; xdg-open output.pdf "changing the default leader key which is "\" let mapleader = "\" "auto commands to do stuff based on certain events "This inserts # when leader + c key is pressed in a python file. autocmd filetype python nnoremap c I# autocmd filetype python nnoremap C ^x "saving macros or registers. "macro for anki cloze deletion let @b="f:a{{c1::jkA}}jkj0"
-
is it possible to have autocompletion where we incrementally complete the word instead of all at once?
Currently I use supertab : https://github.com/ervandew/supertab
-
Sublime text like autocomplete in vim
There are plugins that may improve this experience for you, like supertab, vimcompletesme, or vim-mucomplete. You can find more completion plugins here.
vim-lsp
-
Using SonarLint language server in Vim?
Has anybody managed or got an idea how to make SonarLint Language Server work with e.g. vim-lsp?
-
Vim Golang syntax is ugly
You need to configure a language server. For C++ it's a bit tricky, so good luck with Go. There are other plugins that provide semantic highlighting using LSP, for example https://github.com/prabirshrestha/vim-lsp (I didn't try it, but it seems good).
-
Vim-writegood: nothing, but a simple Vim9 wrapper around write-good.
ALE can use LSP as well. And if you are using vim-lsp, you can use the same instance of server for both with vim-lsp-ale bridge plugin.
-
small vimrc and lsp?
I feel the same way. Not a one-liner but the smallest config LSP plugin I've found is vim-lsp. It works in both Vim and Neovim.
-
Should I move to NeoVim?
The only major feature that Neovim still has is a built in LSP client. But I find the built in Neovim LSP client is unusably buggy, you're much better off using any of the other LSP plugins. What I use is vim-lsp, but I've tried all of the major lsp client, they are all significantly better than the built in Neovim LSP.
- Starting with linux, my experience
- Does vim have a built in/plugin version of vscode's command click?
-
install lsp in vim
As for install/configuration, all you need is the latest Vim, the plugins I mentioned, and that bit in your vimrc. You can do a bit better than that if you copy the entire config with mappings from the vim-lsp GitHub page.
-
How to improve deoplete and vim-lsp (pylsp /jedi-language-server)
I have a problem with Deoplete and Vim-LSP completion (Python's Pylsp and Jedi-Language-Server). The suggestion is much less, and it also misses a lot of opportunities to suggest compared to Deoplete-Jedi, which literally defeats the former by a large margin. Is there a setting to make this duo works like deoplete with deoplete-jedi?
-
The Ruff python linter is insanely good
- add the [prabirshrestha/vim-lsp](https://github.com/prabirshrestha/vim-lsp) plugin and config to your `.vimrc` (note: `pylsp` is *not* necessary).
What are some alternatives?
VimCompletesMe - You don't Complete Me; Vim Completes Me! A super simple, super minimal, super light-weight tab completion plugin for Vim.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
vim-mucomplete - Chained completion that works the way you want!
YouCompleteMe - A code-completion engine for Vim
coc-java - Java extension for coc.nvim
python-lsp-server - Fork of the python-language-server project, maintained by the Spyder IDE team and the community
vim-codefmt - Vim plugin for syntax-aware code formatting
vim-lsc - A vim plugin for communicating with a language server
vim-table-mode - VIM Table Mode for instant table creation.
jedi-language-server - A Python language server exclusively for Jedi. If Jedi supports it well, this language server should too.