dotfiles
ctrlp.vim
dotfiles | ctrlp.vim | |
---|---|---|
21 | 21 | |
45 | 5,516 | |
- | 0.3% | |
9.0 | 1.5 | |
22 days ago | 3 months ago | |
Shell | Vim Script | |
- | GNU General Public License v3.0 or later |
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.
dotfiles
-
How do you organise your snippets?
You put your snippets in a lua file, like here (with syntax according to the luasnip documentation) and invoke such file somewhere in your configuration so that it's required (i. e. "loaded").
-
Function: Attempt to call global 'xxx' (a nil value)
Without knowing your precise folder structure and where you are requiring what is a little hard to understand. However, I do something similar but I have a functions file in my lua folder (without any nested subfolder) and I just require all the .lua stuff in my init.lua here.
-
Select filetype based on Filename?
Some examples here, but as other users suggested it's vim.filetype.add().
-
which snippet engine are you using?
You can find my snippets here: to be honest they are rather simple, so creating such doesn't take me too long. In general I would say either style is fine (or equally ugly :p).
-
I refactored my lua structure and have lost some UI styling ?
Whilst at the moment I do not have time to go through your config, this is my noice config and my lsp. You can copy&paste, I have borders set and normal highlight window. It works, so just copy it and then work back till you add yours.
-
lsp handlers textDocument issue after update Noice
If it can be of help this is my noice configuration and lsp setup. It is working fine for me and I tested updating everything right now.
-
TreeSitter Code Highlight
See examples here.
-
minimal config for sessions management
Here - it is just a config file with a few functions: use it as inspiration! The code is probably not optimised yet (I just got it working and I wanted to share, do let me know if you can make it better): mappings to operate
-
your favorite cheatsheet app ?
I use navi and I am very satisfied: it's very easy to create your own cheatsheets, see for instance what I do here.
-
...and now gh-i to search for issues interactively!
It is macOS with iTerm2 and zsh as shell. The DE is the standard one that comes pre-installed, I didn't make changes; you can find my configurations here
ctrlp.vim
-
I use the default file browser in vim (netrw). I know there are plugins that a lot of people like. Should I switch?
But I mostly use ctrlp when I work with projects. A can recommend vim-ripgrep too, it lets you find strings/patterns in your project files.
-
Feeling super slow...
You may find something like ctrlp useful. Some sort of fuzzy definition search.
-
New User
My basic vim workflow is that I open vim, which opens NerdTree for me by default. I can find the file I want in NerdTree, or I can hit Ctrl+p to open a file with fuzzy searching.
-
Fzf: a tool that will transform your CLI life
I'd personally suggest ctrlp.vim: https://github.com/ctrlpvim/ctrlp.vim
-
Here's a question
ctrlp.vim - Fuzzy File Opener (req)
- Which editor do you use for your Go coding?
-
Buffer switchers like VSCode
There's also some relevant plugins: - ctrlpvim/ctrlp.vim: Active fork of kien/ctrlp.vim—Fuzzy file, buffer, mru, tag, etc finder. - vijaymarupudi/nvim-fzf: A Lua API for using fzf in neovim. - nvim-telescope/telescope.nvim: Find, Filter, Preview, Pick. All lua, all the time. - gelguy/wilder.nvim: A more adventurous wildmenu
-
Use Ctrl-P in a whole project
I have set the line let g:ctrlp_working_path_mode = 'r' and according to the GitHub repo it should allow Ctrl-P to do its searches in the whole project I'm in but it doesn't. It stop at the files opened by Neovim. Did I misunderstood the purpose of the plugin, or a I doing something wrong ?
-
What about changing between files? Do you guys touch the mouse?????
i use ctrlp.vim
-
How many plugins do you use on a daily basis and what are they?
CtrlP
What are some alternatives?
noice.nvim - 💥 Highly experimental plugin that completely replaces the UI for messages, cmdline and the popupmenu.
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
navi - An interactive cheatsheet tool for the command-line
LeaderF - An efficient fuzzy finder that helps to locate files, buffers, mrus, gtags, etc. on the fly for both vim and neovim.
indent-blankline.nvim - Indent guides for Neovim
vim-clap - :clap: Modern performant fuzzy picker, tree-sitter highlighting, and more, for both Vim and NeoVim
vimspector - vimspector - A multi-language debugging system for Vim
nerdtree - A tree explorer plugin for vim.
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
ctrlsf.vim - A text searching plugin mimics Ctrl-Shift-F on Sublime Text 2
dotfiles - My Dotfiles
fzf.vim - fzf :heart: vim