Vim Usage
- Switch to use nvim difftool and mergetool - nvim plugins that make git integration better - db interface for vim with .env support
This commit is contained in:
parent
a6c89942b8
commit
c15d42808d
@ -52,7 +52,7 @@
|
||||
[difftool "nvim"]
|
||||
cmd = nvim -d \"$LOCAL\" \"$REMOTE\"
|
||||
[mergetool "nvim"]
|
||||
cmd = "nvim -d -c \"wincmd l\" -c \"norm ]c\" \"$LOCAL\" \"$MERGED\" \"$REMOTE\""
|
||||
cmd = nvim -f -c \"Gdiffsplit!\" \"$MERGED\"
|
||||
# }}}
|
||||
|
||||
# {{{ VSCode
|
||||
|
||||
@ -56,6 +56,11 @@ local plugins = {
|
||||
|
||||
-- Git integration
|
||||
{"git", "gitsigns.nvim", "https://github.com/lewis6991/gitsigns.nvim.git"},
|
||||
{"git", "vim-fugitive", "https://github.com/tpope/vim-fugitive.git"},
|
||||
|
||||
-- Tools
|
||||
{"db", "vim-dadbod", "https://github.com/tpope/vim-dadbod.git"},
|
||||
{"env", "dotenv", "https://github.com/tpope/vim-dotenv"},
|
||||
|
||||
-- Quality of life
|
||||
{"editor", "which-key.nvim", "https://github.com/folke/which-key.nvim.git"},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user