vimfiles
vim-unimpaired
vimfiles | vim-unimpaired | |
---|---|---|
12 | 52 | |
- | 3,247 | |
- | - | |
- | 0.0 | |
- | 9 months ago | |
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.
vimfiles
-
How to make Language specific keywords and comments italic?
Here's how I override some groups (requires some Vim script understanding) https://gitlab.com/egzvor/vimfiles/-/blob/b3f6916ae9b639e0914b136a7d53f86abeca12ba/pack/integrated/start/vim-mycolors/autoload/mycolors.vim
-
plugin vs package?
Take a look at my config. I extracted this plugin into its own package in order to have an autoload directory specifically for it https://gitlab.com/egzvor/vimfiles/-/blob/main/pack/integrated/start/vim-textobjects/plugin/textobjects.vim
- Whats Your VIMRC Setup For 2023?
- Project & File navigation
- How do you decide what to put in ~/.vim/after/ftplugin/foo.vim vs ~/.vim/ftplugin/foo.vim?
- Keybinding to remove a quickfix entry
-
Why should I be working directly with buffers over windows?
:b filen - not sure what you don't like about it, but I use it for switching between files all the time. Or some version of it. You can improve it by using :ls t:b filen (you can map this! nnoremap b :buffers t:buffer) or go as far as creating a plugin to list buffers in a certain order (https://gitlab.com/egzvor/vimfiles/-/blob/main/plugin/buflist.vim). You could also try a fuzzy finder instead.
-
A single* function plugin to associate buffers with anything
[2] I haven't extracted it from my dotfiles, but you can just copy it https://gitlab.com/egzvor/vimfiles/-/blob/main/plugin/marks-maps.vim.
-
Python developers, how do you use vim/nvim?
Specific to Python dev, I used ALE for linting and UltiSnips for snippets. My config is here https://gitlab.com/egzvor/vimfiles/vimrc.
-
Show most recently used and most frequently visited buffers
Implementation in my config https://gitlab.com/egzvor/vimfiles/-/blob/main/plugin/buflist.vim
vim-unimpaired
-
Alternative to vim-textmanip plugin? (move selected blocks of text)
I don't think it moves blocks, but I utilize the venerable vim-unimpaired for basic text movement (and for inserting empty lines from normal mode).
-
How to create a line downwards without changing location of cursor?
vim-unimpaired gives a mapping for that for ] (and [ to insert an empty lines above the cursor).
-
what does o and O really do?
I use https://github.com/tpope/vim-unimpaired for this.
-
Install vim plugin (for XML/HTML encode/decode)
Is it possible to install a Vim plugin (like https://github.com/tpope/vim-unimpaired/tree/master)?
-
What do you really use to steer the cursor?
HJKL for movement, then mapped arrow keys to this (requires unimpaired): " Normal mode: indent or move line nmap [e nmap ]e nmap << nmap >> " Visual mode: indent or move selection vmap [egv vmap ]egv vmap >gv
-
LPT: RTFM. I routinely find something useful every time I read not only what I was looking for, but also something adjacent
Just now I was looking at the manual entry for vim-unimpaired, since I couldn't remember the incantation for swapping two lines. (It's ]e and [e for swap forward and swap backward.)
-
How do you manage buffers ?
Switch buffers with :b or the ]b [b bindings from unimpaired.
-
Markdown syntax + conceal on `.md` files
and a nice toggle remap that I found here to edit Markdown without conceal: vim.keymap.set("n", "tc", ":setlocal =&conceallevel ? 'conceallevel=0' : 'conceallevel=2'", { desc = "[T]oggle [C]onceallevel"} )
-
Using preconfigured distro vs rolling your own config
imo there are even few plugin authors who actually understand this well, and certainly no distro author does. Some of the few examples of good "vim philosophy" plugins are vim-sneak and vim-unimpaired.
-
Which vim plugins do not have a lua equivalent yet?
https://github.com/tpope/vim-unimpaired. I still use it a lot and it’s one of the few remaining vimscript plug-ins I have. It is also quite slow to load. It would be fantastic to have a Lua equivalent.
What are some alternatives?
volt - A meta-level vim package manager
miryoku - Miryoku is an ergonomic, minimal, orthogonal, and universal keyboard layout.
dotfiles - My personal Linux shell settings
nvim-bqf - Better quickfix window in Neovim, polish old quickfix window.
cpeditor.nvim - Competitive programming neovim plugin
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
dotfiles - My personal configuration files.
better-escape.vim - A Vim/Neovim plugin for escaping insert mode without lagging.
dotfiles - These are my dotfiles. There are many like them, but these ones are mine.
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
dotfiles - All in one dotfiles: Vim/Neovim/Tmux/Zsh/Bash/Docker/Python/CLI...
coc-tsserver - Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript