We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69ea04e commit 780a410Copy full SHA for 780a410
1 file changed
plugins/nvim.sh
@@ -2,8 +2,8 @@ function _activate_nvim() {
2
local -n __var=$1
3
local -n __error=$2
4
if ! checkInPath "nvim" __var __error; then return; fi
5
- # alias vi="nvim"
6
- # alias vim="nvim"
+ alias vi="nvim"
+ alias vim="nvim"
7
__var=0
8
}
9
function _activate_nvim_with_folder() {
@@ -49,6 +49,13 @@ function _install_nvim_ubuntu() {
49
sudo apt install neovim
50
51
52
+function _install_nvim_lazy() {
53
+ # remove previous config
54
+ rm -rf "${HOME}/.config/nvim"
55
+ # Clone starter
56
+ git clone https://github.com/LazyVim/starter ~/.config/nvim
57
+}
58
+
59
function _clean_nvim() {
60
rm -rf "${HOME}/.cache/nvim" "${HOME}/.local/share/nvim" "${HOME}/.local/state/nvim"
61
0 commit comments