dotvim
vim-fugitive
Our great sponsors
dotvim | vim-fugitive | |
---|---|---|
11 | 114 | |
14 | 19,291 | |
- | - | |
6.1 | 8.1 | |
27 days ago | 22 days ago | |
Vim Script | Vim Script | |
- | - |
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.
dotvim
-
Find input tied to key combinations
I have a whole file full of mappings like this that let Vim recognize various special key combinations from any terminal emulator I've used in the last 20 years. It's a mess: https://github.com/mgedmin/dotvim/blob/master/plugin/keyboard-workarounds.vim
-
Whats Your VIMRC Setup For 2023?
https://github.com/mgedmin/dotvim, accumulated over many years.
-
Show me your well organized vim config.
So, three out of four? https://github.com/mgedmin/dotvim
-
Help with jumping to file location when opening a diff file in Vim
Assuming I understood your desire correctly? I have a function to jump to the original (or patched) file when I press Enter on a line of diff: https://github.com/mgedmin/dotvim/blob/master/ftplugin/diff.vim
-
Python Folding
I use a custom foldexpr. I've been using it for many years, and polished it to do the right thing on all the codebases I've used it on.
-
Working remotely using SSH
My ~/.vim/ is a Git repository and I make it support older versions of Vim by checking for the existence of features before using them, because I couldn't stand my .vimrc emitting any errors on Vim startup. If you're interested, it's here: https://github.com/mgedmin/dotvim/
-
Would it be a mistake to unset timeout?
The primary reason why I need timeout/ttimeout is to have a working Escape key, when you also want to have custom bindings for various key combinations (e.g. ctrl+shift+arrows) that aren't natively recognized for your terminal for some reason, and thus you end up creating compatibility mappings for them.
-
What is the simplest Python autocomplete, snippets, and such on Vim now?
My ~/.vim is here, if you're curious about the details: https://github.com/mgedmin/dotvim/
-
How to manage Vims dot files (version >8.2), if there are complete plugins inside .vim?
I'm perfectly happy with ~/.vim in a separate git repository (mine), with all the plugins installed via vim-plug.
-
What are some of the unique functions you use in your .vimrc?
My vimrc is, uhh, big, but I've tried to keep it commented.
vim-fugitive
-
How to commit part of file in Git
the only reason I do some git stuff in vim and not _always_ in the shell, is because tpope is very thoughtful and fugitive.vim provides nice ways to deal with hunks or hunk partials (visually selecting a range within a hunk, for i.e.)
https://github.com/tpope/vim-fugitive/blob/master/doc/fugiti...
-
GitUI
I agree, navigating blame history is incredibly useful, if only to save you from asking the wrong person about a particular change.
Vim's Fugitive[1] can do this and also in Textmate to. So I would hope that most editor git plugins can.
1. https://github.com/tpope/vim-fugitive
-
What are some plugins that you can't live without?
Git: vim-fugitive and gitsigns.nvim
-
Is it too late to learn emacs as a vim lifer?
You'll want to invest the time in learning Magit, which will change your life once you get the hang of it (and I was a heavy user of Fugitive in Vim previously!), and it's unlikely you'll find a better integration with GDB anywhere else on the planet than with Emacs, though I can't say that empirically. You just need to take the plunge and start learning it, then cut over and take the hit in productivity one day when you're feeling adventurous. You'll ultimately become far more powerful than you've ever been. Especially if you delve into elisp over time. I use Spacemacs, which is bloated and has bugs, but it has so many features that I haven't undertaken the massive endeavor to replace it from scratch yet.
- Fugitive.vim: A Git wrapper so it should be illegal
-
webify.nvim - Open the current file in the remote's web interface (github or gitlab) or yank its URL
For an option that works on Vim, if you already use tpope's vim-fugitive, there's vim-rhubarb (for GitHub) and fugitive-gitlab.vim (for GitLab).
-
Vim users who work without any plugins, how does your vimrc look like?
I replace vim-fugitive with :! git
-
Switching from Emacs. My experience
The only thing I truly miss from Emacs is [Magit](https://magit.vc/) since I still consider it the best git wrapper available. It is just too good. Unfortunately [Neogit](https://github.com/TimUntersberger/neogit) is not quite there yet although I hope it makes it at some point. I didn't like [Fugitive]https://github.com/tpope/vim-fugitive), but I ended up finding a good enough workaround by using [Lazygit](https://github.com/jesseduffield/lazygit) through [Toggleterm](https://github.com/akinsho/toggleterm.nvim).
-
I like Tabasco.
I do think VSCode is a great tool and I recommend it frequently to people, but I still want to set the record straight here. Yes, vim is obviously limited in the sense that as a CLI app it doesn't draw it's own PDF or HTML windows, that's fair. But it can remote control your favorite PDF viewer or browser for roughly the same functionality. I'm currently writing my thesis using vimtex and it's quite smooth. And all the other stuff you mention is implemented quite competently by various plugins like vim-fugitive, coc.nvim, vimspector and copilot.vim.
-
[Neovim] Meilleure intégration GIT pour Neovim?
Edit: je viens de trouver [https://github.com/tpope/vim-fugitive de Val
What are some alternatives?
Dotfiles - My manjaro dotfiles
neogit - An interactive and powerful Git interface for Neovim, inspired by Magit
dotfiles - These are my dotfiles. There are many like them, but these ones are mine.
vim-gitgutter - A Vim plugin which shows git diff markers in the sign column and stages/previews/undoes hunks and partial hunks.
dotfiles - My personal Linux shell settings
lazygit.nvim - Plugin for calling lazygit from within neovim.
scripting_course - :notebook: Books, reference guides and resources on Regular Expressions, CLI one-liners, Scripting Languages and Vim.
gitsigns.nvim - Git integration for buffers
dotfiles - My personal configuration files.
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
dotfiles
lazygit - simple terminal UI for git commands