Skip to content

Instantly share code, notes, and snippets.

View lovemycodesnippets's full-sized avatar

The New Stack lovemycodesnippets

View GitHub Profile
git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt-get update
sudo apt-get install neovim -y
set nocompatible                 " disables compatibility with old-time vi
set showmatch                    " shows matching
set ignorecase                     " case insensitive
set mouse=v                        " middle-click paste with
set hlsearch                         " highlight search
set incsearch                        " incremental search
set tabstop=4                        " number of columns occupied by a tab
set softtabstop=4                  " see multiple spaces as tabstops so <BS> does the right thing
set expandtab                       " converts tabs to white space
set shiftwidth=4                     " width for autoindents
nano ~/.config/nvim/init.vim
Windows (via Winget): winget install Neovim.Neovim
macOS (via Brew): brew install neovim
Ubuntu-based distributions: sudo apt-get install neovim -y
Fedora-based distributions: ssudo dnf install -y neovim python3-neovimudo -y
Arch-based distributions: sudo pacman -S neovim
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data -v /var/run/docker.sock:/var/run/docker.sock --name uptime-kuma louislam/uptime-kuma:2