Skip to content

Instantly share code, notes, and snippets.

sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
mkdir -p /home/ec2-user/.config/nvim
wget -O /home/ec2-user/.config/nvim/init.vim https://gist.githubusercontent.com/grebneerg/94db079350db96a62996153a428a233b/raw/fed9d2bfa3bde233108b05892f05cf6811c9dbf2/init.vim
@grebneerg
grebneerg / init.vim
Last active June 9, 2022 03:40
neovim config
syntax on
set relativenumber number
nnoremap <Space> <nop>
let mapleader = " "
filetype indent on
filetype plugin on
filetype plugin indent on
set autoindent
@grebneerg
grebneerg / discord_send.fish
Created March 25, 2019 01:10
discord_send fish function
function discord_send
set msg (string join '' '{"content": "' (echo $argv[1]) '"}')
# echo $msg
curl -H "Content-Type: application/json" -X POST -d $msg <webhook url>
end