add vim surround plugin

fix asdf loading
This commit is contained in:
Pim Kunis 2023-01-30 10:14:56 +01:00
parent ebd4dfffcf
commit 9676d13187
4 changed files with 18 additions and 6 deletions

View file

@ -15,6 +15,9 @@ My current setup is [Regolith OS](https://regolith-desktop.com/) which is basica
- some kind of tag setup with: bootstrap, update, etc.
- i3 app shortcuts
- Configuration for desktop at uni. It should be really similar, except syncthing should have a new keypair. Also some applications are not necessary, e.g. nicotine+ and virtualbox.
- default neovim editor
- dropdown autocomplete
- I think fzf is not cloned?
Would like Ansible Vault to check in keypair for syncthing.
However, then I would need a password to unlock the vault.
@ -28,7 +31,8 @@ As an intermediate solution, I can just put the password in keepass...
#### Neovim
- More cool plugins :)
- That fast movement plugin that shows jump locations, not sure what it was called.
- gcc comment
- indenting
## Long-term TODO

View file

@ -101,5 +101,6 @@ alias vim='nvim'
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
# asdf command
PATH=$PATH:~/.asdf/bin
# asdf
. "$HOME/.asdf/asdf.sh"
. "$HOME/.asdf/completions/asdf.bash"

View file

@ -17,9 +17,6 @@ return require('packer').startup(function()
-- Git line decorations
use 'lewis6991/gitsigns.nvim'
-- Git commands from vim
use 'tpope/vim-fugitive'
-- File browser
use {
"nvim-neo-tree/neo-tree.nvim",
@ -42,4 +39,13 @@ return require('packer').startup(function()
-- Fast jumping
use 'ggandor/leap.nvim'
-- Surround objects
use({
"kylechui/nvim-surround",
tag = "*",
requires = {
"tpope/vim-repeat"
}
})
end)

View file

@ -0,0 +1 @@
require("nvim-surround").setup()