lf.vim
Lf integration in vim and neovim (by ptzz)
bufexplorer
BufExplorer Plugin for Vim (by jlanzarotta)
lf.vim | bufexplorer | |
---|---|---|
6 | 8 | |
170 | 502 | |
- | - | |
4.4 | 2.3 | |
about 2 months ago | about 1 year ago | |
Vim Script | Vim Script | |
- | BSD 3-clause "New" or "Revised" 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.
lf.vim
Posts with mentions or reviews of lf.vim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-30.
-
[Plugin] ranger.nvim
You probably already checked it out but https://github.com/ptzz/lf.vim
- New file explorer: oil.nvim, a modern take on vim-vinegar/vidir
- Which file browser do you use ?
-
Any plugin that gives me a floating file manager? I just need it to do operations like move, rename, copy and delete
You can use terminal file manager (e.g. https://github.com/gokcehan/lf) inside vim-floaterm (https://github.com/voldikss/vim-floaterm#use-with-command-line-tools , for lf there is also additive plugin https://github.com/ptzz/lf.vim) You can than map something like this: nnoremap e :Lf nnoremap w :LfWorkingDirectory
-
File tree browser faster than NERDTree
After trying a lot of terminal file browsers I ended up using lf and that's what I use with vim as well. ptzz/lf.vim
-
lf.vim - fullscreen estate LF experience
For those who are not comfortable using floating window concept in `official` lf plugin or get accustomed to ranger.vim but eager to start using LF please welcome lf.vim.
bufexplorer
Posts with mentions or reviews of bufexplorer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-08.
-
Simple Buffer Management (outline)
I have those two installed, but I hardly use it. I still use good old one like https://github.com/jlanzarotta/bufexplorer.
-
Buffer switchers like VSCode
To open new buffers I usually use telescope. But to switch quickly between files I'm currently working on, I use Ctrl+6 (mapped to tab) or BufExplorer https://github.com/jlanzarotta/bufexplorer (mapped to Ctrl+tab). With BufExplorer you can also close opened buffers easily.
-
What's the best way to move through buffers?
In addition to all those ways Vim offers by default, there is a plugin that could be interesting for you: https://github.com/jlanzarotta/bufexplorer When the buffer explorer opens, you see a list and can navigate with hjkl. An Enter will open this buffer.
-
Trying a IDE like on Vim after a week to setup Emacs (kind of fail).
execute pathogen#infect() syntax on set number set incsearch filetype plugin indent on "" System """"" Ale let g:ale_sign_column_always = 1 let g:ale_sign_error = '>>' let g:ale_sign_warning = '--' " Set this. Airline will handle the rest. let g:airline#extensions#ale#enabled = 1 let g:ale_echo_msg_error_str = 'E' let g:ale_echo_msg_warning_str = 'W' let g:ale_echo_msg_format = '[%linter%] %s [%severity%]' """" Tagbar nmap :TagbarToggle """" AutoComplete " It needs https://github.com/prabirshrestha/asyncomplete-lsp.vim inoremap pumvisible() ? "\" : "\" inoremap pumvisible() ? "\" : "\" inoremap pumvisible() ? asyncomplete#close_popup() : "\" "" Force refresh imap (asyncomplete_force_refresh) " allow modifying the completeopt variable, or it will " be overridden all the time let g:asyncomplete_auto_completeopt = 0 set completeopt=menuone,noinsert,noselect,preview autocmd! CompleteDone * if pumvisible() == 0 | pclose | endif """" Syntastic " https://github.com/vim-syntastic/syntastic "set statusline+=%#warningmsg# "set statusline+=%{SyntasticStatuslineFlag()} "set statusline+=%* "let g:syntastic_always_populate_loc_list = 1 "let g:syntastic_auto_loc_list = 1 "let g:syntastic_check_on_open = 1 "let g:syntastic_check_on_wq = 0 """" LSP if executable('clangd') au User lsp_setup call lsp#register_server({ \ 'name': 'clangd', \ 'cmd': {server_info->['clangd', '-background-index']}, \ 'whitelist': ['c', 'cpp', 'objc', 'objcpp'], \ }) endif function! s:on_lsp_buffer_enabled() abort setlocal omnifunc=lsp#complete setlocal signcolumn=yes if exists('+tagfunc') | setlocal tagfunc=lsp#tagfunc | endif nmap gd (lsp-definition) nmap gs (lsp-document-symbol-search) nmap gS (lsp-workspace-symbol-search) nmap gr (lsp-references) nmap gi (lsp-implementation) nmap gt (lsp-type-definition) nmap rn (lsp-rename) nmap [g (lsp-previous-diagnostic) nmap ]g (lsp-next-diagnostic) nmap K (lsp-hover) inoremap lsp#scroll(+4) inoremap lsp#scroll(-4) let g:lsp_format_sync_timeout = 1000 autocmd! BufWritePre *.rs,*.go call execute('LspDocumentFormatSync') " refer to doc to add more commands endfunction augroup lsp_install au! " call s:on_lsp_buffer_enabled only for languages that has the server registered. autocmd User lsp_buffer_enabled call s:on_lsp_buffer_enabled() augroup END "" Folding set foldmethod=expr \ foldexpr=lsp#ui#vim#folding#foldexpr() \ foldtext=lsp#ui#vim#folding#foldtext() """" Nerdtree " https://github.com/preservim/nerdtree nnoremap n :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nnoremap :NERDTreeFind " Start NERDTree and put the cursor back in the other window. autocmd VimEnter * NERDTree | wincmd p " Close the tab if NERDTree is the only window remaining in it. autocmd BufEnter * if winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif " If another buffer tries to replace NERDTree, put it in the other window, and bring back NERDTree. autocmd BufEnter * if bufname('#') =~ 'NERD_tree_\d\+' && bufname('%') !~ 'NERD_tree_\d\+' && winnr('$') > 1 | \ let buf=bufnr() | buffer# | execute "normal! \w" | execute 'buffer'.buf | endif " Design let g:NERDTreeDirArrowExpandable = '▸' let g:NERDTreeDirArrowCollapsible = '▾' """" NerdCommenter " Create default mappings let g:NERDCreateDefaultMappings = 1 " Add spaces after comment delimiters by default let g:NERDSpaceDelims = 1 " Use compact syntax for prettified multi-line comments let g:NERDCompactSexyComs = 1 " Align line-wise comment delimiters flush left instead of following code indentation let g:NERDDefaultAlign = 'left' " Set a language to use its alternate delimiters by default let g:NERDAltDelims_java = 1 " Add your own custom formats or override the defaults let g:NERDCustomDelimiters = { 'c': { 'left': '/**','right': '*/' } } " Allow commenting and inverting empty lines (useful when commenting a region) let g:NERDCommentEmptyLines = 1 " Enable trimming of trailing whitespace when uncommenting let g:NERDTrimTrailingWhitespace = 1 " Enable NERDCommenterToggle to check all selected lines is commented or not let g:NERDToggleCheckAllLines = 1 """" IndentLine "let g:indentLine_setColors = 0 "let g:indentLine_defaultGroup = 'SpecialKey' " Vim let g:indentLine_color_term = 239 " GVim let g:indentLine_color_gui = '#A4E57E' " none X terminal let g:indentLine_color_tty_light = 7 " (default: 4) let g:indentLine_color_dark = 1 " (default: 2) " Background (Vim, GVim) let g:indentLine_bgcolor_term = 202 let g:indentLine_bgcolor_gui = '#FF5F00' let g:indentLine_char_list = ['|', '¦', '┆', '┊'] """" bufexplorer " https://github.com/jlanzarotta/bufexplorer
-
File tree browser faster than NERDTree
I've been using BufExplorer for several years now. It's basically :ls with convenient navigation.
-
FZF Buffer Delete
I love FZF but to switch and manage buffers I still use BufExplorer. We can easily wipe or delete buffers, it keeps track of the buffers opened in each tab (this way it's easy to have tabs for different aspects of the project I'm working on), etc.
-
Converting from an IDE, biggest issue is navigating between files efficiently
I've been using BufExplorer for over a decade haven't really seen anything worth switching to so far...
-
Do not get the benefit of tabs
tabs for me are very useful, I use tabs with every file that I know I have to change, when I want to change the buffer I use https://github.com/jlanzarotta/bufexplorer if the buffer is opened in another tab also the plugin change the tab
What are some alternatives?
When comparing lf.vim and bufexplorer you can also consider the following projects:
nnn.nvim - File manager for Neovim powered by nnn.
nvim-tree.lua - A file explorer tree for neovim written in lua
vim-ctrlspace - Vim Space Controller
fzf.vim - fzf :heart: vim
coc-explorer - 📁 Explorer for coc.nvim
reprosjession.nvim
barbar.nvim - The neovim tabline plugin.
ranger.vim - Ranger integration in vim and neovim
vim-projectionist - projectionist.vim: Granular project configuration
telescope-file-browser.nvim - File Browser extension for telescope.nvim
minibufexpl.vim - Elegant buffer explorer - takes very little screen space
lf.vim vs nnn.nvim
bufexplorer vs nvim-tree.lua
lf.vim vs nvim-tree.lua
bufexplorer vs vim-ctrlspace
lf.vim vs fzf.vim
bufexplorer vs coc-explorer
lf.vim vs reprosjession.nvim
bufexplorer vs barbar.nvim
lf.vim vs ranger.vim
bufexplorer vs vim-projectionist
lf.vim vs telescope-file-browser.nvim
bufexplorer vs minibufexpl.vim